Improper Certificate Validation Affecting botan package, versions [,2.19.5)[3.0.0,3.5.0)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.04% (12th 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-UNMANAGED-BOTAN-7430919
  • published9 Jul 2024
  • disclosed8 Jul 2024
  • creditUnknown

Introduced: 8 Jul 2024

CVE-2024-39312  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade botan to version 2.19.5, 3.5.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation due to the parsing of name constraint extensions in X.509 certificates. An attacker can bypass security restrictions by presenting a certificate that is incorrectly validated against only permitted subtrees while ignoring excluded subtrees.

References

CVSS Scores

version 4.0
version 3.1