{"answers":{"affected":"3 open source packages ship an affected version, including github.com/notaryproject/notation-go. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-33959 in the wild and no public exploit code.","fix":"Upgrade github.com/notaryproject/notation-go to 1.0.0-rc.6 or later.","what":"CVE-2023-33959 is a high-severity vulnerability in notaryproject notation-go, published on 6 Jun 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-33959 and fix it if it is affected.\n\nWhat it is: CVE-2023-33959 is a high-severity vulnerability in notaryproject notation-go, published on 6 Jun 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-33959 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/notaryproject/notation-go (Go): affected all versions; fixed in 1.0.0-rc.6\n- github.com/notaryproject/notation-go (Go): affected all versions; fixed in 1.0.0-rc.6\n- github.com/notaryproject/notation-go (Go): affected all versions; fixed in 1.0.0-rc.6\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-33959/ (Markdown: https://insights.sbomify.com/CVE-2023-33959/index.md)","id":"CVE-2023-33959","markdown":"https://insights.sbomify.com/CVE-2023-33959/index.md","name":"CVE-2023-33959","record":{"aliases":["GHSA-xhg5-42rf-296r","GO-2023-1832"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Go notation library","requires_auth":"none","summary":"Attackers can trick users into verifying malicious artifacts by bypassing verification checks in the notation-go library.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"notation-go","vendor":"notaryproject"}],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"description":"notation is a CLI tool to sign and verify OCI artifacts and container images. An attacker who has compromised a registry can cause users to verify the wrong artifact. The problem has been fixed in the release v1.0.0-rc.6. Users should upgrade their notation-go library to v1.0.0-rc.6 or above. Users unable to upgrade may restrict container registries to a set of secure and trusted container registries.","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":"Verification bypass can cause users into verifying the wrong artifact","id":"CVE-2023-33959","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"security_feature_bypass","year":"2023"},"n_packages":3,"n_references":1,"next":{"headline":"OpenProject vulnerable to project identifier information leakage through robots.txt","id":"CVE-2023-33960"},"packages":[{"ecosystem":"Go","fixed":["1.0.0-rc.6"],"introduced":["0"],"last_affected":[],"package":"github.com/notaryproject/notation-go","purl":null,"source":"GHSA-xhg5-42rf-296r"},{"ecosystem":"Go","fixed":["1.0.0-rc.6"],"introduced":["0"],"last_affected":[],"package":"github.com/notaryproject/notation-go","purl":"pkg:golang/github.com/notaryproject/notation-go","source":"GHSA-xhg5-42rf-296r"},{"ecosystem":"Go","fixed":["1.0.0-rc.6"],"introduced":["0"],"last_affected":[],"package":"github.com/notaryproject/notation-go","purl":"pkg:golang/github.com/notaryproject/notation-go","source":"GO-2023-1832"}],"prev":{"headline":"Default `maxSignatureAttempts` in `notation verify` enables an endless data attack in notation","id":"CVE-2023-33958"},"products":["notation-go"],"published":"2023-06-06","related":[{"cvss_score":7.5,"headline":"notation-go has excessive memory allocation on verification","id":"CVE-2023-25656","kev_date_added":null,"published":"2023-02-20"},{"cvss_score":5.4,"headline":"Default `maxSignatureAttempts` in `notation verify` enables an endless data attack in notation","id":"CVE-2023-33958","kev_date_added":null,"published":"2023-06-06"},{"cvss_score":4,"headline":"Client configured with permissive trust policies susceptible to rollback attack in Notary Project","id":"CVE-2024-23332","kev_date_added":null,"published":"2024-01-19"},{"cvss_score":3.3,"headline":"Process crash during CRL-based revocation check on OS using separate mount point for temp Directory in notation-go","id":"CVE-2024-51491","kev_date_added":null,"published":"2025-01-13"},{"cvss_score":2.6,"headline":"Denial of service from high number of artifact signatures in notation","id":"CVE-2023-33957","kev_date_added":null,"published":"2023-06-06"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["notaryproject"]},"summary":"Attackers can trick users into verifying malicious artifacts by bypassing verification checks in the notation-go library.","url":"https://insights.sbomify.com/CVE-2023-33959/"}