UBUNTU-CVE-2022-29970

Source
https://ubuntu.com/security/CVE-2022-29970
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-29970.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-29970
Related
Published
2022-05-02T05:15:00Z
Modified
2024-10-15T14:09:56Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Ubuntu:Pro:16.04:LTS / ruby-sinatra

Package

Name
ruby-sinatra
Purl
pkg:deb/ubuntu/ruby-sinatra?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.4.6-2
1.4.7-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / ruby-sinatra

Package

Name
ruby-sinatra
Purl
pkg:deb/ubuntu/ruby-sinatra?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.4.7-5
1.4.8-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / ruby-sinatra

Package

Name
ruby-sinatra
Purl
pkg:deb/ubuntu/ruby-sinatra?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.0.5-4ubuntu1
2.0.8.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / ruby-sinatra

Package

Name
ruby-sinatra
Purl
pkg:deb/ubuntu/ruby-sinatra?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.0.8.1-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / ruby-sinatra

Package

Name
ruby-sinatra
Purl
pkg:deb/ubuntu/ruby-sinatra?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.5-3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.0.5-3",
            "binary_name": "ruby-rack-protection"
        },
        {
            "binary_version": "3.0.5-3",
            "binary_name": "ruby-sinatra"
        },
        {
            "binary_version": "3.0.5-3",
            "binary_name": "ruby-sinatra-contrib"
        }
    ]
}