CVE-2024-35195: Requests `Session` object does not verify requests after making first request with verify=False
Vulnerability summary
CVE-2024-35195 is a medium (CVSS 5.6) vulnerability in psf requests. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 27.5% of scored vulnerabilities.
Not severe (CVSS 5.6, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 28Timeline
- 20-05-2024PublishedVulnerability first disclosed.
- 31-07-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
9 scores · 9 sources · 1 version- OSV · AlpineEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
- OSV · PypiEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
- OSV · Red hatEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
- OSV · UbuntuEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
- OSV · DebianEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
- OSV · WolfiEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
- NVDNIST5.6MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
28%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.34% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, administrative account, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard66 products
- airflow< 2.9.1-r1
- airflow-bitnami-compat< 2.9.1-r1
- apache-beam-python-3.11-sdk< 2.59.0-r0
- az< 2.70.0-r0
- az-iamguarded-compat< 2.70.0-r0
Wolfi59 products
- airflow< 2.9.1-r1
- airflow-bitnami-compat< 2.9.1-r1
- az< 2.70.0-r0
- az-iamguarded-compat< 2.70.0-r0
- checkov< 3.0.34-r1
Suse33 products
- python-docker&distro=SUSE Linux Enterprise Module for Package Hub 15 SP5< 4.2.0-150200.3.5.1
- python-docker&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6< 4.2.0-150200.3.5.1
- python-docker&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP4< 7.0.0-150400.8.7.1
- python-docker&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP5< 7.0.0-150400.8.7.1
- python-docker&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP6< 7.0.0-150400.8.7.1
Opensuse6 products
- python-docker&distro=openSUSE Leap 15.5< 7.0.0-150400.8.7.1 | < 4.2.0-150200.3.5.1
- python-docker&distro=openSUSE Leap 15.6< 7.0.0-150400.8.7.1 | < 4.2.0-150200.3.5.1
- python-requests&distro=openSUSE Leap 15.5< 2.25.1-150300.3.9.1 | < 2.31.0-150400.6.15.1 | < 2.31.0-150400.6.12.1
- python-requests&distro=openSUSE Leap 15.6< 2.31.0-150400.6.15.1 | < 2.31.0-150400.6.12.1
- python-requests&distro=openSUSE Leap Micro 5.3< 2.25.1-150300.3.9.1
Redhat4 products
- python-requests< 0:2.25.1-2.el8ost | < 0:2.20.0-5.el8_10 | < 0:2.25.1-9.el9
- python3-requests< 0:2.25.1-2.el8ost | < 0:2.20.0-5.el8_10 | < 0:2.25.1-9.el9
- python3-requests+security< 0:2.25.1-9.el9
- python3-requests+socks< 0:2.25.1-9.el9
Ubuntu2 products
- python-pipAll versions (No fix recorded) | < 22.0.2+dfsg-1ubuntu0.7+esm1 | < 24.0+dfsg-1ubuntu1.3+esm1
- requestsAll versions (No fix recorded)
Alpine1 product
- py3-requests< 2.32.3-r0
Debian1 product
- requestsAll versions (No fix recorded) | < 2.32.3+dfsg-1
Mageia1 product
- python-requests< 2.32.3-1.mga9
Psf1 product
- requests< 2.32.0
PyPI1 product
- requests< 2.32.0
11 vendors · 175 products
References
53 links- github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56X Refsource CONFIRMWEBARTICLEREPORTAdvisory
Show all 53 references
- github.com/psf/requestsPACKAGE
- pypi.org/project/requestsPACKAGE