~ / search / GHSA-qp49-3pvw-x4m5

GHSA-qp49-3pvw-x4m5

sinatra does not validate expanded path matches

Source: GitHub Advisory Database (reviewed) High CVE-2022-29970

Packages

EcosystemPackageAffectedFixed in
RubyGems sinatra < 2.2.0 2.2.0

Details

As written in the advisory (Markdown source, shown as plain text).

Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.

References

External links from the advisory. They lead to third-party sites.