← All advisories
Mongoose built-in TLS ECDSA signature parsing flaw allows remote DoS
Mongoose's built-in TLS stack does not validate DER length fields when parsing the ECDSA signature of a peer X.509 certificate in mg_tls_verify_cert_signature(). A remote, unauthenticated peer can send a crafted self-signed certificate with an oversized INTEGER length, causing an out-of-bounds read and a SIGSEGV crash during the handshake. Servers built with MG_TLS_BUILTIN that parse peer certificates (e.g. with mg_tls_opts.ca set) are affected; defenders should update Mongoose once a fix is available or avoid requesting client certificates with the built-in stack.
Why Medium
Remote unauthenticated DoS only, requiring a specific build and configuration, with no known exploitation.
Categories
- Network Infrastructure
- Emerging Technologies
Affected products
- Mongoose (built-in TLS stack, MG_TLS_BUILTIN)
Sources
- Tenable security research: Mongoose - Use of Out-of-range Pointer Offset in X.509 Certificate ECDSA Signature Parsing
Timeline
- Picked up by Early Warning