CVE-2020-10757: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-5r3p-jhq4-64gg
CVSS 7.8
CWE-119
Published
Advisory Summary

CVE-2020-10757 is a MODERATE (CVSS 7.8) security vulnerability vulnerability (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.. Remediation is available in the latest vendor maintenance releases.

CVE-2020-10757 at a Glance

CVE Identifier CVE-2020-10757
GHSA Identifier GHSA-5r3p-jhq4-64gg
Severity MODERATE
CVSS v3.1 Base Score 7.8
CWE Classification CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
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-2020-10757

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-2020-10757, 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-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, where the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. 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

A flaw was found in the Linux Kernel in versions after 4.5-rc1 in the way mremap handled DAX Huge Pages. This flaw allows a local attacker with access to a DAX enabled storage to escalate their privileges on the system.

References

NVD — CVE-2020-10757 NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-10757
Software Security Information SECURITY
https://www.openwall.com/lists/oss-security/2020/06/04/4
Software Security Information SECURITY
https://www.debian.org/security/2020/dsa-4699
Software Security Information SECURITY
https://www.debian.org/security/2020/dsa-4698
usn.ubuntu.com/4483-1 WEB
https://usn.ubuntu.com/4483-1
usn.ubuntu.com/4440-1 WEB
https://usn.ubuntu.com/4440-1
usn.ubuntu.com/4439-1 WEB
https://usn.ubuntu.com/4439-1
usn.ubuntu.com/4426-1 WEB
https://usn.ubuntu.com/4426-1
Software Security Information SECURITY
https://security.netapp.com/advisory/ntap-20200702-0004
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IEM47BXZJLODRH5YNNZSAQ2NVM63MYMC
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IEM47BXZJLODRH5YNNZSAQ2NVM63MYMC
lists.debian.org/debian-lts-announce... WEB
https://lists.debian.org/debian-lts-announce/2020/06/msg00012.html
git.kernel.org/pub/scm/linux/kerne... WEB
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5bfea2d9b17f1034a68147a8b03b9789af5700f9
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=1842525
Software Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2020-10757
access.redhat.com/errata/rhsa-2020:35... WEB
https://access.redhat.com/errata/RHSA-2020:3598
access.redhat.com/errata/rhsa-2020:32... WEB
https://access.redhat.com/errata/RHSA-2020:3226
access.redhat.com/errata/rhsa-2020:32... WEB
https://access.redhat.com/errata/RHSA-2020:3222
access.redhat.com/errata/rhsa-2020:32... WEB
https://access.redhat.com/errata/RHSA-2020:3221
access.redhat.com/errata/rhsa-2020:32... WEB
https://access.redhat.com/errata/RHSA-2020:3220
access.redhat.com/errata/rhsa-2020:30... WEB
https://access.redhat.com/errata/RHSA-2020:3041
access.redhat.com/errata/rhsa-2020:30... WEB
https://access.redhat.com/errata/RHSA-2020:3016
access.redhat.com/errata/rhsa-2020:30... WEB
https://access.redhat.com/errata/RHSA-2020:3010
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00022.html

Frequently Asked Questions

What is CVE-2020-10757?
CVE-2020-10757 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2020-10757?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What is the CVSS score of CVE-2020-10757?
CVE-2020-10757 has a CVSS v3.1 base score of 7.8 (MODERATE) 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-2020-10757?
CVE-2020-10757 is classified under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer (The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.).
How can I check Maven dependencies for CVE-2020-10757?
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-5r3p-jhq4-64gg",
  "modified" : "2022-05-24T17:19:35Z",
  "published" : "2022-05-24T17:19:35Z",
  "aliases" : [ "CVE-2020-10757" ],
  "details" : "A flaw was found in the Linux Kernel in versions after 4.5-rc1 in the way mremap handled DAX Huge Pages. This flaw allows a local attacker with access to a DAX enabled storage to escalate their privileges on the system.",
  "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-2020-10757"
  }, {
    "type" : "WEB",
    "url" : "https://www.openwall.com/lists/oss-security/2020/06/04/4"
  }, {
    "type" : "WEB",
    "url" : "https://www.debian.org/security/2020/dsa-4699"
  }, {
    "type" : "WEB",
    "url" : "https://www.debian.org/security/2020/dsa-4698"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/4483-1"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/4440-1"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/4439-1"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/4426-1"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20200702-0004"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IEM47BXZJLODRH5YNNZSAQ2NVM63MYMC"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IEM47BXZJLODRH5YNNZSAQ2NVM63MYMC"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2020/06/msg00012.html"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5bfea2d9b17f1034a68147a8b03b9789af5700f9"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1842525"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2020-10757"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2020:3598"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2020:3226"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2020:3222"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2020:3221"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2020:3220"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2020:3041"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2020:3016"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2020:3010"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00022.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-119" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2020-06-09T13:15:00Z"
  }
}