What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: HackerOne request node module 2.32.0; Pypi Requests 2.32.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-35195 or the next vulnerability affects your stack