FlawAtlas
Search the atlas
CVE-2022-29970 High

CVE-2022-29970

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

Exploit probability 2.2%
Published May 2, 2022
Required by Not available
Last source change August 12, 2026

02 / AFFECTED SOFTWARE

Affected packages

Unknown Unknown

72 explicit affected versions

RubyGems sinatra

88 explicit affected versions

03 / CONNECTIONS

Connected vulnerabilities

04 / EVIDENCE

Source records

Open Source Vulnerabilities CVE-2022-29970

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

View original source
Open Source Vulnerabilities GHSA-qp49-3pvw-x4m5

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

View original source

05 / REFERENCES

Further evidence