Skip to main content
← All vulnerabilities
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
published
Not listed in CISA KEV
Fix
Fixed in 2.2.0
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

  1. CVE published1,282 days (about 4 years)
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • sinatraRubyGems

    fixed in 2.2.0

References 2

GitHub · sinatra/sinatra

lists.debian.org