{"answers":{"affected":"2 open source packages ship an affected version, including jwt-simple. It affects 1 product.","exploited":"There is no known exploitation of CVE-2016-10555 in the wild and no public exploit code.","fix":"Upgrade jwt-simple to 0.3.1 or later.","what":"CVE-2016-10555 is a medium-severity vulnerability in HackerOne jwt-simple node module, published on 31 May 2018. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-10555 and fix it if it is affected.\n\nWhat it is: CVE-2016-10555 is a medium-severity vulnerability in HackerOne jwt-simple node module, published on 31 May 2018. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2016-10555 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- jwt-simple (npm): affected all versions; fixed in 0.3.1\n- jwt-simple (npm): affected all versions; fixed in 0.3.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2016-10555/ (Markdown: https://insights.sbomify.com/CVE-2016-10555/index.md)","id":"CVE-2016-10555","markdown":"https://insights.sbomify.com/CVE-2016-10555/index.md","name":"CVE-2016-10555","record":{"aliases":["GHSA-vgrx-w6rg-8fqf"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"JWT Node.js library","requires_auth":"low_privilege","summary":"Attackers can forge JWT tokens by exploiting algorithm confusion in jwt-simple, bypassing authentication and modifying data.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"hackerone","cpe":[{"product":"jwt-simple","vendor":"jwt-simple_project"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-310","name":null},{"id":"CWE-20","name":"Improper Input Validation"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2021-06-14","github_poc":3,"max_poc_stars":287,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-01-27T14:23:31Z","kind":"github_poc","ref":"https://github.com/z-bool/Venom-JWT","stars":287,"title":"针对JWT渗透开发的漏洞验证/密钥爆破工具，针对CVE-2015-9235/空白密钥/未验证签名攻击/CVE-2016-10555/CVE-2018-0114/CVE-2020-28042的结果生成用于FUZZ，也可使用字典/字符枚举(包括JJWT)的方式进行爆破(JWT Crack)"},{"date":"2021-06-14T16:56:05Z","kind":"github_poc","ref":"https://github.com/CircuitSoul/poc-cve-2016-10555","stars":1,"title":"Change the algorithm RS256(asymmetric) to HS256(symmetric) - POC (CVE-2016-10555)"},{"date":"2022-01-02T15:02:59Z","kind":"github_poc","ref":"https://github.com/scent2d/PoC-CVE-2016-10555","stars":0,"title":"CVE-2016-10555 PoC code"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Forgeable Public/Private Tokens in jwt-simple","id":"CVE-2016-10555","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"security_feature_bypass","year":"2016"},"n_packages":2,"n_references":4,"next":{"headline":"SQL Injection in sequelize","id":"CVE-2016-10556"},"packages":[{"ecosystem":"npm","fixed":["0.3.1"],"introduced":["0"],"last_affected":[],"package":"jwt-simple","purl":null,"source":"GHSA-vgrx-w6rg-8fqf"},{"ecosystem":"npm","fixed":["0.3.1"],"introduced":["0"],"last_affected":[],"package":"jwt-simple","purl":"pkg:npm/jwt-simple","source":"GHSA-vgrx-w6rg-8fqf"}],"prev":{"headline":"SQL Injection in sequelize","id":"CVE-2016-10554"},"products":["jwt-simple node module"],"published":"2018-05-31","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["HackerOne"]},"summary":"Attackers can forge JWT tokens by exploiting algorithm confusion in jwt-simple, bypassing authentication and modifying data.","url":"https://insights.sbomify.com/CVE-2016-10555/"}