{"id":"CVE-2016-10555","state":"PUBLISHED","title":"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","description":"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.","publishedAt":"2018-05-31T20:00:00.000Z","updatedAt":"2024-09-16T16:38:09.923Z","severity":null,"assigner":"hackerone","products":["HackerOne jwt-simple node module"],"affected":[{"vendor":"HackerOne","product":"jwt-simple node module","versions":[{"version":"<=0.3.0","status":"affected"}]}],"references":["https://nodesecurity.io/advisories/87","https://github.com/hokaccha/node-jwt-simple/pull/14","https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/","https://github.com/hokaccha/node-jwt-simple/pull/16"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T19:42:26.791Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2016/10xxx/CVE-2016-10555.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2016-10555","state":"PUBLISHED","datePublished":"2018-05-31T20:00:00.000Z","dateUpdated":"2024-09-16T16:38:09.923Z","assignerShortName":"hackerone","assignerOrgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateReserved":"2017-10-29T00:00:00.000Z"},"containers":{"cna":{"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."}],"affected":[{"vendor":"HackerOne","product":"jwt-simple node module","versions":[{"version":"<=0.3.0","status":"affected"}]}],"references":[{"url":"https://nodesecurity.io/advisories/87","tags":["x_refsource_MISC"]},{"url":"https://github.com/hokaccha/node-jwt-simple/pull/14","tags":["x_refsource_MISC"]},{"url":"https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/","tags":["x_refsource_MISC"]},{"url":"https://github.com/hokaccha/node-jwt-simple/pull/16","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"Improper Input Validation (CWE-20)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"hackerone","dateUpdated":"2018-05-31T19:57:01.000Z","orgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1"},"datePublic":"2018-04-26T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"support@hackerone.com","DATE_PUBLIC":"2018-04-26T00:00:00","ID":"CVE-2016-10555","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"jwt-simple node module","version":{"version_data":[{"version_value":"<=0.3.0"}]}}]},"vendor_name":"HackerOne"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Improper Input Validation (CWE-20)"}]}]},"references":{"reference_data":[{"name":"https://nodesecurity.io/advisories/87","refsource":"MISC","url":"https://nodesecurity.io/advisories/87"},{"name":"https://github.com/hokaccha/node-jwt-simple/pull/14","refsource":"MISC","url":"https://github.com/hokaccha/node-jwt-simple/pull/14"},{"name":"https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/","refsource":"MISC","url":"https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/"},{"name":"https://github.com/hokaccha/node-jwt-simple/pull/16","refsource":"MISC","url":"https://github.com/hokaccha/node-jwt-simple/pull/16"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://nodesecurity.io/advisories/87","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/hokaccha/node-jwt-simple/pull/14","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/hokaccha/node-jwt-simple/pull/16","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T03:21:52.250Z"}}]}}}