When ca_certs parameter was supplied to ssl.get_server_certificate() function, the identity of the certificate is not checked.
Attack Parameters
Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed
Impact Assessment
Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
None
No disruption
CVSS Vector v4.0
Weakness Type (CWE)
References 5
https://github.com/python/cpython/commit/8dde46eaa6baf5f027a7234845b20d50b50962…
cna@python.org
https://github.com/python/cpython/issues/161503
cna@python.org
https://github.com/python/cpython/pull/161507
cna@python.org
https://mail.python.org/archives/list/security-announce@python.org/thread/SXBD6…
cna@python.org
http://www.openwall.com/lists/oss-security/2026/11/09/25
af854a3a-2127-422b-91ae-364da2661108