CVEfocus › CVE database › CVE-2024-35195

CVE-2024-35195Requests `Session` object does not verify requests after making first request with…

CVSS 5.6 MediumEPSS 0.4% (higher than 24% of CVEs)Published 2024-05-20Updated 2025-07-31Assigner: GitHub_M

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.

CWE-670

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, PyPI, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

22Fixed
14Fix pending
12Will not fix
37Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10python-pipFix pendingUBUNTU-CVE-2024-35195
Ubuntu 25.10python-pipNot affected
vulnerable_code_not_present
Ubuntu 24.04python-pipFix pending24.0+dfsg-1ubuntu1.3+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-35195
Ubuntu 24.04requestsWill not fix
On focal and earlier, the python-pip package bundles requests binaries when built. After updating requests, a no-change rebuild of python-pip is required. On…
UBUNTU-CVE-2024-35195
Ubuntu 22.04python-pipFix pending22.0.2+dfsg-1ubuntu0.7+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-35195
Ubuntu 22.04requestsWill not fix
On focal and earlier, the python-pip package bundles requests binaries when built. After updating requests, a no-change rebuild of python-pip is required. On…
UBUNTU-CVE-2024-35195
Ubuntu 20.04python-pipFix pendingUBUNTU-CVE-2024-35195
Ubuntu 20.04requestsFix pendingUBUNTU-CVE-2024-35195
Ubuntu 18.04python-pipFix pendingUBUNTU-CVE-2024-35195
Ubuntu 18.04requestsFix pendingUBUNTU-CVE-2024-35195
Ubuntu 16.04python-pipFix pendingUBUNTU-CVE-2024-35195
Ubuntu 16.04requestsFix pendingUBUNTU-CVE-2024-35195
Ubuntu 14.04python-pipFix pendingUBUNTU-CVE-2024-35195
Ubuntu 14.04requestsFix pendingUBUNTU-CVE-2024-35195
Debian 14requestsFixed2.32.3+dfsg-1DEBIAN-CVE-2024-35195
Debian 13requestsFixed2.32.3+dfsg-1DEBIAN-CVE-2024-35195
Debian 12requestsFix pendingDEBIAN-CVE-2024-35195
Red Hat Enterprise Linux 10python-requestsFix pending
Affected
Red Hat Enterprise Linux 10python-tornadoNot affected
Red Hat Enterprise Linux 10python3-pipNot affected
Red Hat Enterprise Linux 10python3-pip-wheelNot affected
Red Hat Enterprise Linux 10python3-requestsFix pending
Affected
Red Hat Enterprise Linux 10python3-tornadoNot affected
Red Hat Enterprise Linux 9python-pipNot affected
Red Hat Enterprise Linux 9python-requestsFixed0:2.25.1-9.el9RHSA-2025:7049
Red Hat Enterprise Linux 9python3-pipNot affected
Red Hat Enterprise Linux 9python3-pip-wheelNot affected
Red Hat Enterprise Linux 9python3-requestsFixed0:2.25.1-9.el9RHSA-2025:7049
Red Hat Enterprise Linux 9python3-requests+securityFixed0:2.25.1-9.el9RHSA-2025:7049
Red Hat Enterprise Linux 9python3-requests+socksFixed0:2.25.1-9.el9RHSA-2025:7049
Red Hat Enterprise Linux 9python3.11-pipNot affected
Red Hat Enterprise Linux 9python3.11-pip-wheelNot affected
Red Hat Enterprise Linux 9python3.12-pipNot affected
Red Hat Enterprise Linux 9python3.12-pip-wheelNot affected
Red Hat Enterprise Linux 9rust-srpm-macrosNot affected
Red Hat Enterprise Linux 9scap-security-guideNot affected
Red Hat Enterprise Linux 9scap-security-guide-docNot affected
Red Hat Enterprise Linux 8platform-python-pipNot affected
Red Hat Enterprise Linux 8python-pipNot affected
Red Hat Enterprise Linux 8python-requestsFixed
Will not fix
0:2.20.0-5.el8_10RHSA-2025:0012
Red Hat Enterprise Linux 8python2-pipNot affected
Red Hat Enterprise Linux 8python2-pip-wheelNot affected
Red Hat Enterprise Linux 8python3-pipNot affected
Red Hat Enterprise Linux 8python3-pip-wheelNot affected
Red Hat Enterprise Linux 8python3-requestsFixed
Will not fix
0:2.20.0-5.el8_10RHSA-2025:0012
Red Hat Enterprise Linux 8python3.11-pipNot affected
Red Hat Enterprise Linux 8python3.11-pip-wheelNot affected
Red Hat Enterprise Linux 8python3.12-pipNot affected
Red Hat Enterprise Linux 8python3.12-pip-wheelNot affected
Red Hat Enterprise Linux 8python38-pipNot affected
Red Hat Enterprise Linux 8python38-pip-wheelNot affected
Red Hat Enterprise Linux 8python39-pipNot affected
Red Hat Enterprise Linux 8python39-pip-wheelNot affected
Red Hat Enterprise Linux 8python3x-pipNot affected
Red Hat Enterprise Linux 8rust-srpm-macrosNot affected
Red Hat Enterprise Linux 8scap-security-guideNot affected
Red Hat Enterprise Linux 8scap-security-guide-docNot affected
Red Hat Enterprise Linux 7pykickstartWill not fix
Out of support scope
Red Hat Enterprise Linux 7python-pipNot affected
Red Hat Enterprise Linux 7python-requestsWill not fix
Will not fix
Red Hat Enterprise Linux 7python3-pipNot affected
Red Hat Enterprise Linux 7resource-agentsWill not fix
Out of support scope
Red Hat Enterprise Linux 7resource-agents-aliyunWill not fix
Out of support scope
Red Hat Enterprise Linux 7resource-agents-gcpWill not fix
Out of support scope
Red Hat Enterprise Linux 7resource-agents-sapWill not fix
Out of support scope
Red Hat Enterprise Linux 7resource-agents-sap-hanaWill not fix
Out of support scope
Red Hat Enterprise Linux 7resource-agents-sap-hana-scaleoutWill not fix
Out of support scope
Red Hat Enterprise Linux 7sap-cluster-connectorWill not fix
Out of support scope
Red Hat Enterprise Linux 7scap-security-guideNot affected
Red Hat Enterprise Linux 7scap-security-guide-docNot affected
Red Hat Enterprise Linux 6python-requestsWill not fix
Out of support scope
AlmaLinux 9python3-requestsFixed2.25.1-9.el9ALSA-2025:7049
AlmaLinux 9python3-requests+securityFixed2.25.1-9.el9ALSA-2025:7049
AlmaLinux 9python3-requests+socksFixed2.25.1-9.el9ALSA-2025:7049
AlmaLinux 8python3-requestsFixed2.20.0-5.el8_10ALSA-2025:0012
Rocky Linux 9python-requestsFixed0:2.25.1-9.el9RLSA-2025:7049
Rocky Linux 8python-requestsFixed0:2.20.0-5.el8_10RLSA-2025:0012
Alpine Linux 3.24py3-requestsFixed2.32.3-r0ALPINE-CVE-2024-35195
Alpine Linux 3.23py3-requestsFixed2.32.3-r0ALPINE-CVE-2024-35195
Alpine Linux 3.22py3-requestsFixed2.32.3-r0ALPINE-CVE-2024-35195
Alpine Linux 3.21py3-requestsFixed2.32.3-r0ALPINE-CVE-2024-35195
Alpine Linux 3.20py3-requestsFixed2.32.3-r0ALPINE-CVE-2024-35195
Alpine Linux 3.19py3-requestsFixed2.32.3-r0ALPINE-CVE-2024-35195
Alpine Linux 3.18py3-requestsFixed2.32.3-r0ALPINE-CVE-2024-35195
PyPI libraryrequestsFixed2.32.0PYSEC-2026-1873

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.