CVE-2019-18840

CVSS V2 Medium 5 CVSS V3 High 7.5
Description
In wolfSSL 4.1.0 through 4.2.0c, there are missing sanity checks of memory accesses in parsing ASN.1 certificate data while handshaking. Specifically, there is a one-byte heap-based buffer overflow inside the DecodedCert structure in GetName in wolfcrypt/src/asn.c because the domain name location index is mishandled. Because a pointer is overwritten, there is an invalid free.
Overview
  • CVE ID
  • CVE-2019-18840
  • Assigner
  • cve@mitre.org
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2019-11-09T13:15:10
  • Last Modified Date
  • 2019-11-12T20:57:10
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:* 1 OR 4.1.0 4.2.0c
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:N/I:N/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • NONE
  • Integrity Impact
  • NONE
  • Availability Impact
  • PARTIAL
  • Base Score
  • 5
  • Severity
  • MEDIUM
  • Exploitability Score
  • 10
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • NONE
  • Availability Impact
  • HIGH
  • Base Score
  • 7.5
  • Base Severity
  • HIGH
  • Exploitability Score
  • 3.9
  • Impact Score
  • 3.6
References
Reference URL Reference Tags
https://github.com/wolfSSL/wolfssl/issues/2555 Exploit Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 16:59:35 Added to TrackCVE
2022-12-04 05:48:23 2019-11-09T13:15Z 2019-11-09T13:15:10 CVE Published Date updated
2022-12-04 05:48:23 2019-11-12T20:57:10 CVE Modified Date updated
2022-12-04 05:48:23 Analyzed Vulnerability Status updated