CVE-2020-11072: Slp validate False-negative Validation Results Vulnerability
CRITICALCVE-2020-11072 is a CRITICAL (CVSS 8.6) false-negative validation results vulnerability (CWE-697: Incorrect Comparison) affecting Slp validate libraries in the npm ecosystem. The issue involves false-negative validation results in mint transactions with invalid baton. Remediation is available by upgrading affected packages to version 1.2.1.
CVE-2020-11072 at a Glance
Security Impact
CVSS: 8.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N).
How to Fix CVE-2020-11072
To remediate this vulnerability, upgrade all affected Slp validate dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install slp-validate@1.2.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls slp-validate
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2020-11072, inspect your project dependencies using npm:
npm ls slp-validate
Analyze the terminal output to locate any version of Slp validate in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.1), your application is affected.
Note: The npm ls slp-validate command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-697: Incorrect Comparison, where the product compares two entities in a security-relevant context, but the comparison is incorrect. In Slp validate, 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
CVE-2020-11072 Affected Slp validate Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
slp-validate
|
npm |
< 1.2.1
|
1.2.1
|
References
Frequently Asked Questions
What is CVE-2020-11072?
Which Slp validate versions are affected?
What version fixes CVE-2020-11072?
Is slp-validate affected?
What is the CVSS score of CVE-2020-11072?
What CWE is associated with CVE-2020-11072?
How can I check npm dependencies for CVE-2020-11072?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4w97-57v2-3w44",
"modified" : "2021-01-08T20:17:36Z",
"published" : "2020-05-12T00:45:24Z",
"aliases" : [ "CVE-2020-11072" ],
"summary" : "False-negative validation results in MINT transactions with invalid baton",
"details" : "### Impact\nUsers could experience false-negative validation outcomes for [MINT](https://github.com/simpleledger/slp-specifications/blob/master/slp-token-type-1.md#mint---extended-minting-transaction) transaction operations. A poorly implemented SLP wallet could allow spending of the affected tokens which would result in the destruction of a user's minting baton.\n\n### Patches\nnpm package [slp-validate](https://www.npmjs.com/package/slp-validate) has been patched and published as version 1.2.1.\n\n### Workarounds\nUpgrade to slp-validate 1.2.1.\n\n### References\n* slp-validate [commit](https://github.com/simpleledger/slp-validate/commit/cde95c0c6470dceb4f023cd462f904135ebd73e7)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [slp-validate](https://github.com/simpleledger/slp-validate/issues)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "slp-validate"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.2.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/simpleledger/slp-validate.js/security/advisories/GHSA-4w97-57v2-3w44"
}, {
"type" : "WEB",
"url" : "https://github.com/simpleledger/slp-validate/security/advisories/GHSA-4w97-57v2-3w44"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-11072"
}, {
"type" : "WEB",
"url" : "https://github.com/simpleledger/slp-validate/commit/cde95c0c6470dceb4f023cd462f904135ebd73e7"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-697" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2020-05-12T00:45:14Z",
"nvd_published_at" : null
}
}