9.8crit
CVE-2016-10546
Arbitrary Code Injection in pouchdb
Also known as GHSA-cgqv-x5cx-xvqh
Published 8 y ago · modified 4 mo ago · JSON
CVSS
9.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
2.6%
percentile 85%
Public exploits
0
none known
Summary
An arbitrary code injection vector was found in PouchDB 6.0.4 and lesser via the map/reduce functions used in PouchDB temporary views and design documents. The code execution engine for this branch is not properly sandboxed and may be used to run arbitrary JavaScript as well as system commands.
Exploit prediction (EPSS)
2.56% probability of exploitation in the next 30 days, higher than 85% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | pouchdb | <6.0.5 | 6.0.5 |
Affected products
- HackerOne pouchdb node module
Classification
- Weakness
- CWE-94 Improper Control of Generation of Code
References
- nodesecurity.io /advisories/143 · x_refsource_MISC, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2016-10546 · advisory
- github.com /advisories/GHSA-cgqv-x5cx-xvqh · advisory
- npmjs.com /advisories/143 · web
Sources
- CVE List: CVE-2016-10546
- GitHub Advisory: GHSA-cgqv-x5cx-xvqh
- NVD: CVE-2016-10546
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.