{"answers":{"affected":"3 open source packages ship an affected version, including github.com/edgelesssys/contrast.","exploited":"There is no known exploitation of CVE-2025-71422 in the wild and no public exploit code.","fix":"Upgrade github.com/edgelesssys/contrast to 1.12.1 or later.","what":"CVE-2025-71422 is a medium-severity vulnerability in edgelesssys contrast, published on 27 Sep 2026. 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-2025-71422 and fix it if it is affected.\n\nWhat it is: CVE-2025-71422 is a medium-severity vulnerability in edgelesssys contrast, published on 27 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-71422 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/edgelesssys/contrast (Go): affected all versions; fixed in 1.12.1\n- github.com/edgelesssys/contrast (Go): affected all versions; fixed in 1.12.1\n- github.com/edgelesssys/contrast (Go): affected all versions; fixed in 1.12.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-2025-71422/ (Markdown: https://insights.sbomify.com/CVE-2025-71422/index.md)","id":"CVE-2025-71422","markdown":"https://insights.sbomify.com/CVE-2025-71422/index.md","name":"CVE-2025-71422","record":{"aliases":["GHSA-3g67-j5vf-vm4v","GHSA-f5p4-p5q5-jv3h","GO-2025-4078"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Kubernetes confidential containers","requires_auth":"low_privilege","summary":"A malicious host can bypass LUKS2 encryption in Contrast secure persistent volumes, allowing plaintext access to confidential data.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"description":"Contrast is a Kubernetes runtime for confidential containers. In versions before 1.12.1, the secure persistent volume feature is vulnerable to a malicious host supplying a crafted LUKS2 volume to a pod VM. LUKS2 volume metadata is not authenticated and, with cryptsetup versions prior to 2.8.1, a header specifying the null keyslot encryption algorithm (cipher_null-ecb) is accepted without error. Because the Contrast Initializer assumes a device is protected if `cryptsetup open` succeeds with the secret seed, the guest will open the attacker-supplied volume and write secret data in plaintext, or under a volume key known to the attacker, allowing the host to read confidential data that should have been encrypted. Contrast v1.12.1 ships cryptsetup 2.8.1, which disables null ciphers in keyslots when the passphrase is non-empty; v1.13.0 adds detached-header validation in guest memory and integrity protection for secure persistent storage. Contrast persistent volumes were not integrity protected, so integrity impact is not considered.","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":"Contrast before 1.12.1 Insecure LUKS2 Persistent Storage","id":"CVE-2025-71422","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"security_feature_bypass","year":"2025"},"n_packages":3,"n_references":2,"next":{"headline":"Edgelesssys Contrast before 1.12.2 Workload Secrets Information Disclosure","id":"CVE-2025-71423"},"packages":[{"ecosystem":"Go","fixed":["1.12.1"],"introduced":["0"],"last_affected":[],"package":"github.com/edgelesssys/contrast","purl":null,"source":"GHSA-f5p4-p5q5-jv3h"},{"ecosystem":"Go","fixed":["1.12.1"],"introduced":["0"],"last_affected":[],"package":"github.com/edgelesssys/contrast","purl":"pkg:golang/github.com/edgelesssys/contrast","source":"GHSA-f5p4-p5q5-jv3h"},{"ecosystem":"Go","fixed":["1.12.1"],"introduced":["0"],"last_affected":[],"package":"github.com/edgelesssys/contrast","purl":"pkg:golang/github.com/edgelesssys/contrast","source":"GO-2025-4078"}],"prev":{"headline":"UVdesk core-framework before 1.1.7 Privilege Escalation via editAgent","id":"CVE-2025-71421"},"products":["contrast"],"published":"2026-09-27","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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"2026-10-08","vendors":["edgelesssys"]},"summary":"A malicious host can bypass LUKS2 encryption in Contrast secure persistent volumes, allowing plaintext access to confidential data.","url":"https://insights.sbomify.com/CVE-2025-71422/"}