CVE-2024-35195
published 2024-05-20CVE-2024-35195: Requests is a HTTP library. Prior to 2.32.0, when making requests through a Requests `Session`, if the first request is made with `verify=False` to disable…
PriorityP423medium5.6CVSS 3.1
AVLACHPRHUIRSUCHIHAN
EPSS
0.34%
26.1th percentile
Requests is a HTTP library. Prior to 2.32.0, when making requests through a Requests `Session`, if the first request is made with `verify=False` to disable cert verification, all subsequent requests to the same host will continue to ignore cert verification regardless of changes to the value of `verify`. This behavior will continue for the lifecycle of the connection in the connection pool. This vulnerability is fixed in 2.32.0.
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | requests | < requests 2.32.3+dfsg-1 (forky) | requests 2.32.3+dfsg-1 (forky) |
| msrc | azl3_mozjs_102.15.1-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_python-requests_2.31.0-2_on_azure_linux_3.0 | — | — |
| msrc | azl3_tensorflow_2.16.1-8_on_azure_linux_3.0 | — | — |
| msrc | azl3_tensorflow_2.16.1-9_on_azure_linux_3.0 | — | — |
| msrc | cbl2_python-requests_2.27.1-7_on_cbl_mariner_2.0 | — | — |
| psf | requests | < 2.32.0 | 2.32.0 |
| python | requests | >= 0 < 2.32.3+dfsg-1 | 2.32.3+dfsg-1 |
| python | requests | >= 0 < 2.32.3+dfsg-1 | 2.32.3+dfsg-1 |
| python | requests | >= 0 < 2.32.0 | 2.32.0 |
| ubuntu | python-pip | — | — |
CVSS provenance
nvdv3.15.6MEDIUMCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
osv5.6MEDIUM
vendor_oracle5.7MEDIUM
vendor_debian5.6MEDIUM
vendor_msrc5.6MEDIUM
vendor_redhat5.6MEDIUM
vendor_ubuntu5.6MEDIUM
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
pip regression
vendor_ubuntu·2026-05-29·CVSS 5.6
CVE-2024-35195 [MEDIUM] pip regression
Title: pip regression
Summary: USN-8344-1 introduced a regression in pip.
USN-8344-1 fixed vulnerabilities in pip. On Ubuntu 22.04 LTS, Ubuntu 24.04 LTS,
and Ubuntu 26.04 LTS the patches for CVE-2025-66471 caused a regression when
using pip. The patches for CVE-2025-66471 have been temporarily reverted
pending investigation.
We apologize for the inconvenience.
Original advisory details:
It was discovered that pip incorrectly handled TLS certificate
verification in session connections. If a session was first used with
certificate verification disabled, subsequent requests to the same host
would also skip verification regardless of the session's current settings.
A remote attacker could possibly use this issue to perform a machine-in-the-middle
attack and expose sensitive information. (
Ubuntu
pip vulnerabilities
vendor_ubuntu·2026-05-28·CVSS 5.6
CVE-2025-66418 [MEDIUM] pip vulnerabilities
Title: pip vulnerabilities
Summary: Several security issues were fixed in pip.
It was discovered that pip incorrectly handled TLS certificate
verification in session connections. If a session was first used with
certificate verification disabled, subsequent requests to the same host
would also skip verification regardless of the session's current settings.
A remote attacker could possibly use this issue to perform a machine-in-the-middle
attack and expose sensitive information. (CVE-2024-35195)
It was discovered that pip's bundled urllib3 library did not limit the
number of decompression steps when processing HTTP responses. A remote
attacker could possibly use this issue to cause pip to consume excessive resources,
leading to a denial of service. (CVE-2025-66418)
It was discovered tha
Oracle
Oracle Oracle MySQL Risk Matrix: Cluster: General (Requests) — CVE-2024-35195
vendor_oracle·2025-10-15·CVSS 5.6
CVE-2024-35195 [MEDIUM] Oracle Oracle MySQL Risk Matrix: Cluster: General (Requests) — CVE-2024-35195
Oracle Oracle MySQL Risk Matrix: Cluster: General (Requests) vulnerability
CVE: CVE-2024-35195
CVSS: 5.6
Protocol: Multiple
Remote exploit: No
Affected versions: Local
Advisory: cpuoct2025 (OCT 2025)
Oracle
Oracle Oracle Communications Risk Matrix: Platform (Requests) — CVE-2024-35195
vendor_oracle·2025-07-15·CVSS 5.7
CVE-2024-35195 [MEDIUM] Oracle Oracle Communications Risk Matrix: Platform (Requests) — CVE-2024-35195
Oracle Oracle Communications Risk Matrix: Platform (Requests) vulnerability
CVE: CVE-2024-35195
CVSS: 5.7
Protocol: HTTP
Remote exploit: No
Affected versions: Network
Advisory: cpujul2025 (JUL 2025)
Oracle
Oracle Oracle Communications Applications Risk Matrix: Platform (requests) — CVE-2024-35195
vendor_oracle·2025-04-15·CVSS 5.6
CVE-2024-35195 [MEDIUM] Oracle Oracle Communications Applications Risk Matrix: Platform (requests) — CVE-2024-35195
Oracle Oracle Communications Applications Risk Matrix: Platform (requests) vulnerability
CVE: CVE-2024-35195
CVSS: 5.6
Protocol: None
Remote exploit: No
Affected versions: Local
Advisory: cpuapr2025 (APR 2025)
Oracle
Oracle Oracle Communications Applications Risk Matrix: Install (requests) — CVE-2024-35195
vendor_oracle·2025-01-15·CVSS 5.7
CVE-2024-35195 [MEDIUM] Oracle Oracle Communications Applications Risk Matrix: Install (requests) — CVE-2024-35195
Oracle Oracle Communications Applications Risk Matrix: Install (requests) vulnerability
CVE: CVE-2024-35195
CVSS: 5.7
Protocol: HTTP
Remote exploit: No
Affected versions: Network
Advisory: cpujan2025 (JAN 2025)
Red Hat
requests: subsequent requests to the same host ignore cert verification
vendor_redhat·2024-05-20·CVSS 5.6
CVE-2024-35195 [MEDIUM] CWE-670 requests: subsequent requests to the same host ignore cert verification
requests: subsequent requests to the same host ignore cert verification
Requests is a HTTP library. Prior to 2.32.0, when making requests through a Requests `Session`, if the first request is made with `verify=False` to disable cert verification, all subsequent requests to the same host will continue to ignore cert verification regardless of changes to the value of `verify`. This behavior will continue for the lifecycle of the connection in the connection pool. This vulnerability is fixed in 2.32.0.
An incorrect control flow implementation vulnerability was found in Requests. If the first request in a session is made with verify=False, all subsequent requests to the same host will continue to ignore cert verification.
Package: redhat-certification-baremetal-container (Red Hat Certificat
Microsoft
Requests `Session` object does not verify requests after making first request with verify=False
vendor_msrc·2024-05-14·CVSS 5.6
CVE-2024-35195 [MEDIUM] CWE-670 Requests `Session` object does not verify requests after making first request with verify=False
Requests `Session` object does not verify requests after making first request with verify=False
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
GitHub_M: GitHub_M
Customer Action Required: Yes
Remediation:
Debian
CVE-2024-35195: requests - Requests is a HTTP library. Prior to 2.32.0, when making requests through a Requ...
vendor_debian·2024·CVSS 5.6
CVE-2024-35195 [MEDIUM] CVE-2024-35195: requests - Requests is a HTTP library. Prior to 2.32.0, when making requests through a Requ...
Requests is a HTTP library. Prior to 2.32.0, when making requests through a Requests `Session`, if the first request is made with `verify=False` to disable cert verification, all subsequent requests to the same host will continue to ignore cert verification regardless of changes to the value of `verify`. This behavior will continue for the lifecycle of the connection in the connection pool. This vulnerability is fixed in 2.32.0.
Scope: local
bookworm: open
bullseye: open
forky: resolved (fixed in 2.32.3+dfsg-1)
sid: resolved (fixed in 2.32.3+dfsg-1)
trixie: resolved (fixed in 2.32.3+dfsg-1)
OSV
CVE-2024-35195: Requests is a HTTP library
osv·2024-05-20·CVSS 5.6
CVE-2024-35195 [MEDIUM] CVE-2024-35195: Requests is a HTTP library
Requests is a HTTP library. Prior to 2.32.0, when making requests through a Requests `Session`, if the first request is made with `verify=False` to disable cert verification, all subsequent requests to the same host will continue to ignore cert verification regardless of changes to the value of `verify`. This behavior will continue for the lifecycle of the connection in the connection pool. This vulnerability is fixed in 2.32.0.
GHSA
Requests `Session` object does not verify requests after making first request with verify=False
ghsa·2024-05-20
CVE-2024-35195 [MEDIUM] CWE-670 Requests `Session` object does not verify requests after making first request with verify=False
Requests `Session` object does not verify requests after making first request with verify=False
When using a `requests.Session`, if the first request to a given origin is made with `verify=False`, TLS certificate verification may remain disabled for all subsequent requests to that origin, even if `verify=True` is explicitly specified later.
This occurs because the underlying connection is reused from the session's connection pool, causing the initial TLS verification setting to persist for the lifetime of the pooled connection. As a result, applications may unintentionally send requests without certificate verification, leading to potential man-in-the-middle attacks and compromised confidentiality or integrity.
This behavior affects versions of `requests` prior to 2.32.0.
OSV
Requests `Session` object does not verify requests after making first request with verify=False
osv·2024-05-20
CVE-2024-35195 [MEDIUM] Requests `Session` object does not verify requests after making first request with verify=False
Requests `Session` object does not verify requests after making first request with verify=False
When using a `requests.Session`, if the first request to a given origin is made with `verify=False`, TLS certificate verification may remain disabled for all subsequent requests to that origin, even if `verify=True` is explicitly specified later.
This occurs because the underlying connection is reused from the session's connection pool, causing the initial TLS verification setting to persist for the lifetime of the pooled connection. As a result, applications may unintentionally send requests without certificate verification, leading to potential man-in-the-middle attacks and compromised confidentiality or integrity.
This behavior affects versions of `requests` prior to 2.32.0.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2024-35195 proxysql: requests: subsequent requests to the same host ignore cert verification [epel-all]
bugzilla·2024-05-21·CVSS 5.6
CVE-2024-35195 [MEDIUM] CVE-2024-35195 proxysql: requests: subsequent requests to the same host ignore cert verification [epel-all]
CVE-2024-35195 proxysql: requests: subsequent requests to the same host ignore cert verification [epel-all]
More information about this security flaw is available in the following bug:
http://bugzilla.redhat.com/show_bug.cgi?id=2282114
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Discussion:
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug. This will ensure that all associated bugs get updated
when new packages are pushed to stable.
# bugfix, security, enhancement, newpackage (required)
ty
Bugzilla
CVE-2024-35195 requests: subsequent requests to the same host ignore cert verification
bugzilla·2024-05-21·CVSS 5.6
CVE-2024-35195 [MEDIUM] CVE-2024-35195 requests: subsequent requests to the same host ignore cert verification
CVE-2024-35195 requests: subsequent requests to the same host ignore cert verification
Requests is a HTTP library. Prior to 2.32.0, when making requests through a Requests `Session`, if the first request is made with `verify=False` to disable cert verification, all subsequent requests to the same host will continue to ignore cert verification regardless of changes to the value of `verify`. This behavior will continue for the lifecycle of the connection in the connection pool. This vulnerability is fixed in 2.32.0.
https://github.com/psf/requests/commit/a58d7f2ffb4d00b46dca2d70a3932a0b37e22fac
https://github.com/psf/requests/pull/6655
https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56
Discussion:
Created cascadia-code-fonts tracking bugs for this issue:
Affects: fe
https://github.com/psf/requests/commit/a58d7f2ffb4d00b46dca2d70a3932a0b37e22fachttps://github.com/psf/requests/pull/6655https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56https://lists.fedoraproject.org/archives/list/[email protected]/message/IYLSNK5TL46Q6XPRVMHVWS63MVJQOK4Q/https://lists.fedoraproject.org/archives/list/[email protected]/message/N7WP6EYDSUOCOJYHDK5NX43PYZ4SNHGZ/https://github.com/psf/requests/commit/a58d7f2ffb4d00b46dca2d70a3932a0b37e22fachttps://github.com/psf/requests/pull/6655https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56https://lists.fedoraproject.org/archives/list/[email protected]/message/IYLSNK5TL46Q6XPRVMHVWS63MVJQOK4Q/https://lists.fedoraproject.org/archives/list/[email protected]/message/N7WP6EYDSUOCOJYHDK5NX43PYZ4SNHGZ/
2024-05-20
Published