{"answers":{"affected":"4 open source packages ship an affected version, including github.com/sigstore/cosign and cosign. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-36056 exists.","fix":"Upgrade github.com/sigstore/cosign to 1.12.0 or later.","what":"CVE-2022-36056 is a medium-severity vulnerability in sigstore cosign, published on 14 Sep 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-36056 and fix it if it is affected.\n\nWhat it is: CVE-2022-36056 is a medium-severity vulnerability in sigstore cosign, published on 14 Sep 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-36056 exists.\n\nAffected packages and fixed versions:\n- github.com/sigstore/cosign (Go): affected all versions; fixed in 1.12.0\n- github.com/sigstore/cosign (Go): affected all versions; fixed in 1.12.0\n- github.com/sigstore/cosign (Go): affected all versions; fixed in 1.12.0\n- cosign (Bitnami): affected all versions; fixed in 1.12.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-2022-36056/ (Markdown: https://insights.sbomify.com/CVE-2022-36056/index.md)","id":"CVE-2022-36056","markdown":"https://insights.sbomify.com/CVE-2022-36056/index.md","name":"CVE-2022-36056","record":{"aliases":["BIT-cosign-2022-36056","CLEANSTART-2026-OH46796","GHSA-8gw7-4j42-w388","GO-2022-0998","SUSE-SU-2022:3486-1","openSUSE-SU-2024:12331-1"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Sigstore Cosign","requires_auth":"low_privilege","summary":"Attackers can bypass signature verification in Cosign by crafting invalid bundles or omitting identity checks, allowing unsigned artifacts to appear verified.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cosign","vendor":"sigstore"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"description":"Cosign is a project under the sigstore organization which aims to make signatures invisible infrastructure. In versions prior to 1.12.0 a number of vulnerabilities have been found in cosign verify-blob, where Cosign would successfully verify an artifact when verification should have failed. First a cosign bundle can be crafted to successfully verify a blob even if the embedded rekorBundle does not reference the given signature. Second, when providing identity flags, the email and issuer of a certificate is not checked when verifying a Rekor bundle, and the GitHub Actions identity is never checked. Third, providing an invalid Rekor bundle without the experimental flag results in a successful verification. And fourth an invalid transparency log entry will result in immediate success for verification. Details and examples of these issues can be seen in the GHSA-8gw7-4j42-w388 advisory linked. Users are advised to upgrade to 1.12.0. There are no known workarounds for these issues.","ecosystems":["Bitnami","Go","SUSE:Linux Enterprise Module for Basesystem 15 SP4","openSUSE:Leap 15.4","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Vulnerabilities with blob verification in sigstore cosign","id":"CVE-2022-36056","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"security_feature_bypass","year":"2022"},"n_packages":7,"n_references":2,"next":{"headline":"Discourse-Chat Cross-Site Scripting issue for channel names and descriptions","id":"CVE-2022-36057"},"packages":[{"ecosystem":"Bitnami","fixed":["1.12.0"],"introduced":["0"],"last_affected":[],"package":"cosign","purl":"pkg:bitnami/cosign","source":"BIT-cosign-2022-36056"},{"ecosystem":"Go","fixed":["1.12.0"],"introduced":["0"],"last_affected":[],"package":"github.com/sigstore/cosign","purl":null,"source":"GHSA-8gw7-4j42-w388"},{"ecosystem":"Go","fixed":["1.12.0"],"introduced":["0"],"last_affected":[],"package":"github.com/sigstore/cosign","purl":"pkg:golang/github.com/sigstore/cosign","source":"GHSA-8gw7-4j42-w388"},{"ecosystem":"Go","fixed":["1.12.0"],"introduced":["0"],"last_affected":[],"package":"github.com/sigstore/cosign","purl":"pkg:golang/github.com/sigstore/cosign","source":"GO-2022-0998"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["1.12.0-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"cosign","purl":"pkg:rpm/suse/cosign\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2022:3486-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["1.12.0-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"cosign","purl":"pkg:rpm/opensuse/cosign\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2022:3486-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.12.0-1.1"],"introduced":["0"],"last_affected":[],"package":"cosign","purl":"pkg:rpm/opensuse/cosign\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12331-1"}],"prev":{"headline":"Denial of service in Helm","id":"CVE-2022-36055"},"products":["cosign"],"published":"2022-09-14","related":[{"cvss_score":7.1,"headline":"False positive signature verification in cosign","id":"CVE-2022-35929","kev_date_added":null,"published":"2022-08-04"},{"cvss_score":5.5,"headline":"Cosign verification accepts any valid Rekor entry under certain conditions","id":"CVE-2026-22703","kev_date_added":null,"published":"2026-01-10"},{"cvss_score":4.3,"headline":"Cosign's verify-blob-attestation reports false positive when payload parsing fails","id":"CVE-2026-39395","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":4.2,"headline":"Cosign vulnerable to system-wide denial of service via malicious attachments","id":"CVE-2024-29902","kev_date_added":null,"published":"2024-04-10"},{"cvss_score":4.2,"headline":"Cosign vulnerable to machine-wide denial of service via malicious artifacts","id":"CVE-2024-29903","kev_date_added":null,"published":"2024-04-10"},{"cvss_score":3.7,"headline":"Cosign Certificate Chain Expiry Validation Issue Allows Issuing Certificate Expiry to Be Overlooked","id":"CVE-2026-24122","kev_date_added":null,"published":"2026-02-19"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"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":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-22","vendors":["sigstore"]},"summary":"Attackers can bypass signature verification in Cosign by crafting invalid bundles or omitting identity checks, allowing unsigned artifacts to appear verified.","url":"https://insights.sbomify.com/CVE-2022-36056/"}