{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"CRITICAL\"}"}}}], "affected": [{"vendor": "npm", "product": "jwt-simple", "versions": [{"status": "affected", "version": "0", "lessThan": "0.3.1", "versionType": "semver"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries"}, {"url": "https://github.com/hokaccha/node-jwt-simple/commit/957957cfa44474049b4603b293569588ee9ffd97"}, {"url": "https://github.com/hokaccha/node-jwt-simple/pull/14"}, {"url": "https://github.com/hokaccha/node-jwt-simple/pull/16"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10555"}, {"url": "https://www.npmjs.com/advisories/87"}], "descriptions": [{"lang": "en", "value": "Affected versions of the `jwt-simple` package allow users to select what algorithm the server will use to verify a provided JWT. A malicious actor can use this behaviour to arbitrarily modify the contents of a JWT while still passing verification. For the common use case of the JWT, the end result is a complete authentication bypass with minimal effort.\n\n\n\n## Recommendation\n\nUpdate to version 0.3.1 or later.\n\nAdditionally, be sure to always specify an algorithm in calls to `.decode()`."}, {"lang": "en", "value": "Forgeable Public/Private Tokens in jwt-simple"}], "providerMetadata": {"orgId": "386269d4-a6c6-4eaa-bf8e-bc0b0d010558", "shortName": "npm", "dateUpdated": "2018-11-06T23:12:07Z", "x_subShortName": "npm"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 4, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:S/C:N/I:P/A:N", "authentication": "SINGLE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "NONE", "confidentialityImpact": "NONE"}}, {"format": "CVSS", "cvssV3_0": {"scope": "UNCHANGED", "version": "3.0", "baseScore": 6.5, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "LOW", "confidentialityImpact": "NONE"}}], "affected": [{"cpes": ["cpe:2.3:a:jwt-simple_project:jwt-simple:*:*:*:*:*:node.js:*:*"], "vendor": "jwt-simple_project", "product": "jwt-simple", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "0.3.0"}], "platforms": ["node.js"], "defaultStatus": "unaffected"}], "references": [{"url": "https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/", "tags": ["broken-link", "third-party-advisory"]}, {"url": "https://github.com/hokaccha/node-jwt-simple/pull/14", "tags": ["issue-tracking", "third-party-advisory"]}, {"url": "https://github.com/hokaccha/node-jwt-simple/pull/16", "tags": ["issue-tracking", "third-party-advisory"]}, {"url": "https://nodesecurity.io/advisories/87", "tags": ["third-party-advisory"]}], "descriptions": [{"lang": "en", "value": "Since \"algorithm\" isn't enforced in jwt.decode()in jwt-simple 0.3.0 and earlier, a malicious user could choose what algorithm is sent sent to the server. If the server is expecting RSA but is sent HMAC-SHA with RSA's public key, the server will think the public key is actually an HMAC private key. This could be used to forge any data an attacker wants."}, {"lang": "es", "value": "Como \"algorithm\" no se aplica en jwt.decode() en jwt-simple en versiones 0.3.0 y anteriores, un usuario malicioso podría elegir qué algoritmo se envía al servidor. Si el servidor espera RSA pero recibe HMAC-SHA con la clave pública RSA, el servidor pensará que la clave pública es, en realidad, una clave privada HMAC. Esto podría emplearse para falsificar cualquier dato que quiera un atacante."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-20", "description": "CWE-20"}, {"lang": "en", "cweId": "CWE-310", "description": "CWE-310"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2018-05-31T20:29:02Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2016-10555", "state": "PUBLISHED", "dateUpdated": "2024-11-21T02:44:16Z", "assignerOrgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1", "datePublished": "2018-05-31T20:29:02Z", "assignerShortName": "hackerone"}, "dataVersion": "5.0"}