{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"CRITICAL\"}"}}}], "affected": [{"vendor": "npm", "product": "pouchdb", "versions": [{"status": "affected", "version": "0", "lessThan": "6.0.5", "versionType": "semver"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://github.com/advisories/GHSA-cgqv-x5cx-xvqh"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10546"}, {"url": "https://www.npmjs.com/advisories/143"}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "en", "value": "Arbitrary Code Injection in pouchdb"}], "providerMetadata": {"orgId": "386269d4-a6c6-4eaa-bf8e-bc0b0d010558", "shortName": "npm", "dateUpdated": "2018-07-26T16:22:08Z", "x_subShortName": "npm"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 10, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C", "authentication": "NONE", "integrityImpact": "COMPLETE", "accessComplexity": "LOW", "availabilityImpact": "COMPLETE", "confidentialityImpact": "COMPLETE"}}, {"format": "CVSS", "cvssV3_0": {"scope": "UNCHANGED", "version": "3.0", "baseScore": 9.8, "attackVector": "NETWORK", "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH"}}], "affected": [{"cpes": ["cpe:2.3:a:pouchdb:pouchdb:*:*:*:*:*:node.js:*:*"], "vendor": "pouchdb", "product": "pouchdb", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "6.0.4"}], "platforms": ["node.js"], "defaultStatus": "unaffected"}], "references": [{"url": "https://nodesecurity.io/advisories/143", "tags": ["third-party-advisory"]}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "Se ha encontrado un vector de inyección de código arbitrario en PouchDB en versiones 6.0.4 y anteriores mediante las funciones map/reduce empleadas en las vistas temporales y en el diseño de documentos de PouchDB. El motor de ejecución de código para este branch no está debidamente pasado a sandbox y podría emplearse para ejecutar JavaScript arbitrario, además de comandos del sistema."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-94", "description": "CWE-94"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2018-05-31T20:29:01Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2016-10546", "state": "PUBLISHED", "dateUpdated": "2024-11-21T02:44:14Z", "assignerOrgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1", "datePublished": "2018-05-31T20:29:01Z", "assignerShortName": "hackerone"}, "dataVersion": "5.0"}