{"id":"UBUNTU-CVE-2024-6827","details":"Gunicorn version 21.2.0 does not properly validate the value of the 'Transfer-Encoding' header as specified in the RFC standards, which leads to the default fallback method of 'Content-Length,' making it vulnerable to TE.CL request smuggling. This vulnerability can lead to cache poisoning, data exposure, session manipulation, SSRF, XSS, DoS, data integrity compromise, security bypass, information leakage, and business logic abuse.","modified":"2026-05-20T16:20:15.950292298Z","published":"2025-03-20T10:15:00Z","upstream":["CVE-2024-6827"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-6827"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-6827"},{"type":"REPORT","url":"https://huntr.com/bounties/1b4f8f38-39da-44b6-9f98-f618639d0dd7"}],"affected":[{"package":{"name":"gunicorn","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/gunicorn?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["17.5-2","17.5-2build1","17.5-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"17.5-2ubuntu0.1~esm1","binary_name":"gunicorn"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6827.json"}},{"package":{"name":"gunicorn","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/gunicorn?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["19.0-8ubuntu1","19.4.1-1ubuntu1","19.4.5-1ubuntu1","19.4.5-1ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"gunicorn","binary_version":"19.4.5-1ubuntu1.1"},{"binary_version":"19.4.5-1ubuntu1.1","binary_name":"gunicorn-examples"},{"binary_name":"gunicorn3","binary_version":"19.4.5-1ubuntu1.1"},{"binary_version":"19.4.5-1ubuntu1.1","binary_name":"python-gunicorn"},{"binary_version":"19.4.5-1ubuntu1.1","binary_name":"python3-gunicorn"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6827.json"}},{"package":{"name":"gunicorn","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/gunicorn?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["19.7.1-3","19.7.1-4"],"ecosystem_specific":{"binaries":[{"binary_version":"19.7.1-4","binary_name":"gunicorn"},{"binary_version":"19.7.1-4","binary_name":"gunicorn-examples"},{"binary_version":"19.7.1-4","binary_name":"gunicorn3"},{"binary_name":"python-gunicorn","binary_version":"19.7.1-4"},{"binary_version":"19.7.1-4","binary_name":"python3-gunicorn"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6827.json"}},{"package":{"name":"gunicorn","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/gunicorn?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["19.9.0-1","19.9.0-4","20.0.0-1","20.0.2-1","20.0.4-1","20.0.4-2","20.0.4-3"],"ecosystem_specific":{"binaries":[{"binary_name":"gunicorn","binary_version":"20.0.4-3"},{"binary_name":"gunicorn-examples","binary_version":"20.0.4-3"},{"binary_version":"20.0.4-3","binary_name":"python3-gunicorn"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6827.json"}},{"package":{"name":"gunicorn","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/gunicorn?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20.1.0-1","20.1.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"gunicorn","binary_version":"20.1.0-2"},{"binary_name":"gunicorn-examples","binary_version":"20.1.0-2"},{"binary_name":"python3-gunicorn","binary_version":"20.1.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6827.json"}},{"package":{"name":"gunicorn","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/gunicorn?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20.1.0-6","20.1.0-6ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"gunicorn","binary_version":"20.1.0-6ubuntu0.1"},{"binary_name":"gunicorn-examples","binary_version":"20.1.0-6ubuntu0.1"},{"binary_name":"python3-gunicorn","binary_version":"20.1.0-6ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6827.json"}},{"package":{"name":"gunicorn","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/gunicorn?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["23.0.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"gunicorn","binary_version":"23.0.0-1"},{"binary_version":"23.0.0-1","binary_name":"gunicorn-examples"},{"binary_version":"23.0.0-1","binary_name":"python3-gunicorn"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6827.json"}},{"package":{"name":"gunicorn","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/gunicorn?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["23.0.0-1","23.0.0-1build1","25.0.3-2","25.1.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"gunicorn","binary_version":"25.1.0-1"},{"binary_name":"gunicorn-examples","binary_version":"25.1.0-1"},{"binary_name":"python3-gunicorn","binary_version":"25.1.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6827.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}