CVE-2022-29970

Publication date 2 May 2022

Last updated 22 July 2025


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

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

Status

Package Ubuntu Release Status
ruby-sinatra 25.04 plucky
Not affected
24.10 oracular
Not affected
24.04 LTS noble
Not affected
23.10 mantic
Not affected
23.04 lunar
Not affected
22.10 kinetic
Not affected
22.04 LTS jammy
Fixed 2.0.8.1-2+deb11u1build0.22.04.1
21.10 impish Ignored end of life
20.04 LTS focal
Fixed 2.0.8.1-1ubuntu0.1~esm2
18.04 LTS bionic
Fixed 1.4.8-1ubuntu0.1~esm2
16.04 LTS xenial
Fixed 1.4.7-3ubuntu0.1~esm2

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Severity score breakdown

Parameter Value
Base score 7.5 · High
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact None
Availability impact None
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References

Related Ubuntu Security Notices (USN)

Other references