7.5

CVE-2021-28966: ruby-lang ruby

Modified
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) vulnerability in ruby-lang ruby. EPSS estimates a 58.04% chance of exploitation in the next 30 days, higher than 99.1% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
58.04%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

No change 0.00 pp

From 58.04% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (hackerone.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • ruby≥ 3.0.0, < 2.5.9-r0 | ≥ 3.0.0, < 2.6.7-r0 | ≥ 3.0.0, < 2.7.3-r0 | < 2.5.9-r0 | < 2.6.7-r0 | < 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