CVE-2019-17362

In LibTomCrypt through 1.18.2, the der_decode_utf8_string function (in der_decode_utf8_string.c) does not properly detect certain invalid UTF-8 sequences

published October 9, 2019

CVSS
—
EPSS
3%
Percentile
87.7
In the wild
Unconfirmed
What it is

⚠️ A crafty malformed string could trigger a crash! The der_decode_utf8_string function in LibTomCrypt allows sneaky invalid UTF-8 sequences that lead to denial of service. 🚨 Think of it like a restaurant that serves a dish without checking ingredients. If a customer receives a bizarre mix, it can cause chaos in the kitchen, leaving diners unsatisfied and the restaurant in disarray. If exploited, an attacker could cause the service to crash or even read sensitive information from other parts of memory. This could lead to an unstable application environment, impacting user experience and system reliability.

Put simply

Think of it like a restaurant that serves a dish without checking ingredients. If a customer receives a bizarre mix, it can cause chaos in the kitchen, leaving diners unsatisfied and the restaurant in disarray. This vulnerability stems from the der_decode_utf8_string function not correctly identifying certain invalid UTF-8 sequences, which can trigger out-of-bounds reads and crashes when processing DER-encoded data.

What to do

If exploited, an attacker could cause the service to crash or even read sensitive information from other parts of memory. This could lead to an unstable application environment, impacting user experience and system reliability. To remediate this, update LibTomCrypt to version 1.18.3 or later as soon as possible. Additionally, review your application for proper input validation to handle potentially malformed data. Regularly audit dependencies to avoid similar issues in the future. You've got this! By taking these steps, you can help keep your systems safe and sound. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.03108 · 87.7th percentile
Published
2019-10-09T00:00Z
EPSS history
Timeline
  • 09 OCT 00:00Z
    In LibTomCrypt through 1.18.2, the der_decode_utf8_string function (in der_decode_utf8_string.c) does not properly detect certain invalid UTF-8 sequences
    cvelistv5