CVEvulnerability

CVE-2021-28966

7.5 HIGH Published 2021-07-30 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-07-30
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
Weaknesses
CWE-22

Description

In Ruby through 3.0 on Windows, a remote attacker can submit a crafted path when a Web application handles a parameter with TmpDir.

Affected configurations

• ruby-lang ruby (< 2.7.3) • ruby-lang ruby (>= 3.0.0 < 3.0.1)

Related

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References