UBUNTU-CVE-2022-24790

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

Puma is a simple, fast, multi-threaded, parallel HTTP 1.1 server for Ruby/Rack applications. When using Puma behind a proxy that does not properly validate that the incoming HTTP request matches the RFC7230 standard, Puma and the frontend proxy may disagree on where a request starts and ends. This would allow requests to be smuggled via the front-end proxy to Puma. The vulnerability has been fixed in 5.6.4 and 4.3.12. Users are advised to upgrade as soon as possible. Workaround: when deploying a proxy in front of Puma, turning on any and all functionality to make sure that the request matches the RFC7230 standard.

References

Affected packages

Ubuntu:20.04:LTS / puma

Package

Name
puma
Purl
pkg:deb/ubuntu/puma?arch=src?distro=focal

Affected ranges

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

Affected versions

3.*

3.12.0-2ubuntu1
3.12.0-4ubuntu1
3.12.4-1ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:20.04:LTS / puma

Package

Name
puma
Purl
pkg:deb/ubuntu/puma?arch=src?distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.12.4-1ubuntu2+esm1

Affected versions

3.*

3.12.0-2ubuntu1
3.12.0-4ubuntu1
3.12.4-1ubuntu2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.12.4-1ubuntu2+esm1",
            "binary_name": "puma"
        },
        {
            "binary_version": "3.12.4-1ubuntu2+esm1",
            "binary_name": "puma-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / puma

Package

Name
puma
Purl
pkg:deb/ubuntu/puma?arch=src?distro=jammy

Affected ranges

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

Affected versions

4.*

4.3.6-1ubuntu4

5.*

5.5.2-2ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:22.04:LTS / puma

Package

Name
puma
Purl
pkg:deb/ubuntu/puma?arch=src?distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.5.2-2ubuntu2+esm1

Affected versions

4.*

4.3.6-1ubuntu4

5.*

5.5.2-2ubuntu2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.5.2-2ubuntu2+esm1",
            "binary_name": "puma"
        },
        {
            "binary_version": "5.5.2-2ubuntu2+esm1",
            "binary_name": "puma-dbgsym"
        }
    ]
}