Description (CNA)
Mongoose is an embedded web server and network library. Prior to 7.23, ppp_handle_ipv6cp() in src/l2_ppp.c trusts the 16-bit IPv6CP len field without checking it against the received payload size. On a PPP or PPPoE link using MG_ENABLE_TCPIP and MG_ENABLE_IPV6, an unauthenticated adjacent peer can complete the required LCP exchange and send a short Configure-Request with an oversized length, causing ppp_tx_frame() to read beyond recv_queue.buf and write beyond tx.buf. The same length misuse can also expose adjacent heap bytes in a reply or hang the event loop through find_opt(). This issue is fixed in version 7.23.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| cesanta / mongoose | affected < 7.23 |
CWE
CWE-122, CWE-125
References
- https://github.com/cesanta/mongoose/security/advisories/GHSA-pc66-j6r6-49x9
- https://github.com/cesanta/mongoose/commit/751f14742dea934bec08a507ab1fecc3673d4903
- https://github.com/cesanta/mongoose/releases/tag/7.23
ADP enrichment
No English description supplied.
No references supplied.