SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2022-29970

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

HIGH 7.5EPSS 2.18%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (2.18%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

Description

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

CVSS 3.1
7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
2.18% probability · 81th percentile
CISA KEV
Not listed
Weakness
CWE-22
Affected
sinatrarb/sinatra · debian/debian linux
Source
cve@mitre.org

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.