CVE-2020-8625: Software Security Vulnerability Vulnerability
HIGHCVE-2020-8625 is a HIGH (CVSS 8.1) security vulnerability vulnerability (CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.. Remediation is available in the latest vendor maintenance releases.
CVE-2020-8625 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2020-8625
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.
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-8625, 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-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow'), where the product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer. 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
References
Frequently Asked Questions
What is CVE-2020-8625?
Which Software versions are affected?
What version fixes CVE-2020-8625?
What is the CVSS score of CVE-2020-8625?
What CWE is associated with CVE-2020-8625?
How can I check Maven dependencies for CVE-2020-8625?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mxh3-93ph-p9r2",
"modified" : "2022-05-24T17:42:36Z",
"published" : "2022-05-24T17:42:36Z",
"aliases" : [ "CVE-2020-8625" ],
"details" : "BIND servers are vulnerable if they are running an affected version and are configured to use GSS-TSIG features. In a configuration which uses BIND's default settings the vulnerable code path is not exposed, but a server can be rendered vulnerable by explicitly setting valid values for the tkey-gssapi-keytab or tkey-gssapi-credentialconfiguration options. Although the default configuration is not vulnerable, GSS-TSIG is frequently used in networks where BIND is integrated with Samba, as well as in mixed-server environments that combine BIND servers with Active Directory domain controllers. The most likely outcome of a successful exploitation of the vulnerability is a crash of the named process. However, remote code execution, while unproven, is theoretically possible. Affects: BIND 9.5.0 -> 9.11.27, 9.12.0 -> 9.16.11, and versions BIND 9.11.3-S1 -> 9.11.27-S1 and 9.16.8-S1 -> 9.16.11-S1 of BIND Supported Preview Edition. Also release versions 9.17.0 -> 9.17.1 of the BIND 9.17 development branch",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-8625"
}, {
"type" : "WEB",
"url" : "https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf"
}, {
"type" : "WEB",
"url" : "https://kb.isc.org/v1/docs/cve-2020-8625"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2021/02/msg00029.html"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EBTPWRQWRQEJNWY4NHO4WLS4KLJ3ERHZ"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KYXAF7G45RXDVNUTWWCI2CVTHRZ67LST"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QWCMBOSZOJIIET7BWTRYS3HLX5TSDKHX"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20210319-0001"
}, {
"type" : "WEB",
"url" : "https://www.debian.org/security/2021/dsa-4857"
}, {
"type" : "WEB",
"url" : "https://www.zerodayinitiative.com/advisories/ZDI-21-195"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2021/02/19/1"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2021/02/20/2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-120" ],
"severity" : "HIGH",
"github_reviewed" : false,
"github_reviewed_at" : null,
"nvd_published_at" : "2021-02-17T23:15:00Z"
}
}