CVE-2019-10639

NameCVE-2019-10639
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1862-1, DLA-1885-1, DSA-4497-1
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)jessie3.16.56-1+deb8u1vulnerable
jessie (security)3.16.74-1fixed
stretch4.9.189-3fixed
stretch (security)4.9.189-3+deb9u1fixed
buster4.19.67-2fixed
buster (security)4.19.67-2+deb10u1fixed
bullseye5.2.17-1fixed
sid5.3.7-1fixed
linux-4.9 (PTS)jessie (security)4.9.189-3+deb9u1~deb8u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsource(unstable)4.19.37-1
linuxsourcejessie3.16.70-1DLA-1862-1
linuxsourcestretch4.9.168-1+deb9u5DSA-4497-1
linux-4.9sourcejessie4.9.168-1+deb9u5~deb8u1DLA-1885-1

Notes

https://arxiv.org/pdf/1906.10478.pdf

Search for package or bug name: Reporting problems