7.5
CWE
787 119
Advisory Published
Updated

CVE-2019-18840: Buffer Overflow

First published: Sat Nov 09 2019(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
WolfSSL wolfssl>=4.1.0<=4.2.0c

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2019-18840?

    CVE-2019-18840 is a vulnerability in wolfSSL versions 4.1.0 through 4.2.0c that allows for a one-byte heap-based buffer overflow during ASN.1 certificate data parsing.

  • How severe is CVE-2019-18840?

    CVE-2019-18840 has a severity rating of 7.5, indicating a high severity.

  • Which software versions are affected by CVE-2019-18840?

    wolfSSL versions 4.1.0 through 4.2.0c are affected by CVE-2019-18840.

  • How can I fix CVE-2019-18840?

    To fix CVE-2019-18840, users are advised to update to a version of wolfSSL that is higher than 4.2.0c.

  • Where can I find more information about CVE-2019-18840?

    More information about CVE-2019-18840 can be found at the following reference link: [https://github.com/wolfSSL/wolfssl/issues/2555](https://github.com/wolfSSL/wolfssl/issues/2555)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203