Out-of-bounds Read Affecting wolfssl/wolfssl package, versions [,4.2.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (46th 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 Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-WOLFSSLWOLFSSL-2369444
  • published26 Jan 2022
  • disclosed26 Aug 2019
  • creditUnknown

Introduced: 26 Aug 2019

CVE-2019-15651  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade wolfssl/wolfssl to version 4.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read wolfSSL 4.1.0 has a one-byte heap-based buffer over-read in DecodeCertExtensions in wolfcrypt/src/asn.c because reading the ASN_BOOLEAN byte is mishandled for a crafted DER certificate in GetLength_ex.

References

CVSS Base Scores

version 3.1