cesanta.mongoose is vulnerable to Out-of-bounds Read
75
CVE Score
High
Out-of-bounds Read
The built-in TLS X.509 parser decodes a long-form DER length without checking it against the remaining buffer, so a later subtraction on an unsigned counter underflows to a huge value. The parser then advances a pointer past the buffer and keeps reading out of bounds while walking a peer certificate. A malicious TLS peer can crash the process during the handshake without authentication. The fix bounds the decoded length against the available data.
Upgrade the cesanta.mongoose library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you use the built-in TLS backend (MG_TLS_BUILTIN) and parse a peer certificate.
7.14.0 - 7.22.0
Fixed in 7.23.0cesanta.mongoose is vulnerable to Out-of-bounds Read in versions 7.14.0 - 7.22.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.