CVE-2019-10639

HIGH

Linux Kernel < 4.20.9 - Weak Encryption

Title source: rule
STIX 2.1

Description

The Linux kernel 4.x (starting from 4.1) and 5.x before 5.0.8 allows Information Exposure (partial kernel address disclosure), leading to a KASLR bypass. Specifically, it is possible to extract the KASLR kernel image offset using the IP ID values the kernel produces for connection-less protocols (e.g., UDP and ICMP). When such traffic is sent to multiple destination IP addresses, it is possible to obtain hash collisions (of indices to the counter array) and thereby obtain the hashing key (via enumeration). This key contains enough bits from a kernel address (of a static variable) so when the key is extracted (via enumeration), the offset of the kernel image is exposed. This attack can be carried out remotely, by the attacker forcing the target device to send UDP or ICMP (or certain other) traffic to attacker-controlled IP addresses. Forcing a server to send UDP traffic is trivial if the server is a DNS server. ICMP traffic is trivial if the server answers ICMP Echo requests (ping). For client targets, if the target visits the attacker's web page, then WebRTC or gQUIC can be used to force UDP traffic to attacker-controlled IP addresses. NOTE: this attack against KASLR became viable in 4.1 because IP ID generation was changed to have a dependency on an address associated with a network namespace.

References (16)

Core 16
Core References
Mailing List mailing-list x_refsource_bugtraq
https://seclists.org/bugtraq/2019/Aug/18
Mailing List mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2019/07/msg00022.html
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2019/dsa-4497
Mailing List mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2019/08/msg00017.html
Vendor Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/4115-1/
Vendor Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/4118-1/
Mailing List, Release Notes, Vendor Advisory x_refsource_misc
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.0.8
Third Party Advisory x_refsource_misc
https://arxiv.org/pdf/1906.10478.pdf
Vendor Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20190806-0001/
Vendor Advisory x_refsource_confirm
https://support.f5.com/csp/article/K32804955

Scores

CVSS v3 7.5
EPSS 0.0105
EPSS Percentile 77.7%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Details

CWE
CWE-326
Status published
Products (1)
linux/linux_kernel 4.1 - 4.20.9
Published Jul 05, 2019
Tracked Since Feb 18, 2026