{"id":"UBUNTU-CVE-2023-40225","details":"HAProxy through 2.0.32, 2.1.x and 2.2.x through 2.2.30, 2.3.x and 2.4.x through 2.4.23, 2.5.x and 2.6.x before 2.6.15, 2.7.x before 2.7.10, and 2.8.x before 2.8.2 forwards empty Content-Length headers, violating RFC 9110 section 8.6. In uncommon cases, an HTTP/1 server behind HAProxy may interpret the payload as an extra request.","modified":"2026-02-04T03:42:07.488257Z","published":"2023-08-10T21:15:00Z","related":["USN-6294-1","USN-6294-2"],"upstream":["CVE-2023-40225"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-40225"},{"type":"REPORT","url":"https://www.haproxy.org/download/2.6/src/CHANGELOG"},{"type":"REPORT","url":"https://www.haproxy.org/download/2.7/src/CHANGELOG"},{"type":"REPORT","url":"https://www.haproxy.org/download/2.8/src/CHANGELOG"},{"type":"REPORT","url":"https://github.com/advisories/GHSA-xgq7-jp95-v2qv"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6294-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6294-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-40225"}],"affected":[{"package":{"name":"haproxy","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/haproxy@2.0.31-0ubuntu0.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.31-0ubuntu0.2"}]}],"versions":["2.0.5-1","2.0.8-1","2.0.9-1","2.0.10-1","2.0.10-1ubuntu1","2.0.11-1ubuntu1","2.0.12-1ubuntu2","2.0.13-1ubuntu2","2.0.13-2","2.0.13-2ubuntu0.1","2.0.13-2ubuntu0.2","2.0.13-2ubuntu0.3","2.0.13-2ubuntu0.5","2.0.29-0ubuntu1","2.0.29-0ubuntu1.1","2.0.29-0ubuntu1.3","2.0.31-0ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"haproxy","binary_version":"2.0.31-0ubuntu0.2"},{"binary_name":"vim-haproxy","binary_version":"2.0.31-0ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-40225.json"}},{"package":{"name":"haproxy","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/haproxy@2.4.22-0ubuntu0.22.04.2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.22-0ubuntu0.22.04.2"}]}],"versions":["2.2.9-2ubuntu2","2.4.8-1","2.4.8-2ubuntu3","2.4.11-1ubuntu1","2.4.12-1ubuntu1","2.4.12-1ubuntu2","2.4.13-1ubuntu1","2.4.14-1ubuntu1","2.4.18-0ubuntu1","2.4.18-0ubuntu1.1","2.4.18-0ubuntu1.2","2.4.18-0ubuntu1.3","2.4.22-0ubuntu0.22.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"haproxy","binary_version":"2.4.22-0ubuntu0.22.04.2"},{"binary_name":"vim-haproxy","binary_version":"2.4.22-0ubuntu0.22.04.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-40225.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}