CVE-2019-11487: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-vrxc-79fp-6683
CVSS 7.8
CWE-416
Published
Advisory Summary

CVE-2019-11487 is a HIGH (CVSS 7.8) security vulnerability vulnerability (CWE-416: Use After Free) affecting Software libraries in the Maven ecosystem. The weakness occurs when 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.. Remediation is available in the latest vendor maintenance releases.

CVE-2019-11487 at a Glance

CVE Identifier CVE-2019-11487
GHSA Identifier GHSA-vrxc-79fp-6683
Severity HIGH
CVSS v3.1 Base Score 7.8
CWE Classification CWE-416: Use After Free
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2019-11487

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-11487, 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-416: Use After Free, where 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. 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 before 5.1-rc5 allows page->_refcount reference count overflow, with resultant use-after-free issues, if about 140 GiB of RAM exists. This is related to fs/fuse/dev.c, fs/pipe.c, fs/splice.c, include/linux/mm.h, include/linux/pipe_fs_i.h, kernel/trace/trace.c, mm/gup.c, and mm/hugetlb.c. It can occur with FUSE requests.

References

NVD — CVE-2019-11487 NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-11487
Security Fix Commit FIX COMMIT
https://github.com/torvalds/linux/commit/15fab63e1e57be9fdb5eec1bbc5916e9825e9acb
Software Security Information SECURITY
https://www.oracle.com/security-alerts/cpuApr2021.html
Security Fix Commit FIX COMMIT
https://github.com/torvalds/linux/commit/6b3a707736301c2128ca85ce85fb13f60b5e350a
Security Fix Commit FIX COMMIT
https://github.com/torvalds/linux/commit/88b1a17dfc3ed7728316478fae0f5ad508f50397
Security Fix Commit FIX COMMIT
https://github.com/torvalds/linux/commit/8fde12ca79aff9b5ba951fce1a2641901b8d8e64
Security Fix Commit FIX COMMIT
https://github.com/torvalds/linux/commit/f958d7b528b1b40c44cfda5eabe2d82760d868c3
usn.ubuntu.com/4145-1 WEB
https://usn.ubuntu.com/4145-1
usn.ubuntu.com/4118-1 WEB
https://usn.ubuntu.com/4118-1
usn.ubuntu.com/4115-1 WEB
https://usn.ubuntu.com/4115-1
usn.ubuntu.com/4069-2 WEB
https://usn.ubuntu.com/4069-2
usn.ubuntu.com/4069-1 WEB
https://usn.ubuntu.com/4069-1
support.f5.com/csp/article/k142555... WEB
https://support.f5.com/csp/article/K14255532
Software Security Information SECURITY
https://security.netapp.com/advisory/ntap-20190517-0005
lwn.net/articles/786044 WEB
https://lwn.net/Articles/786044
lists.debian.org/debian-lts-announce... WEB
https://lists.debian.org/debian-lts-announce/2019/09/msg00015.html
lists.debian.org/debian-lts-announce... WEB
https://lists.debian.org/debian-lts-announce/2019/09/msg00014.html
git.kernel.org/cgit/linux/kernel/g... WEB
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f958d7b528b1b40c44cfda5eabe2d82760d868c3
git.kernel.org/cgit/linux/kernel/g... WEB
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8fde12ca79aff9b5ba951fce1a2641901b8d8e64
git.kernel.org/cgit/linux/kernel/g... WEB
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=88b1a17dfc3ed7728316478fae0f5ad508f50397
git.kernel.org/cgit/linux/kernel/g... WEB
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6b3a707736301c2128ca85ce85fb13f60b5e350a
git.kernel.org/cgit/linux/kernel/g... WEB
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=15fab63e1e57be9fdb5eec1bbc5916e9825e9acb
bugs.chromium.org/p/project-zero/issu... WEB
https://bugs.chromium.org/p/project-zero/issues/detail?id=1752
access.redhat.com/errata/rhsa-2020:01... WEB
https://access.redhat.com/errata/RHSA-2020:0174
access.redhat.com/errata/rhsa-2019:27... WEB
https://access.redhat.com/errata/RHSA-2019:2741
access.redhat.com/errata/rhsa-2019:27... WEB
https://access.redhat.com/errata/RHSA-2019:2703
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00039.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00040.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00048.html
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2019/04/29/1
Software Security Information SECURITY
http://www.securityfocus.com/bid/108054

Frequently Asked Questions

What is CVE-2019-11487?
CVE-2019-11487 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-416: Use After Free.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2019-11487?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What is the CVSS score of CVE-2019-11487?
CVE-2019-11487 has a CVSS v3.1 base score of 7.8 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2019-11487?
CVE-2019-11487 is classified under CWE-416: Use After Free (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.).
How can I check Maven dependencies for CVE-2019-11487?
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-vrxc-79fp-6683",
  "modified" : "2023-02-24T21:30:20Z",
  "published" : "2022-05-24T16:44:31Z",
  "aliases" : [ "CVE-2019-11487" ],
  "details" : "The Linux kernel before 5.1-rc5 allows page->_refcount reference count overflow, with resultant use-after-free issues, if about 140 GiB of RAM exists. This is related to fs/fuse/dev.c, fs/pipe.c, fs/splice.c, include/linux/mm.h, include/linux/pipe_fs_i.h, kernel/trace/trace.c, mm/gup.c, and mm/hugetlb.c. It can occur with FUSE requests.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-11487"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/torvalds/linux/commit/15fab63e1e57be9fdb5eec1bbc5916e9825e9acb"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/torvalds/linux/commit/6b3a707736301c2128ca85ce85fb13f60b5e350a"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/torvalds/linux/commit/88b1a17dfc3ed7728316478fae0f5ad508f50397"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/torvalds/linux/commit/8fde12ca79aff9b5ba951fce1a2641901b8d8e64"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/torvalds/linux/commit/f958d7b528b1b40c44cfda5eabe2d82760d868c3"
  }, {
    "type" : "WEB",
    "url" : "https://www.oracle.com/security-alerts/cpuApr2021.html"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/4145-1"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/4118-1"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/4115-1"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/4069-2"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/4069-1"
  }, {
    "type" : "WEB",
    "url" : "https://support.f5.com/csp/article/K14255532"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20190517-0005"
  }, {
    "type" : "WEB",
    "url" : "https://lwn.net/Articles/786044"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2019/09/msg00015.html"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2019/09/msg00014.html"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f958d7b528b1b40c44cfda5eabe2d82760d868c3"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8fde12ca79aff9b5ba951fce1a2641901b8d8e64"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=88b1a17dfc3ed7728316478fae0f5ad508f50397"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6b3a707736301c2128ca85ce85fb13f60b5e350a"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=15fab63e1e57be9fdb5eec1bbc5916e9825e9acb"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.chromium.org/p/project-zero/issues/detail?id=1752"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2020:0174"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2741"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2703"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00039.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00040.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00048.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2019/04/29/1"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/108054"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-416" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2019-04-23T22:29:00Z"
  }
}