CVE Vulnerabilities

CVE-2020-7469

Use After Free

Published: Jun 04, 2021 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu

In FreeBSD 12.2-STABLE before r367402, 11.4-STABLE before r368202, 12.2-RELEASE before p1, 12.1-RELEASE before p11 and 11.4-RELEASE before p5 the handler for a routing option caches a pointer into the packet buffer holding the ICMPv6 message. However, when processing subsequent options the packet buffer may be freed, rendering the cached pointer invalid. The network stack may later dereference the pointer, potentially triggering a use-after-free.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Freebsd Freebsd 11.4 (including) 11.4 (including)
Freebsd Freebsd 11.4-beta1 (including) 11.4-beta1 (including)
Freebsd Freebsd 11.4-p1 (including) 11.4-p1 (including)
Freebsd Freebsd 11.4-p2 (including) 11.4-p2 (including)
Freebsd Freebsd 11.4-p3 (including) 11.4-p3 (including)
Freebsd Freebsd 11.4-p4 (including) 11.4-p4 (including)
Freebsd Freebsd 11.4-rc1 (including) 11.4-rc1 (including)
Freebsd Freebsd 11.4-rc2 (including) 11.4-rc2 (including)
Freebsd Freebsd 12.1 (including) 12.1 (including)
Freebsd Freebsd 12.1-p10 (including) 12.1-p10 (including)
Freebsd Freebsd 12.1-p2 (including) 12.1-p2 (including)
Freebsd Freebsd 12.1-p3 (including) 12.1-p3 (including)
Freebsd Freebsd 12.1-p4 (including) 12.1-p4 (including)
Freebsd Freebsd 12.1-p5 (including) 12.1-p5 (including)
Freebsd Freebsd 12.1-p6 (including) 12.1-p6 (including)
Freebsd Freebsd 12.1-p7 (including) 12.1-p7 (including)
Freebsd Freebsd 12.1-p8 (including) 12.1-p8 (including)
Freebsd Freebsd 12.1-p9 (including) 12.1-p9 (including)
Freebsd Freebsd 12.2 (including) 12.2 (including)

Potential Mitigations

References