Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. pouchdb
  4. ›
  5. CVE-2016-10546

CVE-2016-10546: Improper Control of Generation of Code ('Code Injection')

July 26, 2018 (updated January 8, 2021)

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.

References

  • github.com/advisories/GHSA-cgqv-x5cx-xvqh
  • nodesecurity.io/advisories/143
  • nvd.nist.gov/vuln/detail/CVE-2016-10546
  • www.npmjs.com/advisories/143

Code Behaviors & Features

Detect and mitigate CVE-2016-10546 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.0.5

Fixed versions

  • 6.0.5

Solution

Upgrade to version 6.0.5 or above.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/pouchdb/CVE-2016-10546.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:46 +0000.