CVE-2024-35195
ADVISORY - githubSummary
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 settingverify=False
for the first request to a host while using a Requests Session. - For
requests<2.32.0
, callclose()
onSession
objects to clear existing connections ifverify=False
is used.
Related Links
Common Weakness Enumeration (CWE)
Always-Incorrect Control Flow Implementation
Always-Incorrect Control Flow Implementation
Always-Incorrect Control Flow Implementation
GitHub
0.3
CVSS SCORE
5.6mediumPackage | Type | OS Name | OS Version | Affected Ranges | Fix Versions |
---|---|---|---|---|---|
requests | pypi | - | - | <2.32.0 | 2.32.0 |
CVSS:3 Severity and metrics
The CVSS metrics represent different qualitative aspects of a vulnerability that impact the overall score, as defined by the CVSS Specification.
The vulnerable component is not bound to the network stack and the attacker's path is via read/write/execute capabilities. Either: The attacker exploits the vulnerability by accessing the target system locally (e.g., keyboard, console), or remotely (e.g., SSH); or the attacker relies on User Interaction by another person to perform actions required to exploit the vulnerability (e.g., using social engineering techniques to trick a legitimate user into opening a malicious document).
A successful attack depends on conditions beyond the attacker's control, requiring investing a measurable amount of effort in research, preparation, or execution against the vulnerable component before a successful attack.
The attacker requires privileges that provide significant (e.g., administrative) control over the vulnerable component allowing access to component-wide settings and files.
Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited. For example, a successful exploit may only be possible during the installation of an application by a system administrator.
An exploited vulnerability can only affect resources managed by the same security authority. In this case, the vulnerable component and the impacted component are either the same, or both are managed by the same security authority.
There is a total loss of confidentiality, resulting in all resources within the impacted component being divulged to the attacker. Alternatively, access to only some restricted information is obtained, but the disclosed information presents a direct, serious impact. For example, an attacker steals the administrator's password, or private encryption keys of a web server.
There is a total loss of integrity, or a complete loss of protection. For example, the attacker is able to modify any or all files protected by the impacted component. Alternatively, only some files can be modified, but malicious modification would present a direct, serious consequence to the impacted component.
There is no impact to availability within the impacted component.
NIST
0.3
CVSS SCORE
5.6mediumAlpine
-
Debian
-
Ubuntu
-
CVSS SCORE
N/AmediumAlma
-
CVSS SCORE
N/AmediumAlma
-
CVSS SCORE
N/AmediumAmazon
-
CVSS SCORE
N/AmediumAmazon
-
CVSS SCORE
N/AmediumAmazon
-
CVSS SCORE
N/AmediumAmazon
-
CVSS SCORE
N/AmediumAmazon
-
CVSS SCORE
N/AmediumAmazon
-
CVSS SCORE
N/AmediumAmazon
-
CVSS SCORE
N/AmediumAmazon
-
CVSS SCORE
N/AmediumAmazon
-
CVSS SCORE
N/AmediumRed Hat
0.3
CVSS SCORE
5.6mediumRocky
-
CVSS SCORE
N/AlowOracle
-
CVSS SCORE
N/AmediumOracle
-
CVSS SCORE
N/AmediumChainguard
CGA-26vv-f9rg-3gr8
-
Chainguard
CGA-2qh2-jp77-wp2x
-
Chainguard
CGA-32qh-xq5g-9xq4
-
Chainguard
CGA-3723-3r7v-38p2
-
Chainguard
CGA-432x-3phh-56c7
-
Chainguard
CGA-4354-v6cq-3f5f
-
Chainguard
CGA-4xx2-v3vc-q5x8
-
Chainguard
CGA-5g3x-7m89-wx8r
-
Chainguard
CGA-6rf6-59qq-87jc
-
Chainguard
CGA-6v4c-f9mw-8ghc
-
Chainguard
CGA-74xp-46xv-7q3v
-
Chainguard
CGA-77h5-pgh2-r2fg
-
Chainguard
CGA-8296-pxcv-4w67
-
Chainguard
CGA-8mx8-8v5r-99xg
-
Chainguard
CGA-fff7-969w-wcq5
-
Chainguard
CGA-gffw-5x3v-mjw8
-
Chainguard
CGA-hf9v-fwg4-2jvw
-
Chainguard
CGA-hhrg-5mf5-r2p5
-
Chainguard
CGA-jcgc-jpw2-xpqq
-
Chainguard
CGA-p79x-5pxg-f77m
-
Chainguard
CGA-phrh-j36c-pqjq
-
Chainguard
CGA-rrq3-6489-25cv
-
Chainguard
CGA-v263-vf6g-w8hh
-
Chainguard
CGA-v542-whj6-7mj4
-
Chainguard
CGA-vq3j-qcvx-h7px
-
Chainguard
CGA-whqq-jwxh-vf92
-
Chainguard
CGA-x395-8f45-7j43
-