CVE catalog

CVE-2022-29970

ruby-sinatra: CVE-2022-29970

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
2.14% · Oct 25, 2026

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

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby-sinatrasid4.2.1-5fixed
Debianruby-sinatraforky4.2.1-5fixed
Debianruby-sinatratrixie4.1.1-5fixed
Debianruby-sinatrabookworm3.0.5-3+deb12u1fixed
Ubunturuby-sinatrapro1.4.7-5vulnerable
Ubunturuby-sinatrapro1.4.8-1vulnerable
Ubunturuby-sinatrapro1.4.8-1ubuntu0.1~esm2fixed
Ubunturuby-sinatra22.042.0.8.1-2vulnerable
Ubunturuby-sinatra22.042.0.8.1-2+deb11u1build0.22.04.1fixed
Ubunturuby-sinatrapro2.0.5-4ubuntu1vulnerable
Ubunturuby-sinatrapro2.0.8.1-1vulnerable
Ubunturuby-sinatrapro2.0.8.1-1ubuntu0.1~esm2fixed
Ubunturuby-sinatra22.042.0.8.1-2vulnerable
Ubunturuby-sinatra22.042.0.8.1-2+deb11u1build0.22.04.1fixed
Suserubygem-sinatraopenstack cloud crowbar 81.4.6-3.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby-sinatrasourcesid2.2.2-1not yet assignedNot reported[1014717]
Debianruby-sinatrasourceforky2.2.2-1not yet assignedNot reported[1014717]
Debianruby-sinatrasourcetrixie2.2.2-1not yet assignedNot reported[1014717]
Debianruby-sinatrasourcebookworm2.2.2-1not yet assignedNot reported[1014717]
Ubunturuby-sinatradebpro1.4.8-1ubuntu0.1~esm2Not reportedUBUNTU-CVE-2022-29970Not reported
Ubunturuby-sinatradeb22.042.0.8.1-2+deb11u1build0.22.04.1Not reportedUBUNTU-CVE-2022-29970Not reported
Ubunturuby-sinatradebpro2.0.8.1-1ubuntu0.1~esm2Not reportedUSN-7664-1Not reported
Ubunturuby-sinatradeb22.042.0.8.1-2+deb11u1build0.22.04.1Not reportedUSN-7664-1Not reported
Suserubygem-sinatrarpmopenstack cloud crowbar 81.4.6-3.3.1Not reportedSUSE-SU-2022:2046-1Not reported

[Debian bug #1014717]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [ruby-sinatra]

    Details (2)
    • 3.0.5-3+deb12u1 · all · bookworm

      Fixed · Fixed: 2.2.2-1

      dsa · ruby-sinatra · debian · bookworm

    • 3.0.5-3+deb12u1 · all · bookworm

      Fixed · Fixed: 2.2.2-1

      dsa · ruby-sinatra · debian · bookworm

  • Details (2)
    • 3.0.5-3+deb12u1 · all · bookworm

      Fixed · Fixed: 2.2.2-1

      dsa · ruby-sinatra · debian · bookworm

    • 3.0.5-3+deb12u1 · all · bookworm

      Fixed · Fixed: 2.2.2-1

      dsa · ruby-sinatra · debian · bookworm

  • Source package: [ruby-sinatra]

    Details (2)
    • 3.0.5-3+deb12u1 · all · bookworm

      Fixed · Fixed: 2.2.2-1

      dsa · ruby-sinatra · debian · bookworm

    • 3.0.5-3+deb12u1 · all · bookworm

      Fixed · Fixed: 2.2.2-1

      dsa · ruby-sinatra · debian · bookworm

Observed:

References