CVE-2024-35195
MEDIUMRequests < 2.32.0 - Always-Incorrect Control Flow Implementation in Session Certificate Verification
Title source: llmDescription
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.
References (5)
Core 5
Core References
Mailing List, Third Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/IYLSNK5TL46Q6XPRVMHVWS63MVJQOK4Q/
Mailing List, Third Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/N7WP6EYDSUOCOJYHDK5NX43PYZ4SNHGZ/
Vendor Advisory x_refsource_confirm
https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56
Issue Tracking x_refsource_misc
https://github.com/psf/requests/pull/6655
Patch x_refsource_misc
https://github.com/psf/requests/commit/a58d7f2ffb4d00b46dca2d70a3932a0b37e22fac
Scores
CVSS v3
5.6
EPSS
0.0034
EPSS Percentile
25.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-670
Status
published
Products (2)
psf/requests
< 2.32.0
pypi/requests
0 - 2.32.0PyPI
Published
May 20, 2024
Tracked Since
Feb 18, 2026