cesanta.mongoose is vulnerable to Denial of Service (DoS)
65
Medium Risk
find_opt in the built-in TCP/IP PPP option parser (src/l2_ppp.c) walks peer-supplied IPCP/IPV6CP options using each option's self-declared length byte, but never rejects a length below the 2-byte minimum. An option whose length byte is 0 advances the cursor by zero, so the loop never exits and the single-threaded event loop hangs. A network-adjacent PPP or PPPoE peer can permanently deny service with one crafted configuration packet. The fix rejects option lengths below 2 before advancing the parser.
You are affected if you are using a version that falls within the vulnerable range and build Mongoose with the built-in TCP/IP stack (MG_ENABLE_TCPIP) using a PPP or PPPoE Layer-2 driver. Application-only users over host sockets are not affected.
cesanta.mongoose is vulnerable to Denial of Service (DoS) in versions 7.21 - 7.21.
Upgrade the mongoose library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant