{"schema_version":"1.7.3","id":"UBUNTU-CVE-2022-24790","published":"2022-03-30T22:15:00Z","modified":"2026-02-04T04:32:46.605034Z","related":["USN-6682-1"],"upstream":["CVE-2022-24790"],"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.","affected":[{"package":{"name":"puma","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/puma@3.12.4-1ubuntu2+esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.12.4-1ubuntu2+esm1"}]}],"versions":["3.12.0-2ubuntu1","3.12.0-4ubuntu1","3.12.4-1ubuntu2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"puma","binary_version":"3.12.4-1ubuntu2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24790.json"}},{"package":{"name":"puma","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/puma@5.5.2-2ubuntu2+esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.2-2ubuntu2+esm1"}]}],"versions":["4.3.6-1ubuntu4","5.5.2-2ubuntu2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"puma","binary_version":"5.5.2-2ubuntu2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24790.json"}}],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-24790"},{"type":"REPORT","url":"https://github.com/puma/puma/commit/5bb7d202e24dec00a898dca4aa11db391d7787a5"},{"type":"REPORT","url":"https://github.com/puma/puma/security/advisories/GHSA-h99w-9q5r-gjq9"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6682-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-24790"}],"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}