CVE-2024-35195Requests `Session` object does not verify requests after making first request with…
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | python-pip | Fix pending | UBUNTU-CVE-2024-35195 | |
| Ubuntu 25.10 | python-pip | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | python-pip | Fix pending | 24.0+dfsg-1ubuntu1.3+esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-35195 |
| Ubuntu 24.04 | requests | Will 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.04 | python-pip | Fix pending | 22.0.2+dfsg-1ubuntu0.7+esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-35195 |
| Ubuntu 22.04 | requests | Will 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.04 | python-pip | Fix pending | UBUNTU-CVE-2024-35195 | |
| Ubuntu 20.04 | requests | Fix pending | UBUNTU-CVE-2024-35195 | |
| Ubuntu 18.04 | python-pip | Fix pending | UBUNTU-CVE-2024-35195 | |
| Ubuntu 18.04 | requests | Fix pending | UBUNTU-CVE-2024-35195 | |
| Ubuntu 16.04 | python-pip | Fix pending | UBUNTU-CVE-2024-35195 | |
| Ubuntu 16.04 | requests | Fix pending | UBUNTU-CVE-2024-35195 | |
| Ubuntu 14.04 | python-pip | Fix pending | UBUNTU-CVE-2024-35195 | |
| Ubuntu 14.04 | requests | Fix pending | UBUNTU-CVE-2024-35195 | |
| Debian 14 | requests | Fixed | 2.32.3+dfsg-1 | DEBIAN-CVE-2024-35195 |
| Debian 13 | requests | Fixed | 2.32.3+dfsg-1 | DEBIAN-CVE-2024-35195 |
| Debian 12 | requests | Fix pending | DEBIAN-CVE-2024-35195 | |
| Red Hat Enterprise Linux 10 | python-requests | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | python-tornado | Not affected | ||
| Red Hat Enterprise Linux 10 | python3-pip | Not affected | ||
| Red Hat Enterprise Linux 10 | python3-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 10 | python3-requests | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | python3-tornado | Not affected | ||
| Red Hat Enterprise Linux 9 | python-pip | Not affected | ||
| Red Hat Enterprise Linux 9 | python-requests | Fixed | 0:2.25.1-9.el9 | RHSA-2025:7049 |
| Red Hat Enterprise Linux 9 | python3-pip | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-requests | Fixed | 0:2.25.1-9.el9 | RHSA-2025:7049 |
| Red Hat Enterprise Linux 9 | python3-requests+security | Fixed | 0:2.25.1-9.el9 | RHSA-2025:7049 |
| Red Hat Enterprise Linux 9 | python3-requests+socks | Fixed | 0:2.25.1-9.el9 | RHSA-2025:7049 |
| Red Hat Enterprise Linux 9 | python3.11-pip | Not affected | ||
| Red Hat Enterprise Linux 9 | python3.11-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 9 | python3.12-pip | Not affected | ||
| Red Hat Enterprise Linux 9 | python3.12-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-srpm-macros | Not affected | ||
| Red Hat Enterprise Linux 9 | scap-security-guide | Not affected | ||
| Red Hat Enterprise Linux 9 | scap-security-guide-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | platform-python-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | python-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | python-requests | Fixed Will not fix | 0:2.20.0-5.el8_10 | RHSA-2025:0012 |
| Red Hat Enterprise Linux 8 | python2-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | python2-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-requests | Fixed Will not fix | 0:2.20.0-5.el8_10 | RHSA-2025:0012 |
| Red Hat Enterprise Linux 8 | python3.11-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | python3.11-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 8 | python3.12-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | python3.12-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 8 | python38-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | python38-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 8 | python39-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | python39-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 8 | python3x-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-srpm-macros | Not affected | ||
| Red Hat Enterprise Linux 8 | scap-security-guide | Not affected | ||
| Red Hat Enterprise Linux 8 | scap-security-guide-doc | Not affected | ||
| Red Hat Enterprise Linux 7 | pykickstart | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | python-pip | Not affected | ||
| Red Hat Enterprise Linux 7 | python-requests | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | python3-pip | Not affected | ||
| Red Hat Enterprise Linux 7 | resource-agents | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | resource-agents-aliyun | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | resource-agents-gcp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | resource-agents-sap | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | resource-agents-sap-hana | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | resource-agents-sap-hana-scaleout | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | sap-cluster-connector | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | scap-security-guide | Not affected | ||
| Red Hat Enterprise Linux 7 | scap-security-guide-doc | Not affected | ||
| Red Hat Enterprise Linux 6 | python-requests | Will not fix Out of support scope | ||
| AlmaLinux 9 | python3-requests | Fixed | 2.25.1-9.el9 | ALSA-2025:7049 |
| AlmaLinux 9 | python3-requests+security | Fixed | 2.25.1-9.el9 | ALSA-2025:7049 |
| AlmaLinux 9 | python3-requests+socks | Fixed | 2.25.1-9.el9 | ALSA-2025:7049 |
| AlmaLinux 8 | python3-requests | Fixed | 2.20.0-5.el8_10 | ALSA-2025:0012 |
| Rocky Linux 9 | python-requests | Fixed | 0:2.25.1-9.el9 | RLSA-2025:7049 |
| Rocky Linux 8 | python-requests | Fixed | 0:2.20.0-5.el8_10 | RLSA-2025:0012 |
| Alpine Linux 3.24 | py3-requests | Fixed | 2.32.3-r0 | ALPINE-CVE-2024-35195 |
| Alpine Linux 3.23 | py3-requests | Fixed | 2.32.3-r0 | ALPINE-CVE-2024-35195 |
| Alpine Linux 3.22 | py3-requests | Fixed | 2.32.3-r0 | ALPINE-CVE-2024-35195 |
| Alpine Linux 3.21 | py3-requests | Fixed | 2.32.3-r0 | ALPINE-CVE-2024-35195 |
| Alpine Linux 3.20 | py3-requests | Fixed | 2.32.3-r0 | ALPINE-CVE-2024-35195 |
| Alpine Linux 3.19 | py3-requests | Fixed | 2.32.3-r0 | ALPINE-CVE-2024-35195 |
| Alpine Linux 3.18 | py3-requests | Fixed | 2.32.3-r0 | ALPINE-CVE-2024-35195 |
| PyPI library | requests | Fixed | 2.32.0 | PYSEC-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.
- psf requests: affected: < 2.32.0
References
- https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56
- https://github.com/psf/requests/pull/6655
- https://github.com/psf/requests/commit/a58d7f2ffb4d00b46dca2d70a3932a0b37e22fac
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IYLSNK5TL46Q6XPRVMHVWS63MVJQOK4Q/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N7WP6EYDSUOCOJYHDK5NX43PYZ4SNHGZ/
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.