Improper Verification of Cryptographic Signature Affecting axtls package, versions [,2.1.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.62% (49th 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-AXTLS-2380772
  • published26 Jan 2022
  • disclosed7 Nov 2018
  • creditUnknown

Introduced: 7 Nov 2018

CVE-2018-16253  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade axtls to version 2.1.4 or higher.

Overview

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature. In sig_verify() in x509.c in axTLS version 2.1.3 and before, the PKCS#1 v1.5 signature verification does not properly verify the ASN.1 metadata. Consequently, a remote attacker can forge signatures when small public exponents are being used, which could lead to impersonation through fake X.509 certificates. This is an even more permissive variant of CVE-2006-4790 and CVE-2014-1568.

References

CVSS Base Scores

version 3.1