{"answers":{"affected":"2 open source packages ship an affected version, including ServiceStack. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-28042 in the wild and no public exploit code.","fix":"Upgrade ServiceStack to 5.9.2 or later.","what":"CVE-2020-28042 is a medium-severity authentication bypass vulnerability in n/a, published on 1 Nov 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-28042 and fix it if it is affected.\n\nWhat it is: CVE-2020-28042 is a medium-severity authentication bypass vulnerability in n/a, published on 1 Nov 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-28042 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ServiceStack (NuGet): affected all versions; fixed in 5.9.2\n- ServiceStack (NuGet): affected all versions; fixed in 5.9.2\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-2020-28042/ (Markdown: https://insights.sbomify.com/CVE-2020-28042/index.md)","id":"CVE-2020-28042","markdown":"https://insights.sbomify.com/CVE-2020-28042/index.md","name":"CVE-2020-28042","record":{"aliases":["GHSA-v5rv-hpxg-8x49"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"ServiceStack JWT library","requires_auth":"none","summary":"Attackers can bypass JWT signature verification in ServiceStack, potentially gaining unauthorized access to protected resources.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"servicestack","vendor":"servicestack"}],"cvss":{"score":5.3,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"description":"ServiceStack before 5.9.2 mishandles JWT signature verification unless an application has a custom ValidateToken function that establishes a valid minimum length for a signature.","ecosystems":["NuGet"],"exploits":{"exploitdb":0,"first_seen":"2025-01-27","github_poc":1,"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)"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Signature validation bypass in ServiceStack","id":"CVE-2020-28042","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"auth_bypass","year":"2020"},"n_packages":2,"n_references":4,"next":{"headline":"Server-side request forgery in n/a","id":"CVE-2020-28043"},"packages":[{"ecosystem":"NuGet","fixed":["5.9.2"],"introduced":["0"],"last_affected":[],"package":"ServiceStack","purl":null,"source":"GHSA-v5rv-hpxg-8x49"},{"ecosystem":"NuGet","fixed":["5.9.2"],"introduced":["0"],"last_affected":[],"package":"ServiceStack","purl":"pkg:nuget/ServiceStack","source":"GHSA-v5rv-hpxg-8x49"}],"prev":{"headline":"Server-side request forgery in n/a","id":"CVE-2020-28041"},"products":["n/a"],"published":"2020-11-01","related":[{"cvss_score":8.1,"headline":"ServiceStack FindType Directory Traversal Remote Code Execution Vulnerability","id":"CVE-2025-6445","kev_date_added":null,"published":"2025-06-25"},{"cvss_score":6.1,"headline":"Cross site scripting attack in ServiceStack Framework","id":"CVE-2019-1010199","kev_date_added":null,"published":"2019-07-23"},{"cvss_score":5.9,"headline":"ServiceStack GetErrorResponse Improper Input Validation NTLM Relay Vulnerability","id":"CVE-2025-6444","kev_date_added":null,"published":"2025-06-25"}],"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-08-04","vendors":["n/a"]},"summary":"Attackers can bypass JWT signature verification in ServiceStack, potentially gaining unauthorized access to protected resources.","url":"https://insights.sbomify.com/CVE-2020-28042/"}