Description
Cesanta Mongoose 7.21 before 7.24 contains an out-of-bounds read vulnerability in rx_ip6() checksum validation that allows remote unauthenticated attackers to read past received packets by sending IPv6 extension headers. Attackers can send a single IPv6 TCP or ICMPv6 packet with extension headers, causing tcp6csum_ok() and icmp6csum_ok() to use the full payload length and read adjacent receive-buffer memory.
Affected products and versions
cesanta mongoose7.21 – < 7.24Fixed in: 7.24
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- None
- Integrity
- None
- Availability
- Low impact
Weakness type (CWE)
- CWE-130 Improper Handling of Length Parameter Inconsistency
References
- github.com/cesanta/mongoose/security/advisories/GHSA-99jq-33q7-4w7q vendor advisory
- github.com/cesanta/mongoose/commit/cd05b162a84eb7b631e5c038616045e74bb906d1 patch
- github.com/cesanta/mongoose/releases/tag/7.24
- github.com/cesanta/mongoose/blob/7.23/src/net_builtin.c#L318-L325
- www.vulncheck.com/advisories/cesanta-mongoose-7.21-before-7.24-out-of-bounds-read-via-ipv6
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.