CVE-2019-10639: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-r86q-xwfj-whpp
CWE-326
Published
Advisory Summary

CVE-2019-10639 is a HIGH security vulnerability vulnerability (CWE-326: Inadequate Encryption Strength) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required.. Remediation is available in the latest vendor maintenance releases.

CVE-2019-10639 at a Glance

CVE Identifier CVE-2019-10639
GHSA Identifier GHSA-r86q-xwfj-whpp
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-326: Inadequate Encryption Strength
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2019-10639

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2019-10639, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-326: Inadequate Encryption Strength, where the product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required. In Software, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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

NVD — CVE-2019-10639 NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-10639
Security Fix Commit FIX COMMIT
https://github.com/torvalds/linux/commit/355b98553789b646ed97ad801a619ff898471b92
arxiv.org/pdf/1906.10478.pdf WEB
https://arxiv.org/pdf/1906.10478.pdf
cdn.kernel.org/pub/linux/kernel/v5... WEB
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.0.8
git.kernel.org/cgit/linux/kernel/g... WEB
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=355b98553789b646ed97ad801a619ff898471b92
lists.debian.org/debian-lts-announce... WEB
https://lists.debian.org/debian-lts-announce/2019/07/msg00022.html
lists.debian.org/debian-lts-announce... WEB
https://lists.debian.org/debian-lts-announce/2019/08/msg00017.html
seclists.org/bugtraq/2019/aug/18 WEB
https://seclists.org/bugtraq/2019/Aug/18
Software Security Information SECURITY
https://security.netapp.com/advisory/ntap-20190806-0001
support.f5.com/csp/article/k328049... WEB
https://support.f5.com/csp/article/K32804955
support.f5.com/csp/article/k328049... WEB
https://support.f5.com/csp/article/K32804955?utm_source=f5support&utm_medium=RSS
usn.ubuntu.com/4115-1 WEB
https://usn.ubuntu.com/4115-1
usn.ubuntu.com/4118-1 WEB
https://usn.ubuntu.com/4118-1
Software Security Information SECURITY
https://www.debian.org/security/2019/dsa-4497
Software Security Information SECURITY
https://www.oracle.com/security-alerts/cpuApr2021.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00014.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00025.html

Frequently Asked Questions

What is CVE-2019-10639?
CVE-2019-10639 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-326: Inadequate Encryption Strength.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2019-10639?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2019-10639?
CVE-2019-10639 is classified under CWE-326: Inadequate Encryption Strength (The product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required.).
How can I check Maven dependencies for CVE-2019-10639?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-r86q-xwfj-whpp",
  "modified" : "2022-05-24T16:49:41Z",
  "published" : "2022-05-24T16:49:41Z",
  "aliases" : [ "CVE-2019-10639" ],
  "details" : "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.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-10639"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/torvalds/linux/commit/355b98553789b646ed97ad801a619ff898471b92"
  }, {
    "type" : "WEB",
    "url" : "https://arxiv.org/pdf/1906.10478.pdf"
  }, {
    "type" : "WEB",
    "url" : "https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.0.8"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=355b98553789b646ed97ad801a619ff898471b92"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2019/07/msg00022.html"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2019/08/msg00017.html"
  }, {
    "type" : "WEB",
    "url" : "https://seclists.org/bugtraq/2019/Aug/18"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20190806-0001"
  }, {
    "type" : "WEB",
    "url" : "https://support.f5.com/csp/article/K32804955"
  }, {
    "type" : "WEB",
    "url" : "https://support.f5.com/csp/article/K32804955?utm_source=f5support&utm_medium=RSS"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/4115-1"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/4118-1"
  }, {
    "type" : "WEB",
    "url" : "https://www.debian.org/security/2019/dsa-4497"
  }, {
    "type" : "WEB",
    "url" : "https://www.oracle.com/security-alerts/cpuApr2021.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00014.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00025.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-326" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2019-07-05T23:15:00Z"
  }
}