UnratednpmAmendedPublished
Arbitrary Code Injection in pouchdb
CVE-2016-10546 · GHSA-cgqv-x5cx-xvqh
- Affected
- npm pouchdb < 6.0.5
- Fixed in
- 6.0.5· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 6.0.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.