You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
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 origin 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.
Remediation
Any of these options can be used to remediate the current issue, we highly recommend upgrading as the preferred mitigation.
Upgrade to requests>=2.32.0.
For requests<2.32.0, avoid setting verify=False for the first request to a host while using a Requests Session.
For requests<2.32.0, call close() on Session objects to clear existing connections if verify=False is used.
Related Links psf/requests#6655
Recommendation
Upgrade requests from 2.31.0 to 2.32.0 to fix the vulnerability.
Reproduction steps
NA
Expected vs. actual results
NA
Minimal code example
No response
Error messages
No response
Compiler and operating system
Not related to compiler
Library version
2.31.0
Validation
The bug also occurs if the latest version from the develop branch is used.
Description
Description
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 origin 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.
Remediation
Any of these options can be used to remediate the current issue, we highly recommend upgrading as the preferred mitigation.
Upgrade to requests>=2.32.0.
For requests<2.32.0, avoid setting verify=False for the first request to a host while using a Requests Session.
For requests<2.32.0, call close() on Session objects to clear existing connections if verify=False is used.
Related Links
psf/requests#6655
Recommendation
Upgrade requests from 2.31.0 to 2.32.0 to fix the vulnerability.
Reproduction steps
NA
Expected vs. actual results
NA
Minimal code example
No response
Error messages
No response
Compiler and operating system
Not related to compiler
Library version
2.31.0
Validation
develop
branch is used.The text was updated successfully, but these errors were encountered: