Skip to content
OpenAdvisories
Medium · 5.6 CVE-2024-35195 EUVD-2024-1565GHSA-9wx4-h78v-vm56PYSEC-2026-1873

Requests `Session` object does not verify requests after making first request with verify=False

Published May 20, 2024 · Updated Jul 31, 2025 · Assigned by GitHub_M

Vendor: psf Product: requests Package: airflow Package: az Package: az-iamguarded-compat Package: checkov Package: confluent-docker-utils Package: ggshield Package: jwt-tool Package: k8s-sidecar Package: katib-controller Package: katib-controller-compat Package: katib-db-manager Package: katib-db-manager-compat Package: katib-earlystopping Package: katib-file-metricscollector Package: katib-file-metricscollector-compat Package: katib-suggestion-goptuna Package: katib-suggestion-goptuna-compat Package: katib-suggestion-hyperband Package: katib-suggestion-hyperopt Package: katib-suggestion-nas-darts Package: katib-suggestion-nas-enas Package: katib-suggestion-optuna-enas Package: katib-suggestion-pbt-enas Package: katib-suggestion-skopt-enas Package: katib-tfevent-metricscollector Package: kubeflow-jupyter-web-app Package: kubeflow-katib Package: kubeflow-pipelines Package: kubeflow-pipelines-apiserver Package: kubeflow-pipelines-cache_server Package: kubeflow-pipelines-cache-deployer Package: kubeflow-pipelines-cache-deployer-compat Package: kubeflow-pipelines-frontend Package: kubeflow-pipelines-metadata-envoy-config Package: kubeflow-pipelines-metadata-writer Package: kubeflow-pipelines-metadata-writer-compat Package: kubeflow-pipelines-persistence_agent Package: kubeflow-pipelines-scheduledworkflow Package: kubeflow-pipelines-viewer-crd-controller Package: kubeflow-pipelines-visualization-server Package: kubeflow-volumes-web-app Package: patroni Package: py3-cassandra-medusa Package: py3-cassandra-medusa-compat Package: py3-pipenv Package: py3-requests Package: py3-supported-pipenv Package: py3.10-pipenv Package: py3.10-pipenv-bin Package: py3.11-pipenv Package: py3.11-pipenv-bin Package: py3.12-pipenv Package: py3.12-pipenv-bin Package: py3.13-pipenv Package: py3.13-pipenv-bin Package: python-pip Package: python-requests Package: reflex Package: requests Package: requests Package: requests Package: tensorflow Ecosystem: Alpine Ecosystem: Azure Linux Ecosystem: Debian Ecosystem: PyPI Ecosystem: Ubuntu Ecosystem: Wolfi

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.

Affected products

VendorProductAffectedFixed
psf requests < 2.32.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 requests 2.32.3+dfsg-1 —
Debian 13 requests 2.32.3+dfsg-1 —
Debian 12 requests No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 python-pip No fix yet —
Ubuntu 24.04 LTS requests No fix yet —
Ubuntu 22.04 LTS requests No fix yet —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS python-pip 24.0+dfsg-1ubuntu1.3+esm1 —
Ubuntu Pro 22.04 LTS python-pip 22.0.2+dfsg-1ubuntu0.7+esm1 —
Ubuntu Pro 20.04 LTS requests +1 No fix yet —
Ubuntu Pro 18.04 LTS requests +1 No fix yet —
Ubuntu Pro 16.04 LTS requests +1 No fix yet —
Ubuntu Pro 14.04 LTS requests +1 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 python-requests +3 2.25.1-9.el9 RHSA-2025:7049
RHEL 8 python-requests +1 2.20.0-5.el8_10 RHSA-2025:0012
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Satellite Utils 6 foreman +1 3.12.0.6-1.el8sat RHSA-2025:2399
Red Hat Satellite Utils 6 satellite +1 6.16.3-2.el8sat RHSA-2025:2399
Red Hat Satellite Maintenance 6 rubygem-foreman_maintain 1:1.7.12-1.el8sat RHSA-2025:2399
Red Hat Satellite Capsule 6 foreman +2 3.12.0.6-1.el8sat RHSA-2025:2399
Red Hat Satellite Capsule 6 foreman-installer +1 1:3.12.0.4-2.el8sat RHSA-2025:2399
Red Hat Satellite Capsule 6 python-django +1 4.2.19-1.el8pc RHSA-2025:2399
Red Hat Satellite Capsule 6 python-jinja2 +1 3.1.5-1.el8pc RHSA-2025:2399
Red Hat Satellite Capsule 6 python-pulp-cli +3 0.29.2-2.el8pc RHSA-2025:2399
Red Hat Satellite Capsule 6 python-pulp-container +1 2.20.5-1.el8pc RHSA-2025:2399
Red Hat Satellite Capsule 6 python-pulpcore +1 3.49.33-1.el8pc RHSA-2025:2399
Red Hat Satellite Capsule 6 python-requests +1 2.32.3-2.el8pc RHSA-2025:2399
Red Hat Satellite Capsule 6 rubygem-foreman_maintain 1:1.7.12-1.el8sat RHSA-2025:2399
Red Hat Satellite Capsule 6 satellite +2 6.16.3-2.el8sat RHSA-2025:2399
Red Hat Satellite 6 candlepin +1 4.4.21-1.el8sat RHSA-2025:2399
Red Hat Satellite 6 foreman +14 3.12.0.6-1.el8sat RHSA-2025:2399
Red Hat Satellite 6 foreman-installer +1 1:3.12.0.4-2.el8sat RHSA-2025:2399
Red Hat Satellite 6 python-django +1 4.2.19-1.el8pc RHSA-2025:2399
Red Hat Satellite 6 python-jinja2 +1 3.1.5-1.el8pc RHSA-2025:2399
Red Hat Satellite 6 python-pulp-cli +3 0.29.2-2.el8pc RHSA-2025:2399
Red Hat Satellite 6 python-pulp-container +1 2.20.5-1.el8pc RHSA-2025:2399
Red Hat Satellite 6 python-pulpcore +1 3.49.33-1.el8pc RHSA-2025:2399
Red Hat Satellite 6 python-requests +1 2.32.3-2.el8pc RHSA-2025:2399
Red Hat Satellite 6 rubygem-foreman_ansible 14.2.3-1.el8sat RHSA-2025:2399
Red Hat Satellite 6 rubygem-foreman_maintain 1:1.7.12-1.el8sat RHSA-2025:2399
Red Hat Satellite 6 rubygem-foreman_openscap 9.0.5-1.el8sat RHSA-2025:2399
Red Hat Satellite 6 rubygem-foreman_remote_execution +1 13.2.7-1.el8sat RHSA-2025:2399
Red Hat Satellite 6 rubygem-foreman_theme_satellite 13.3.5-1.el8sat RHSA-2025:2399
Red Hat Satellite 6 rubygem-katello 4.14.0.8-1.el8sat RHSA-2025:2399
Red Hat Satellite 6 satellite +2 6.16.3-2.el8sat RHSA-2025:2399
Red Hat Satellite 6 scap-security-guide-satellite 1.0.0-1.el8sat RHSA-2025:2399
Red Hat Rhui 4 python-aiohttp +1 3.9.4-1.el8ui RHSA-2025:1335
Red Hat Rhui 4 python-cryptography +1 42.0.8-1.el8ui RHSA-2025:1335
Red Hat Rhui 4 python-django +1 4.2.15-1.el8ui RHSA-2025:1335
Red Hat Rhui 4 python-grpcio +1 1.65.4-1.el8ui RHSA-2025:1335
Red Hat Rhui 4 python-gunicorn +1 22.0.0-1.0.1.el8ui RHSA-2025:1335
Red Hat Rhui 4 python-jinja2 +1 3.1.4-1.el8ui RHSA-2025:1335
Red Hat Rhui 4 python-requests +1 2.32.3-2.el8ui RHSA-2025:1335
Red Hat Rhui 4 python-sqlparse +1 0.5.0-1.el8ui RHSA-2025:1335
Red Hat OpenStack 17 python-requests +1 2.25.1-2.el8ost RHSA-2024:9988
Red Hat Ansible Automation Platform Inside 2 python-black +1 22.8.0-2.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform Inside 2 python-cryptography +1 42.0.5-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform Inside 2 python-jinja2 +1 3.1.4-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform Inside 2 python39-black +1 22.8.0-2.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform Inside 2 python39-cryptography +1 42.0.5-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform Inside 2 python39-jinja2 +1 3.1.4-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform Inside 2 receptor +1 1.4.8-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 python-black +1 22.8.0-2.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 python-cryptography +1 42.0.5-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 python-idna +1 3.7-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 python-jinja2 +1 3.1.4-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 python-requests +1 2.32.2-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 python39-black +1 22.8.0-2.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 python39-cryptography +1 42.0.5-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 python39-idna +1 3.7-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 python39-jinja2 +1 3.1.4-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 python39-requests +1 2.32.2-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 receptor +1 1.4.8-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 automation-controller-venv-tower 4.5.7-1.el8ap RHSA-2024:4522, RHSA-2024:3781
Red Hat Ansible Automation Platform 2 automation-hub +2 4.9.2-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-aiohttp +1 3.9.5-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-black +1 22.8.0-2.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-cryptography +1 42.0.5-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-galaxy-ng +1 4.9.2-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-gunicorn +1 22.0.0-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-idna +1 3.7-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-jinja2 +1 3.1.4-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-pillow +1 10.3.0-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-pydantic +1 1.10.15-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-requests +1 2.32.2-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-social-auth-app-django +1 5.4.1-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-sqlparse +1 0.5.0-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-aiohttp +1 3.9.5-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-black +1 22.8.0-2.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-cryptography +1 42.0.5-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-gunicorn +1 22.0.0-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-idna +1 3.7-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-jinja2 +1 3.1.4-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-pillow +1 10.3.0-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-pydantic +1 1.10.15-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-requests +1 2.32.2-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-social-auth-app-django +1 5.4.1-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-sqlparse +1 0.5.0-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 receptor +1 1.4.8-1.el8ap RHSA-2024:3781

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 python3-requests +2 2.25.1-9.el9 ALSA-2025:7049
AlmaLinux 8 python3-requests 2.20.0-5.el8_10 ALSA-2025:0012

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 python-requests 2.25.1-9.el9 RLSA-2025:7049
Rocky Linux 8 python-requests 2.20.0-5.el8_10 RLSA-2025:0012
ReleasePackageFixed inAdvisory
SLES 15 SP6 python-docker 4.2.0-150200.3.5.1 SUSE-SU-2024:1938-1, SUSE-SU-2024:1937-2
SLES 15 SP6 python-requests 2.25.1-150300.3.9.1 SUSE-SU-2024:1880-1
SLES 15 SP5 python-docker 4.2.0-150200.3.5.1 SUSE-SU-2024:1938-1, SUSE-SU-2024:1937-1
SLES 15 SP5 python-requests 2.25.1-150300.3.9.1 SUSE-SU-2024:1880-1
SLES 15 SP4 python-docker 7.0.0-150400.8.7.1 SUSE-SU-2024:1937-1
SLES 15 SP4 python-requests 2.25.1-150300.3.9.1 SUSE-SU-2024:1880-2, SUSE-SU-2024:1857-1, SUSE-RU-2024:3600-1
SLES 15 SP3 python-requests 2.25.1-150300.3.9.1 SUSE-SU-2024:1880-2
SLES 12 SP5 python-requests 2.24.0-8.17.1 SUSE-SU-2024:2068-1, SUSE-RU-2024:3598-1
Show 18 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 python-requests 2.11.1-6.37.1 SUSE-SU-2024:2068-1, SUSE-SU-2024:1946-1, SUSE-RU-2024:3599-1
SLES 3 python-requests 2.31.0-150400.6.12.1 SUSE-SU-2024:1857-1, SUSE-RU-2024:3600-1
SLES for SAP 15 SP4 python-requests 2.25.1-150300.3.9.1 SUSE-SU-2024:1880-2, SUSE-RU-2024:3600-1
SLES for SAP 15 SP3 python-requests 2.25.1-150300.3.9.1 SUSE-SU-2024:1880-2
SLES for SAP 12 SP5 python-requests 2.24.0-8.17.1 SUSE-SU-2024:2068-1, SUSE-RU-2024:3598-1
SLE Micro 6.0 python-requests 2.32.2-1.1 SUSE-SU-2025:20094-1, SUSE-SU-2025:20034-1
SLE Micro 5.5 python-requests 2.25.1-150300.3.9.1 SUSE-SU-2024:1880-1
SLE Micro 5.4 python-requests 2.25.1-150300.3.9.1 SUSE-SU-2024:1880-1
SLE Micro 5.3 python-requests 2.25.1-150300.3.9.1 SUSE-SU-2024:1880-1
SLE Micro 5.2 python-requests 2.25.1-150300.3.9.1 SUSE-SU-2024:1880-1
SLE Micro 5.1 python-requests 2.25.1-150300.3.9.1 SUSE-SU-2024:1880-1
SLE HPC 15 SP4 python-requests 2.25.1-150300.3.9.1 SUSE-SU-2024:1880-2, SUSE-RU-2024:3600-1
SLE HPC 15 SP3 python-requests 2.25.1-150300.3.9.1 SUSE-SU-2024:1880-2
SUSE Manager Server 4.3 python-requests 2.25.1-150300.3.9.1 SUSE-SU-2024:1880-2
SUSE Manager Proxy 4.3 python-requests 2.25.1-150300.3.9.1 SUSE-SU-2024:1880-2
SUSE Manager Client Tools 15 python-docker 2.6.1-150000.4.3.1 SUSE-SU-2024:2182-1
SUSE Manager Client Tools 12 python-requests 2.11.1-6.37.1 SUSE-SU-2024:1946-1, SUSE-RU-2024:3599-1
SUSE Enterprise Storage 7.1 python-requests 2.25.1-150300.3.9.1 SUSE-SU-2024:1880-2
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-requests 2.34.2-1.2 openSUSE-SU-2026:12038-1
openSUSE Leap 15.6 python-docker 4.2.0-150200.3.5.1 SUSE-SU-2024:1938-1, SUSE-SU-2024:1937-2
openSUSE Leap 15.6 python-requests 2.31.0-150400.6.12.1 SUSE-SU-2024:1857-1, SUSE-RU-2024:3600-1
openSUSE Leap 15.5 python-docker 4.2.0-150200.3.5.1 SUSE-SU-2024:1938-1, SUSE-SU-2024:1937-2
openSUSE Leap 15.5 python-requests 2.25.1-150300.3.9.1 SUSE-SU-2024:1880-1, SUSE-SU-2024:1857-1, SUSE-RU-2024:3600-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 python-requests 2.25.1-150300.3.9.1 SUSE-SU-2024:1880-1
openSUSE Leap Micro 5.3 python-requests 2.25.1-150300.3.9.1 SUSE-SU-2024:1880-1
ReleasePackageFixed inAdvisory
Alpine v3.24 py3-requests 2.32.3-r0 —
Alpine v3.23 py3-requests 2.32.3-r0 —
Alpine v3.22 py3-requests 2.32.3-r0 —
Alpine v3.21 py3-requests 2.32.3-r0 —
Alpine v3.20 py3-requests 2.32.3-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 py3-requests 2.32.3-r0 —
Alpine v3.18 py3-requests 2.32.3-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 aws-cfn-bootstrap 2.0-31.amzn2023 ALAS2023-2024-732
Amazon Linux 2023 python3-pip +1 21.3.1-2.amzn2023.0.10 ALAS2023-2024-781
Amazon Linux 2023 python3-requests +2 2.25.1-1.amzn2023.0.4 ALAS2023-2024-782
Amazon Linux 2023 python3.11-pip +1 22.3.1-2.amzn2023.0.5 ALAS2023-2024-780
Amazon Linux 2023 python3.12-pip +1 23.2.1-4.amzn2023.0.2 ALAS2023-2025-957
Amazon Linux 2 aws-cfn-bootstrap 2.0-31.amzn2 ALAS2-2024-2654
Amazon Linux 2 python-requests 2.6.0-10.amzn2.0.6 ALAS2-2025-2868
Amazon Linux 2 python2-pip +2 20.2.2-1.amzn2.0.8 ALAS2-2024-2715
Amazon Linux 2 python3-requests 2.14.2-2.amzn2.0.4 ALAS2-2025-2846

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 python-requests 2.31.0-2 —
Azure Linux 3 tensorflow 2.16.1-8 —
Azure Linux 2 (CBL-Mariner) python-requests 2.27.1-7 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 python3-requests +2 2.25.1-9.el9 ELSA-2025-7049
Oracle Linux 8 python3-requests 2.20.0-5.el8_10 ELSA-2025-0012

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling airflow 2.9.1-r1 —
Wolfi rolling az +1 2.70.0-r0 —
Wolfi rolling checkov 3.0.34-r1 —
Wolfi rolling confluent-docker-utils 0.0.78-r0 —
Wolfi rolling ggshield 1.28.0-r1 —
Wolfi rolling jwt-tool 2.2.7-r0 —
Wolfi rolling k8s-sidecar 1.27.2-r0 —
Wolfi rolling kubeflow-jupyter-web-app 1.8.0-r7 —
Wolfi rolling kubeflow-katib +17 0.18.0-r0 —
Wolfi rolling kubeflow-pipelines +11 2.2.0-r2 —
Wolfi rolling kubeflow-pipelines-visualization-server 2.3.0-r0 —
Wolfi rolling kubeflow-volumes-web-app 1.8.0-r6 —
Wolfi rolling patroni 3.3.1-r0 —
Wolfi rolling py3-cassandra-medusa 0.27.1-r1 —
Wolfi rolling py3-cassandra-medusa-compat 0.23.0-r30 —
Wolfi rolling py3-pipenv +9 2024.4.1-r0 —
Wolfi rolling reflex 0.5.5-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI requests < 2.32.0 2.32.0 GHSA-9wx4-h78v-vm56

Advisories 50

References