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


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.14% (52nd 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-WOLFSSLWOLFSSL-2369436
  • published26 Jan 2022
  • disclosed24 Sept 2019
  • creditUnknown

Introduced: 24 Sep 2019

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

How to fix?

Upgrade wolfssl/wolfssl to version 4.3.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. In wolfSSL through 4.1.0, there is a missing sanity check of memory accesses in parsing ASN.1 certificate data while handshaking. Specifically, there is a one-byte heap-based buffer over-read in CheckCertSignature_ex in wolfcrypt/src/asn.c.

References

CVSS Scores

version 3.1