CVE-2022-29970GHSA-QP49-3PVW-X4M5
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 2.2.0
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
Timeline
- CVE published1,282 days (about 4 years)
- Record last updated
Affected versions
- n/a n/a
Version range not reported
- sinatraRubyGems
fixed in 2.2.0