Quick answers
- Is CVE-2020-7639 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2020-7639 being exploited in the wild.
- How severe is CVE-2020-7639?
- Low severity, with a CVSS score of 3.1, published 25 May 2021.
- Which products and versions are affected?
- @eivifj/dot (npm) SEMVER:introduced=0,fixed=1.0.3.
- Is there a fix for CVE-2020-7639?
- Yes. @eivifj/dot (npm): upgrade to 1.0.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2020-7639 attacked?
- It is attacked over the network.
- Am I affected by CVE-2020-7639?
- Check whether you run @eivifj/dot (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- @eivifj/dot (npm): upgrade to 1.0.3 or later
npm install @eivifj/dot@1.0.3
Technical details
The vulnerability is a prototype pollution flaw (CWE-1321, CWE-915) in the set() function of eivindfjeldstad-dot versions below 1.0.3. The function fails to sanitize the __proto__ payload when processing object paths, allowing an attacker to inject properties into Object.prototype. Since the vulnerable function is directly callable with untrusted input (likely network-reachable via Node.js applications), an attacker can craft a malicious path string to pollute the prototype chain. The fix, committed on 2020-02-22, adds validation to prevent __proto__ key pollution. No authentication or user interaction is required to trigger the vulnerability.
Affected products
- eivindfjeldstad dot below 1.0.3
Identifiers
- CVE-2020-7639
- GHSA-wfwq-xc57-fq7v
Timeline
- 2020-04-06: disclosed
- 2020-02-22: patched: Fix committed; version 1.0.3 released
- 2021-05-25: advisory