What’s Vulnerable › Vulnerabilities
CVE-2021-28966
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 58.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-07-30 · updated 2026-06-17
- Weakness: 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 products
- Ruby: before 2.7.3; from 3.0.0 before 3.0.1 — fixed in 2.7.3, 3.0.1
How to fix
Upgrade to a fixed version: Ruby 2.7.3, 3.0.1. Check the vendor advisory for mitigations.
References
- https://hackerone.com/reports/1131465
- https://security.netapp.com/advisory/ntap-20210902-0004/
- https://hackerone.com/reports/1131465
- https://security.netapp.com/advisory/ntap-20210902-0004/
Get alerted when CVE-2021-28966 or the next vulnerability affects your stack