Vulnerability · Published Nov 16, 2020 · Assigned by snyk
CVE-2020-7765Prototype Pollution
Medium 5.6
In plain English
A medium-severity security flaw in @firebase/util. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.6Medium
Exploit odds (30 days)0.6%top 52.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
This affects the package @firebase/util before 0.3.4. This vulnerability relates to the deepExtend function within the DeepCopy.ts file. Depending on if user input is provided, an attacker can overwrite and pollute the object prototype of a program.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @firebase/util | 0.3.4 | GHSA-fpm5-vv97-jfwg |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | @firebase/util | unspecified – before 0.3.4 |
References
- https://snyk.io/vuln/SNYK-JS-FIREBASEUTIL-1038324 x_refsource_MISC
- https://github.com/firebase/firebase-js-sdk/commit/9cf727fcc3d049551b16ae0698ac33dc2fe45ada x_refsource_MISC
- https://github.com/firebase/firebase-js-sdk/pull/4001 x_refsource_MISC