7.5

CVE-2021-28966: ruby-lang ruby Path Traversal

CVSS: 7.5v3.1HighModified
AliasesALPINE-CVE-2021-28966GHSA-46f2-3v63-3xrpBIT-ruby-2021-28966
Published 27-07-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-28966 is a high (CVSS 7.5) Path Traversal vulnerability in ruby-lang ruby. EPSS estimates a 58.04% chance of exploitation in the next 30 days, higher than 99% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
52/100
0100
High · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
58.04%
0%100%
Critical · +0.91 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Timeline

  1. 27-07-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

58.04%

Chance of exploitation in the next 30 days

Percentile

99%

Versus all other CVEs

30-day change

+0.91 pp

From 57.13% on 19-09-2026

19-09-202619-10-2026
EPSS score
58.04%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (hackerone.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Alpine1 product
  • ruby≥ 3.0.0, < 2.5.9-r0 | ≥ 3.0.0, < 2.6.7-r0 | ≥ 3.0.0, < 2.7.3-r0
Ruby-lang1 product
  • ruby< 2.7.3 | ≥ 3.0.0, < 3.0.1
RubyGems1 product
  • tmpdir< 0.1.2

3 vendors · 3 products

References

11 links
Show all 11 references