CVE-2018-18074
published 2018-10-09CVE-2018-18074: 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…
PriorityP345high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EPSS
7.44%
93.7th percentile
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.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | requests | < requests 2.20.0-1 (bookworm) | requests 2.20.0-1 (bookworm) |
| opensuse | leap | — | — |
| python | requests | < 2.20.0 | 2.20.0 |
| python | requests | >= 0 < 2.20.0-1 | 2.20.0-1 |
| python | requests | >= 0 < 2.20.0-1 | 2.20.0-1 |
| python | requests | >= 0 < 2.20.0-1 | 2.20.0-1 |
| python | requests | >= 0 < 2.20.0-1 | 2.20.0-1 |
| python | requests | >= 0 < 2.20.0 | 2.20.0 |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_workstation | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
osv7.5HIGH
vendor_debian7.5LOW
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Requests vulnerability
vendor_ubuntu·2018-10-22
CVE-2018-18074 Requests vulnerability
Title: Requests vulnerability
Summary: Requests could be made to expose sensitive information if it
received a specially crafted HTTP header.
USN-3790-1 fixed vulnerabilities in Requests. This update provides
the corresponding update for Ubuntu 18.10
Original advisory details:
It was discovered that Requests incorrectly handled certain HTTP headers.
An attacker could possibly use this issue to access sensitive information.
Instructions: In general, a standard system update will make all the necessary
changes.
Ubuntu
Requests vulnerability
vendor_ubuntu·2018-10-15
CVE-2018-18074 Requests vulnerability
Title: Requests vulnerability
Summary: Requests could be made to expose sensitive information if it
received a specially crafted HTTP header.
It was discovered that Requests incorrectly handled certain HTTP headers.
An attacker could possibly use this issue to access sensitive information.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
python-requests: Redirect from HTTPS to HTTP does not remove Authorization header
vendor_redhat·2018-06-29·CVSS 7.5
CVE-2018-18074 [HIGH] CWE-522 python-requests: Redirect from HTTPS to HTTP does not remove Authorization header
python-requests: Redirect from HTTPS to HTTP does not remove Authorization header
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.
A credentials-exposure flaw was found in python-requests, where if a request with authentication is redirected (302) from an HTTPS endpoint to an HTTP endpoint on the same host, the Authorization header is not stripped and the credentials can be read in plain text. A man-in-the-middle attacker could exploit this flaw to obtain a user's valid credentials.
Package: python-requests (Red Hat Enterprise Linux 6) - Will not fix
Package: python36:3.6/python-virtualenv (Red
Debian
CVE-2018-18074: requests - The Requests package before 2.20.0 for Python sends an HTTP Authorization header...
vendor_debian·2018·CVSS 7.5
CVE-2018-18074 [HIGH] CVE-2018-18074: requests - The Requests package before 2.20.0 for Python sends an HTTP Authorization header...
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.
Scope: local
bookworm: resolved (fixed in 2.20.0-1)
bullseye: resolved (fixed in 2.20.0-1)
forky: resolved (fixed in 2.20.0-1)
sid: resolved (fixed in 2.20.0-1)
trixie: resolved (fixed in 2.20.0-1)
OSV
Insufficiently Protected Credentials in Requests
osv·2018-10-29
CVE-2018-18074 [HIGH] Insufficiently Protected Credentials in Requests
Insufficiently Protected Credentials in Requests
The Requests package through 2.19.1 before 2018-09-14 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.
GHSA
Insufficiently Protected Credentials in Requests
ghsa·2018-10-29
CVE-2018-18074 [HIGH] CWE-522 Insufficiently Protected Credentials in Requests
Insufficiently Protected Credentials in Requests
The Requests package through 2.19.1 before 2018-09-14 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.
OSV
CVE-2018-18074: The Requests package before 2
osv·2018-10-09·CVSS 7.5
CVE-2018-18074 [HIGH] CVE-2018-18074: The Requests package before 2
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-18074 python-pip-epel: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [epel-7]
bugzilla·2019-11-29·CVSS 7.5
CVE-2018-18074 [HIGH] CVE-2018-18074 python-pip-epel: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [epel-7]
CVE-2018-18074 python-pip-epel: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion
Bugzilla
CVE-2018-18074 python3-virtualenv: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [epel-7]
bugzilla·2019-11-29·CVSS 7.5
CVE-2018-18074 [HIGH] CVE-2018-18074 python3-virtualenv: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [epel-7]
CVE-2018-18074 python3-virtualenv: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discuss
Bugzilla
CVE-2018-18074 python-virtualenv: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [fedora-30]
bugzilla·2019-11-29·CVSS 7.5
CVE-2018-18074 [HIGH] CVE-2018-18074 python-virtualenv: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [fedora-30]
CVE-2018-18074 python-virtualenv: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [fedora-30]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-30.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Di
Bugzilla
CVE-2018-18074 python3-requests: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [epel-6]
bugzilla·2019-11-29·CVSS 7.5
CVE-2018-18074 [HIGH] CVE-2018-18074 python3-requests: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [epel-6]
CVE-2018-18074 python3-requests: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [epel-6]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-6.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussio
Bugzilla
CVE-2018-18074 python-pip: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [epel-6]
bugzilla·2019-11-29·CVSS 7.5
CVE-2018-18074 [HIGH] CVE-2018-18074 python-pip: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [epel-6]
CVE-2018-18074 python-pip: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [epel-6]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-6.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use
Bugzilla
CVE-2018-18074 python3-requests: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [epel-7]
bugzilla·2019-11-29·CVSS 7.5
CVE-2018-18074 [HIGH] CVE-2018-18074 python3-requests: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [epel-7]
CVE-2018-18074 python3-requests: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussio
Bugzilla
CVE-2018-18074 python-virtualenv: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [epel-6]
bugzilla·2019-11-29·CVSS 7.5
CVE-2018-18074 [HIGH] CVE-2018-18074 python-virtualenv: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [epel-6]
CVE-2018-18074 python-virtualenv: python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [epel-6]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-6.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussi
Bugzilla
CVE-2018-18074 python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [fedora-all]
bugzilla·2018-10-29·CVSS 7.5
CVE-2018-18074 [HIGH] CVE-2018-18074 python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [fedora-all]
CVE-2018-18074 python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue aff
Bugzilla
CVE-2018-18074 python-requests: Redirect from HTTPS to HTTP does not remove Authorization header
bugzilla·2018-10-29·CVSS 7.5
CVE-2018-18074 [HIGH] CVE-2018-18074 python-requests: Redirect from HTTPS to HTTP does not remove Authorization header
CVE-2018-18074 python-requests: Redirect from HTTPS to HTTP does not remove Authorization header
Python Requests before version 2.20.0 does not remove the HTTP Authorization header when following a HTTPS to HTTP redirect, allowing for the potential transmission of user credentials in plaintext.
Upstream Patch:
https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff
Upstream Issue:
https://github.com/requests/requests/pull/4718
Discussion:
Created python-requests tracking bugs for this issue:
Affects: fedora-all [bug 1643830]
Affects: openstack-rdo [bug 1643832]
---
When resolving a redirect, affected python-requests versions remove the Authorization header only when the original and the new hostname mismatch, instead of checking the scheme and port
Bugzilla
CVE-2018-18074 python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [openstack-rdo]
bugzilla·2018-10-29·CVSS 7.5
CVE-2018-18074 [HIGH] CVE-2018-18074 python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [openstack-rdo]
CVE-2018-18074 python-requests: Redirect from HTTPS to HTTP does not remove Authorization header [openstack-rdo]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of openstack-rdo.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
p
arXiv
Threat Assessment in Machine Learning based Systems
arxiv_fulltext·2022-06-30
Threat Assessment in Machine Learning based Systems
Threat Assessment in Machine Learning based Systems
Lionel Nganyewou Tidjon and Foutse Khomh, Senior Member, IEEE
The authors are with Polytechnique Montréal, Montréal, QC H3C 3A7, Canada.
E-mail: \lionel.tidjon, foutse.khomh\@polymtl.ca
## Abstract
Machine learning is a field of artificial intelligence (AI) that is becoming essential for several critical systems, making it a good target for threat actors. Threat actors exploit different Tactics, Techniques, and Procedures (TTPs) against the confidentiality, integrity, and availability of Machine Learning (ML) systems.
During the ML
cycle, they exploit adversarial TTPs to poison data and fool ML-based systems. In recent years, multiple security practices have been proposed for traditional systems but they are not enough to cope with th
http://docs.python-requests.org/en/master/community/updates/#release-and-version-historyhttp://lists.opensuse.org/opensuse-security-announce/2019-07/msg00024.htmlhttps://access.redhat.com/errata/RHSA-2019:2035https://bugs.debian.org/910766https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ffhttps://github.com/requests/requests/issues/4716https://github.com/requests/requests/pull/4718https://usn.ubuntu.com/3790-1/https://usn.ubuntu.com/3790-2/https://www.oracle.com/security-alerts/cpujul2022.htmlhttp://docs.python-requests.org/en/master/community/updates/#release-and-version-historyhttp://lists.opensuse.org/opensuse-security-announce/2019-07/msg00024.htmlhttps://access.redhat.com/errata/RHSA-2019:2035https://bugs.debian.org/910766https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ffhttps://github.com/requests/requests/issues/4716https://github.com/requests/requests/pull/4718https://usn.ubuntu.com/3790-1/https://usn.ubuntu.com/3790-2/https://www.oracle.com/security-alerts/cpujul2022.html
2018-10-09
Published