ubuntu-cve-2021-21240
Vulnerability from osv_ubuntu
Published
2021-02-08 20:15
Modified
2026-07-14 13:15
Summary
Details
httplib2 is a comprehensive HTTP client library for Python. In httplib2 before version 0.19.0, a malicious server which responds with long series of "\xa0" characters in the "www-authenticate" header may cause Denial of Service (CPU burn while parsing header) of the httplib2 client accessing said server. This is fixed in version 0.19.0 which contains a new implementation of auth headers parsing using the pyparsing library.
Severity
7.5 (High)
7.5 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-httplib2",
"binary_version": "0.8-2build1"
},
{
"binary_name": "python3-httplib2",
"binary_version": "0.8-2build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "python-httplib2",
"purl": "pkg:deb/ubuntu/python-httplib2@0.8-2build1?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.8-2",
"0.8-2build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-httplib2",
"binary_version": "0.9.1+dfsg-1"
},
{
"binary_name": "python3-httplib2",
"binary_version": "0.9.1+dfsg-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "python-httplib2",
"purl": "pkg:deb/ubuntu/python-httplib2@0.9.1+dfsg-1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.9+dfsg-2",
"0.9.1+dfsg-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-httplib2",
"binary_version": "0.9.2+dfsg-1ubuntu0.3"
},
{
"binary_name": "python3-httplib2",
"binary_version": "0.9.2+dfsg-1ubuntu0.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "python-httplib2",
"purl": "pkg:deb/ubuntu/python-httplib2@0.9.2+dfsg-1ubuntu0.3?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.9.2+dfsg-1",
"0.9.2+dfsg-1ubuntu0.1",
"0.9.2+dfsg-1ubuntu0.2",
"0.9.2+dfsg-1ubuntu0.3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-httplib2",
"binary_version": "0.14.0-1ubuntu1"
},
{
"binary_name": "python3-httplib2",
"binary_version": "0.14.0-1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "python-httplib2",
"purl": "pkg:deb/ubuntu/python-httplib2@0.14.0-1ubuntu1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.11.3-2",
"0.11.3-2build1",
"0.14.0-1",
"0.14.0-1ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-httplib2",
"binary_version": "0.20.2-2ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "python-httplib2",
"purl": "pkg:deb/ubuntu/python-httplib2@0.20.2-2ubuntu0.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.18.1-3ubuntu1",
"0.20.2-2",
"0.20.2-2ubuntu0.1"
]
}
],
"aliases": [],
"details": "httplib2 is a comprehensive HTTP client library for Python. In httplib2 before version 0.19.0, a malicious server which responds with long series of \"\\xa0\" characters in the \"www-authenticate\" header may cause Denial of Service (CPU burn while parsing header) of the httplib2 client accessing said server. This is fixed in version 0.19.0 which contains a new implementation of auth headers parsing using the pyparsing library.",
"id": "UBUNTU-CVE-2021-21240",
"modified": "2026-07-14T13:15:25Z",
"published": "2021-02-08T20:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-21240"
},
{
"type": "REPORT",
"url": "https://github.com/httplib2/httplib2/pull/182"
},
{
"type": "REPORT",
"url": "https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m"
},
{
"type": "REPORT",
"url": "https://pypi.org/project/httplib2"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-21240"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2021-21240"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…