{"answers":{"affected":"5 open source packages ship an affected version, including github.com/dvsekhvalnov/jose2go. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-50658 in the wild and no public exploit code.","fix":"Upgrade github.com/dvsekhvalnov/jose2go to a fixed version for your release line: 1.5.1-0.20231206184617-48ba0b76bc88 or 1.6.0.","what":"CVE-2023-50658 is a high-severity denial of service vulnerability in n/a, published on 25 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-50658 and fix it if it is affected.\n\nWhat it is: CVE-2023-50658 is a high-severity denial of service vulnerability in n/a, published on 25 Dec 2023. 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-2023-50658 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/dvsekhvalnov/jose2go (Go): affected all versions; fixed in 1.5.1-0.20231206184617-48ba0b76bc88\n- github.com/dvsekhvalnov/jose2go (Go): affected all versions; fixed in 1.5.1-0.20231206184617-48ba0b76bc88\n- github.com/dvsekhvalnov/jose2go (Go): affected all versions; fixed in 1.5.1-0.20231206184617-48ba0b76bc88\n- github.com/dvsekhvalnov/jose2go (Go): affected all versions; fixed in 1.6.0\n- github.com/dvsekhvalnov/jose2go (Go): affected all versions; fixed in 1.6.0\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-2023-50658/ (Markdown: https://insights.sbomify.com/CVE-2023-50658/index.md)","id":"CVE-2023-50658","markdown":"https://insights.sbomify.com/CVE-2023-50658/index.md","name":"CVE-2023-50658","record":{"aliases":["AZL-35422","AZL-35426","DEBIAN-CVE-2023-50658","GHSA-6294-6rgp-fr7r","GHSA-mhpq-9638-x6pw","GO-2023-2409","UBUNTU-CVE-2023-50658"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go jose2go library","requires_auth":"none","summary":"Attackers can cause denial of service via CPU exhaustion in the jose2go Go library by supplying a large PBES2 count value.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"jose2go","vendor":"dvsekhvalnov"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"The jose2go component before 1.6.0 for Go allows attackers to cause a denial of service (CPU consumption) via a large p2c (aka PBES2 Count) value.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"jose2go vulnerable to denial of service via large p2c value","id":"CVE-2023-50658","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":5,"n_references":2,"next":{"headline":"Memory corruption in n/a","id":"CVE-2023-50671"},"packages":[{"ecosystem":"Go","fixed":["1.5.1-0.20231206184617-48ba0b76bc88"],"introduced":["0"],"last_affected":[],"package":"github.com/dvsekhvalnov/jose2go","purl":null,"source":"GHSA-mhpq-9638-x6pw"},{"ecosystem":"Go","fixed":["1.5.1-0.20231206184617-48ba0b76bc88"],"introduced":["0"],"last_affected":[],"package":"github.com/dvsekhvalnov/jose2go","purl":"pkg:golang/github.com/dvsekhvalnov/jose2go","source":"GHSA-mhpq-9638-x6pw"},{"ecosystem":"Go","fixed":["1.5.1-0.20231206184617-48ba0b76bc88"],"introduced":["0"],"last_affected":[],"package":"github.com/dvsekhvalnov/jose2go","purl":"pkg:golang/github.com/dvsekhvalnov/jose2go","source":"GO-2023-2409"},{"ecosystem":"Go","fixed":["1.6.0"],"introduced":["0"],"last_affected":[],"package":"github.com/dvsekhvalnov/jose2go","purl":null,"source":"GHSA-6294-6rgp-fr7r"},{"ecosystem":"Go","fixed":["1.6.0"],"introduced":["0"],"last_affected":[],"package":"github.com/dvsekhvalnov/jose2go","purl":"pkg:golang/github.com/dvsekhvalnov/jose2go","source":"GHSA-6294-6rgp-fr7r"}],"prev":{"headline":"Command injection in n/a","id":"CVE-2023-50651"},"products":["n/a"],"published":"2023-12-25","related":[{"cvss_score":7.5,"headline":"jose2go is vulnerable to a JWT bomb attack through its decode function","id":"CVE-2025-63811","kev_date_added":null,"published":"2025-11-12"}],"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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["n/a"]},"summary":"Attackers can cause denial of service via CPU exhaustion in the jose2go Go library by supplying a large PBES2 count value.","url":"https://insights.sbomify.com/CVE-2023-50658/"}