CVE-2021-28966: ruby-lang ruby
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.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 27-07-2021PublishedVulnerability first disclosed.
- 03-08-2024Last 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- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · RubygemsEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
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
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (hackerone.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
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- github.com/ruby/tmpdirPACKAGE