A flaw was found in libslirp in icmp_forward_error(). When building an ICMP error response, the length of the quoted original IPv4 packet was taken from the IP header without clamping it to the actual buffer length. A truncated or malformed packet could cause an out-of-bounds heap read, leaking host memory into the ICMP error packet returned to a guest or container.
- CVSS:
- 7.4 (nvd)
- Vector:
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- EPSS:
- 0.23% (percentile 13.8)
- CWE:
- CWE-125
- Published:
- Modified:
- First seen:
- NVD status:
- Awaiting Analysis