{"answers":{"affected":"3 open source packages ship an affected version, including github.com/sylabs/sif/v2. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-39237 in the wild and no public exploit code.","fix":"Upgrade github.com/sylabs/sif/v2 to 2.8.1 or later.","what":"CVE-2022-39237 is a medium-severity vulnerability in sylabs sif, published on 6 Oct 2022. 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-2022-39237 and fix it if it is affected.\n\nWhat it is: CVE-2022-39237 is a medium-severity vulnerability in sylabs sif, published on 6 Oct 2022. 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-2022-39237 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/sylabs/sif/v2 (Go): affected all versions; fixed in 2.8.1\n- github.com/sylabs/sif/v2 (Go): affected all versions; fixed in 2.8.1\n- github.com/sylabs/sif/v2 (Go): affected all versions; fixed in 2.8.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-2022-39237/ (Markdown: https://insights.sbomify.com/CVE-2022-39237/index.md)","id":"CVE-2022-39237","markdown":"https://insights.sbomify.com/CVE-2022-39237/index.md","name":"CVE-2022-39237","record":{"aliases":["CLEANSTART-2024-TO97998","DEBIAN-CVE-2022-39237","GHSA-m5m3-46gj-wch8","GO-2022-1045","UBUNTU-CVE-2022-39237","openSUSE-SU-2024:12389-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Go SIF library","requires_auth":"none","summary":"Attackers can bypass digital signature verification in Singularity Image Format libraries by using insecure hash algorithms, compromising image integrity.","user_interaction":"required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"singularity_image_format","vendor":"sylabs"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-327","name":"Use of a Broken or Risky Cryptographic Algorithm"},{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"description":"syslabs/sif is the Singularity Image Format (SIF) reference implementation. In versions prior to 2.8.1the `github.com/sylabs/sif/v2/pkg/integrity` package did not verify that the hash algorithm(s) used are cryptographically secure when verifying digital signatures. A patch is available in version \u003e= v2.8.1 of the module. Users are encouraged to upgrade. Users unable to upgrade may independently validate that the hash algorithm(s) used for metadata digest(s) and signature hash are cryptographically secure.","ecosystems":["Go","openSUSE:Tumbleweed"],"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":"Digital Signature Hash Algorithms Not Validated in sylabs/sif","id":"CVE-2022-39237","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"weak_cryptography","year":"2022"},"n_packages":4,"n_references":3,"next":{"headline":"Improper Authentication in Arvados when using PAM as identity provider","id":"CVE-2022-39238"},"packages":[{"ecosystem":"Go","fixed":["2.8.1"],"introduced":["0"],"last_affected":[],"package":"github.com/sylabs/sif/v2","purl":null,"source":"GHSA-m5m3-46gj-wch8"},{"ecosystem":"Go","fixed":["2.8.1"],"introduced":["0"],"last_affected":[],"package":"github.com/sylabs/sif/v2","purl":"pkg:golang/github.com/sylabs/sif/v2","source":"GHSA-m5m3-46gj-wch8"},{"ecosystem":"Go","fixed":["2.8.1"],"introduced":["0"],"last_affected":[],"package":"github.com/sylabs/sif/v2","purl":"pkg:golang/github.com/sylabs/sif/v2","source":"GO-2022-1045"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.1.2-1.1"],"introduced":["0"],"last_affected":[],"package":"apptainer","purl":"pkg:rpm/opensuse/apptainer\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12389-1"}],"prev":{"headline":"Matrix Javascript SDK improper beacon events can cause availability issues","id":"CVE-2022-39236"},"products":["sif"],"published":"2022-10-06","related":[{"cvss_score":7.5,"headline":"Predictable SIF UUID Identifiers","id":"CVE-2021-29499","kev_date_added":null,"published":"2021-05-07"}],"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":"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["sylabs"]},"summary":"Attackers can bypass digital signature verification in Singularity Image Format libraries by using insecure hash algorithms, compromising image integrity.","url":"https://insights.sbomify.com/CVE-2022-39237/"}