{"id":"GHSA-cgqv-x5cx-xvqh","summary":"Arbitrary Code Injection in pouchdb","details":"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.\n\n\n## Recommendation\n\nUpdate to version 6.0.5 or later.","aliases":["CVE-2016-10546"],"modified":"2023-11-08T03:58:11.764985Z","published":"2018-07-26T16:22:08Z","database_specific":{"cwe_ids":["CWE-94"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:31:41Z","nvd_published_at":null},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10546"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cgqv-x5cx-xvqh"},{"type":"WEB","url":"https://www.npmjs.com/advisories/143"}],"affected":[{"package":{"name":"pouchdb","ecosystem":"npm","purl":"pkg:npm/pouchdb"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.0.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-cgqv-x5cx-xvqh/GHSA-cgqv-x5cx-xvqh.json"}}],"schema_version":"1.9.0"}