Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWNncXYteDVjeC14dnFo
Arbitrary Code Injection in pouchdb
Affected versions of pouchdb
do not properly sandbox the code execution engine which executes the map/reduce functions for temporary views and design documents. Under certain circumstances, an attacker could uses this to run arbitrary code on the server.
Recommendation
Update to version 6.0.5 or later.
Permalink: https://github.com/advisories/GHSA-cgqv-x5cx-xvqhJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWNncXYteDVjeC14dnFo
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 6 years ago
Updated: almost 2 years ago
EPSS Percentage: 0.00274
EPSS Percentile: 0.67678
Identifiers: GHSA-cgqv-x5cx-xvqh, CVE-2016-10546
References:
- https://nvd.nist.gov/vuln/detail/CVE-2016-10546
- https://github.com/advisories/GHSA-cgqv-x5cx-xvqh
- https://www.npmjs.com/advisories/143
Affected Packages
npm:pouchdb
Dependent packages: 895Dependent repositories: 7,910
Downloads: 161,593 last month
Affected Version Ranges: < 6.0.5
Fixed in: 6.0.5
All affected versions: 0.0.0, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.0.14, 0.0.15, 0.0.16, 0.0.18, 1.0.0, 1.1.0, 2.0.0, 2.0.1, 2.0.2, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.1.0, 3.2.0, 3.2.1, 3.3.0, 3.3.1, 3.4.0, 3.5.0, 3.6.0, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 5.0.0, 5.1.0, 5.2.0, 5.2.1, 5.3.0, 5.3.1, 5.3.2, 5.4.0, 5.4.1, 5.4.2, 5.4.3, 5.4.4, 5.4.5, 6.0.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4
All unaffected versions: 6.0.5, 6.0.6, 6.0.7, 6.1.0, 6.1.1, 6.1.2, 6.2.0, 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.3.4, 6.4.0, 6.4.1, 6.4.2, 6.4.3, 7.0.0, 7.1.0, 7.1.1, 7.2.0, 7.2.1, 7.2.2, 7.3.0, 7.3.1, 8.0.0, 8.0.1, 9.0.0