CVE-2019-10638: Weak Encryption

Published Jul 5, 2019
·
Updated

A flaw was found in the way the Linux kernel derived the IP ID field from a partial kernel space address returned by a nethashmix() function. A remote user could observe a weak IP ID generation in this field to track Linux devices.

Other sources

In the Linux kernel before 5.1.7 a device can be tracked by an attacker 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). An attack may be conducted by hosting a crafted web page that uses WebRTC or gQUIC to force UDP traffic to attacker-controlled IP addresses.

Microsoft

In the Linux kernel before 5.1.7, a device can be tracked by an attacker 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). An attack may be conducted by hosting a crafted web page that uses WebRTC or gQUIC to force UDP traffic to attacker-controlled IP addresses.

Linux Kernel could allow a remote attacker to obtain sensitive information, caused by the use of IP ID values for connection-less protocols. By persuading a victim to visit a specially crafted Web site, an attacker could exploit this vulnerability to obtain the hash collisions then enumerate the hashing key.

IBM

When IP packet fragmentation is ON, IP Identification(ID) field of the IP header is used, during packet reassembly on the destination host, to identify fragments which belong to the same packet. IP ID field is required to be unique and same across all fragments of an IP packet. IP packet fragments are identified by a tuple with following fields

(source address|destination address|protocol|IP-ID)

The Linux kernel derived this IP ID field from partial kernel space address returned by nethashmix() function, which is then used with a hash function to compute the IP ID field.

A remote user could observe this IP ID field to deduce the hash key used to derive its value. This could enable a remote user to track particular Linux devices.

Upstream fix: ------------- -> https://git.kernel.org/linus/df453700e8d81b1bdafdf684365ee2b9431fb702

Issue introduced by: -------------------- -> https://git.kernel.org/linus/b6a7719aedd7e5c0f2df7641aa47386111682df4 -> https://git.kernel.org/linus/5a352dd0a3aac03b443c94828dfd7144261c8636

Red Hat

Affected Software

9 affected componentsFixes available
redhat/kernel-rt<0:3.10.0-1127.rt56.1093.el7
0:3.10.0-1127.rt56.1093.el7
redhat/kernel<0:3.10.0-1127.el7
0:3.10.0-1127.el7
redhat/kernel-rt<0:4.18.0-147.rt24.93.el8
0:4.18.0-147.rt24.93.el8
redhat/kernel<0:4.18.0-147.el8
0:4.18.0-147.el8
IBM Data Risk Manager<=2.0.6
Linux Linux kernel<5.1.7
Microsoft azl3 hyperv-daemons 6.6.35.1-1
Microsoft azl3 hyperv-daemons 6.6.92.2-1
debian/linux
5.10.223-15.10.257-16.1.170-36.1.174-16.12.86-16.12.90-27.0.10-17.0.12-2

Event History

Jul 5, 2019
CVE Published
via MITRE·10:07 PM
Data Sourced
via MITRE·10:07 PM
Description
Jul 15, 2019
Data Sourced
via Red Hat·11:10 AM
DescriptionSeverityAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:12 PM
Description
Aug 15, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
May 23, 2026
Data Sourced
via Ubuntu·09:27 AM
RemedyDescriptionSeverityAffected Software
Jun 13, 2026
Data Sourced
via Debian·09:53 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2019-10638?

CVE-2019-10638 is categorized as a medium severity vulnerability affecting the Linux kernel.

2

How do I fix CVE-2019-10638?

To fix CVE-2019-10638, update the Linux kernel to version 5.1.7 or later, or apply the relevant patches provided by your Linux distribution.

3

What systems are affected by CVE-2019-10638?

CVE-2019-10638 affects versions of the Linux kernel prior to 5.1.7 and specific Red Hat and IBM products listed in the vulnerability details.

4

What type of vulnerability is CVE-2019-10638?

CVE-2019-10638 is a tracking vulnerability that allows remote users to observe weak IP ID generation, potentially compromising device privacy.

5

Is CVE-2019-10638 exploitable remotely?

Yes, CVE-2019-10638 can be exploited by remote users to observe and track Linux devices.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203