ubuntu-cve-2018-18074
Vulnerability from osv_ubuntu
Published
2018-10-09 00:00
Modified
2026-02-04 17:01
Summary
Details
The Requests package before 2.20.0 for Python sends an HTTP Authorization header to an http URI upon receiving a same-hostname https-to-http redirect, which makes it easier for remote attackers to discover credentials by sniffing the network.
Severity
7.5 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python-requests",
"binary_version": "2.2.1-1ubuntu0.4"
},
{
"binary_name": "python-requests-whl",
"binary_version": "2.2.1-1ubuntu0.4"
},
{
"binary_name": "python3-requests",
"binary_version": "2.2.1-1ubuntu0.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "requests",
"purl": "pkg:deb/ubuntu/requests@2.2.1-1ubuntu0.4?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.1-1ubuntu0.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.2.3-1",
"2.0.0-1",
"2.2.1-1",
"2.2.1-1ubuntu0.1",
"2.2.1-1ubuntu0.2",
"2.2.1-1ubuntu0.3"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python-requests",
"binary_version": "2.9.1-3ubuntu0.1"
},
{
"binary_name": "python3-requests",
"binary_version": "2.9.1-3ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "requests",
"purl": "pkg:deb/ubuntu/requests@2.9.1-3ubuntu0.1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.9.1-3ubuntu0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.7.0-3",
"2.8.1-1",
"2.9.1-1ubuntu1",
"2.9.1-2",
"2.9.1-3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-pip",
"binary_version": "8.1.1-2ubuntu0.6+esm12"
},
{
"binary_name": "python-pip-whl",
"binary_version": "8.1.1-2ubuntu0.6+esm12"
},
{
"binary_name": "python3-pip",
"binary_version": "8.1.1-2ubuntu0.6+esm12"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "python-pip",
"purl": "pkg:deb/ubuntu/python-pip@8.1.1-2ubuntu0.6+esm12?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.5.6-7ubuntu1",
"1.5.6-7ubuntu2",
"8.0.2-7",
"8.0.3-1",
"8.0.3-2",
"8.1.0-1",
"8.1.0-2",
"8.1.1-1",
"8.1.1-2",
"8.1.1-2ubuntu0.1",
"8.1.1-2ubuntu0.2",
"8.1.1-2ubuntu0.4",
"8.1.1-2ubuntu0.6",
"8.1.1-2ubuntu0.6+esm2",
"8.1.1-2ubuntu0.6+esm3",
"8.1.1-2ubuntu0.6+esm4",
"8.1.1-2ubuntu0.6+esm5",
"8.1.1-2ubuntu0.6+esm6",
"8.1.1-2ubuntu0.6+esm8",
"8.1.1-2ubuntu0.6+esm10",
"8.1.1-2ubuntu0.6+esm11",
"8.1.1-2ubuntu0.6+esm12"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python-pip",
"binary_version": "9.0.1-2.3~ubuntu1.18.04.2"
},
{
"binary_name": "python-pip-whl",
"binary_version": "9.0.1-2.3~ubuntu1.18.04.2"
},
{
"binary_name": "python3-pip",
"binary_version": "9.0.1-2.3~ubuntu1.18.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "python-pip",
"purl": "pkg:deb/ubuntu/python-pip@9.0.1-2.3~ubuntu1.18.04.2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "9.0.1-2.3~ubuntu1.18.04.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"9.0.1-2",
"9.0.1-2.3~ubuntu1",
"9.0.1-2.3~ubuntu1.18.04.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python-requests",
"binary_version": "2.18.4-2ubuntu0.1"
},
{
"binary_name": "python3-requests",
"binary_version": "2.18.4-2ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "requests",
"purl": "pkg:deb/ubuntu/requests@2.18.4-2ubuntu0.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.18.4-2ubuntu0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.18.1-1",
"2.18.4-1",
"2.18.4-2"
]
}
],
"aliases": [],
"details": "The Requests package before 2.20.0 for Python sends an HTTP Authorization header to an http URI upon receiving a same-hostname https-to-http redirect, which makes it easier for remote attackers to discover credentials by sniffing the network.",
"id": "UBUNTU-CVE-2018-18074",
"modified": "2026-02-04T17:01:32Z",
"published": "2018-10-09T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2018-18074"
},
{
"type": "REPORT",
"url": "https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff"
},
{
"type": "REPORT",
"url": "https://github.com/requests/requests/issues/4716"
},
{
"type": "REPORT",
"url": "https://github.com/requests/requests/pull/4718"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3790-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3790-2"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2018-18074"
}
],
"related": [
"USN-3790-1",
"USN-3790-2"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2018-18074"
]
}
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…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
Loading…
Loading…