gunicorn — security advisory
Gunicorn fails to properly validate Transfer-Encoding headers, leading to HTTP Request Smuggling (HRS) vulnerabilities. By crafting requests with conflicting Transfer-Encoding headers, attackers can bypass security restrictions and access restricted endpoints. This issue is due to Gunicorn's handling of Transfer-Encoding headers, where it incorrectly processes requests with multiple, conflicting Transfer-Encoding headers, treating them as chunked regardless of the final encoding specified. This vulnerability allows for a range of attacks including cache poisoning, session manipulation, and data exposure.
- Products
- gunicorn
- Affected versions
- 17.5-2, 17.5-2build1, 17.5-2ubuntu0.1~esm1, 19.0-8ubuntu1, 19.4.1-1ubuntu1, 19.4.5-1ubuntu1, 19.4.5-1ubuntu1.1, 19.7.1-3, 19.7.1-4, 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, 20.1.0-1, 20.1.0-2, 20.1.0-6, 20.1.0-6ubuntu0.1, 23.0.0-1, 23.0.0-1build1, 25.0.3-2, 25.1.0-1, 25.3.0-2, 25.3.0-3, 25.3.0-4
- Fixed versions
- Not specified
- CVEs
- CVE-2024-1135
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:06 UTC · Revision 1
Source evidence
Gunicorn fails to properly validate Transfer-Encoding headers, leading to HTTP Request Smuggling (HRS) vulnerabilities. By crafting requests with conflicting Transfer-Encoding headers, attackers can bypass security restrictions and access restricted endpoints. This issue is due to Gunicorn's handling of Transfer-Encoding headers, where it incorrectly processes requests with multiple, conflicting Transfer-Encoding headers, treating them as chunked regardless of the final encoding specified. This vulnerability allows for a range of attacks including cache poisoning, session manipulation, and data exposure.
osv:UBUNTU-CVE-2024-1135
gunicorn
Fixed versions: Not specified
gunicorn
Fixed versions: Not specified
gunicorn
Fixed versions: Not specified
gunicorn
Fixed versions: Not specified
gunicorn
Fixed versions: Not specified
gunicorn
Fixed versions: Not specified
gunicorn
Fixed versions: Not specified
gunicorn
Fixed versions: Not specified
gunicorn
Fixed versions: Not specified
Complete source record
{
"id": "37c8f32f1d092241b14f2337222373c6bf27340f18b502b3c958482360db6919",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-1135",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2024-1135",
"summary": "Gunicorn fails to properly validate Transfer-Encoding headers, leading to HTTP Request Smuggling (HRS) vulnerabilities. By crafting requests with conflicting Transfer-Encoding headers, attackers can bypass security restrictions and access restricted endpoints. This issue is due to Gunicorn's handling of Transfer-Encoding headers, where it incorrectly processes requests with multiple, conflicting Transfer-Encoding headers, treating them as chunked regardless of the final encoding specified. This vulnerability allows for a range of attacks including cache poisoning, session manipulation, and data exposure.",
"evidence": "osv:UBUNTU-CVE-2024-1135",
"products": [
{
"name": {
"value": "gunicorn",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "17.5-2",
"evidence": "/affected/0/versions"
},
{
"value": "17.5-2build1",
"evidence": "/affected/0/versions"
},
{
"value": "17.5-2ubuntu0.1~esm1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "gunicorn",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "19.0-8ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "19.4.1-1ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "19.4.5-1ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "19.4.5-1ubuntu1.1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "gunicorn",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "19.7.1-3",
"evidence": "/affected/2/versions"
},
{
"value": "19.7.1-4",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "gunicorn",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "19.9.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "19.9.0-4",
"evidence": "/affected/3/versions"
},
{
"value": "20.0.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "20.0.2-1",
"evidence": "/affected/3/versions"
},
{
"value": "20.0.4-1",
"evidence": "/affected/3/versions"
},
{
"value": "20.0.4-2",
"evidence": "/affected/3/versions"
},
{
"value": "20.0.4-3",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "gunicorn",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "20.1.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "20.1.0-2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "gunicorn",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "20.1.0-6",
"evidence": "/affected/5/versions"
},
{
"value": "20.1.0-6ubuntu0.1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "gunicorn",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "23.0.0-1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "gunicorn",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "25.1.0-1",
"evidence": "/affected/7/versions"
},
{
"value": "25.3.0-2",
"evidence": "/affected/7/versions"
},
{
"value": "25.3.0-3",
"evidence": "/affected/7/versions"
},
{
"value": "25.3.0-4",
"evidence": "/affected/7/versions"
}
]
},
{
"name": {
"value": "gunicorn",
"evidence": "/affected/8/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "23.0.0-1",
"evidence": "/affected/8/versions"
},
{
"value": "23.0.0-1build1",
"evidence": "/affected/8/versions"
},
{
"value": "25.0.3-2",
"evidence": "/affected/8/versions"
},
{
"value": "25.1.0-1",
"evidence": "/affected/8/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2024-1135",
"aliases": [
"UBUNTU-CVE-2024-1135"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gunicorn",
"purl": "pkg:deb/ubuntu/gunicorn?arch=source&distro=esm-infra-legacy%2Ftrusty",
"ecosystem": "Ubuntu:Pro:14.04:LTS"
},
"versions": [
"17.5-2",
"17.5-2build1",
"17.5-2ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1135.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gunicorn",
"binary_version": "17.5-2ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gunicorn",
"purl": "pkg:deb/ubuntu/gunicorn?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"19.0-8ubuntu1",
"19.4.1-1ubuntu1",
"19.4.5-1ubuntu1",
"19.4.5-1ubuntu1.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1135.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gunicorn",
"binary_version": "19.4.5-1ubuntu1.1"
},
{
"binary_name": "gunicorn-examples",
"binary_version": "19.4.5-1ubuntu1.1"
},
{
"binary_name": "gunicorn3",
"binary_version": "19.4.5-1ubuntu1.1"
},
{
"binary_name": "python-gunicorn",
"binary_version": "19.4.5-1ubuntu1.1"
},
{
"binary_name": "python3-gunicorn",
"binary_version": "19.4.5-1ubuntu1.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gunicorn",
"purl": "pkg:deb/ubuntu/gunicorn?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"19.7.1-3",
"19.7.1-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1135.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gunicorn",
"binary_version": "19.7.1-4"
},
{
"binary_name": "gunicorn-examples",
"binary_version": "19.7.1-4"
},
{
"binary_name": "gunicorn3",
"binary_version": "19.7.1-4"
},
{
"binary_name": "python-gunicorn",
"binary_version": "19.7.1-4"
},
{
"binary_name": "python3-gunicorn",
"binary_version": "19.7.1-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gunicorn",
"purl": "pkg:deb/ubuntu/gunicorn?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1135.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gunicorn",
"binary_version": "20.0.4-3"
},
{
"binary_name": "gunicorn-examples",
"binary_version": "20.0.4-3"
},
{
"binary_name": "python3-gunicorn",
"binary_version": "20.0.4-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gunicorn",
"purl": "pkg:deb/ubuntu/gunicorn?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"20.1.0-1",
"20.1.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1135.json"
},
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gunicorn",
"purl": "pkg:deb/ubuntu/gunicorn?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"20.1.0-6",
"20.1.0-6ubuntu0.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1135.json"
},
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gunicorn",
"purl": "pkg:deb/ubuntu/gunicorn?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"23.0.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1135.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gunicorn",
"binary_version": "23.0.0-1"
},
{
"binary_name": "gunicorn-examples",
"binary_version": "23.0.0-1"
},
{
"binary_name": "python3-gunicorn",
"binary_version": "23.0.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gunicorn",
"purl": "pkg:deb/ubuntu/gunicorn?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"25.1.0-1",
"25.3.0-2",
"25.3.0-3",
"25.3.0-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1135.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gunicorn",
"binary_version": "25.3.0-4"
},
{
"binary_name": "gunicorn-examples",
"binary_version": "25.3.0-4"
},
{
"binary_name": "python3-gunicorn",
"binary_version": "25.3.0-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gunicorn",
"purl": "pkg:deb/ubuntu/gunicorn?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"23.0.0-1",
"23.0.0-1build1",
"25.0.3-2",
"25.1.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1135.json"
},
"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"
}
]
}
}
],
"modified": "2026-10-17T12:56:29.103618958Z",
"provider": "osv",
"upstream": [
"CVE-2024-1135"
],
"references": [
"https://ubuntu.com/security/CVE-2024-1135",
"https://www.cve.org/CVERecord?id=CVE-2024-1135",
"https://huntr.com/bounties/22158e34-cfd5-41ad-97e0-a780773d96c1",
"https://github.com/benoitc/gunicorn/commit/ac29c9b0a758d21f1e0fb3b3457239e523fa9f1d"
]
},
"related_cves": [
{
"value": "CVE-2024-1135",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 355723,
"published_at": "2024-04-16T00:15:00+00:00"
}