Improper Certificate Validation Affecting cryptography package, versions [,41.0.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.13% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-CRYPTOGRAPHY-5777683
  • published16 Jul 2023
  • disclosed14 Jul 2023
  • creditUnknown

Introduced: 14 Jul 2023

CVE-2023-38325  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade cryptography to version 41.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation in the SSH certificate decoding process. An attacker can cause the application to accept unauthorized SSH certificates generated by ssh-keygen, or cause certificates generated by SSHCertificateBuilder to fail when read by ssh-keygen.

Note: This is only exploitable if the attacker controls the SSH certificate generation process or can introduce crafted SSH certificates into the system.

CVSS Scores

version 3.1