{"answers":{"affected":"2 open source packages ship an affected version, including github.com/sylabs/singularity. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-13845 in the wild and no public exploit code.","fix":"Upgrade github.com/sylabs/singularity to 3.6.0 or later.","what":"CVE-2020-13845 is a high-severity vulnerability in n/a, published on 14 Jul 2020."},"fix_prompt":"Check this codebase for CVE-2020-13845 and fix it if it is affected.\n\nWhat it is: CVE-2020-13845 is a high-severity vulnerability in n/a, published on 14 Jul 2020. \nExploitation: There is no known exploitation of CVE-2020-13845 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/sylabs/singularity (Go): affected from 3.0.0; fixed in 3.6.0\n- github.com/sylabs/singularity (Go): affected from 3.0.0; fixed in 3.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-2020-13845/ (Markdown: https://insights.sbomify.com/CVE-2020-13845/index.md)","id":"CVE-2020-13845","markdown":"https://insights.sbomify.com/CVE-2020-13845/index.md","name":"CVE-2020-13845","record":{"aliases":["GHSA-pmfr-63c2-jr5c","UBUNTU-CVE-2020-13845"],"analysis":null,"analysis_generated_by":null,"assigner":"mitre","cpe":[{"product":"singularity","vendor":"sylabs"}],"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:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-354","name":"Improper Validation of Integrity Check Value"},{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"description":"Sylabs Singularity 3.0 through 3.5 has Improper Validation of an Integrity Check Value. Image integrity is not validated when an ECL policy is enforced. The fingerprint required by the ECL is compared against the signature object descriptor(s) in the SIF file, rather than to a cryptographically validated signature.","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":"Execution Control List (ECL) Is Insecure in Singularity","id":"CVE-2020-13845","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":null,"year":"2020"},"n_packages":2,"n_references":5,"next":{"headline":"\"Verify All\" Returns Success Despite Validation Failures in Singularity","id":"CVE-2020-13846"},"packages":[{"ecosystem":"Go","fixed":["3.6.0"],"introduced":["3.0.0"],"last_affected":[],"package":"github.com/sylabs/singularity","purl":null,"source":"GHSA-pmfr-63c2-jr5c"},{"ecosystem":"Go","fixed":["3.6.0"],"introduced":["3.0.0"],"last_affected":[],"package":"github.com/sylabs/singularity","purl":"pkg:golang/github.com/sylabs/singularity","source":"GHSA-pmfr-63c2-jr5c"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2020-13844"},"products":["n/a"],"published":"2020-07-14","related":[{"cvss_score":9.8,"headline":"Weak cryptography in n/a","id":"CVE-2021-33027","kev_date_added":null,"published":"2021-07-19"},{"cvss_score":9.8,"headline":"Other in n/a","id":"CVE-2021-33622","kev_date_added":null,"published":"2021-06-15"},{"cvss_score":7.8,"headline":"Sylabs Singularity Improper Input Validation","id":"CVE-2018-19295","kev_date_added":null,"published":"2018-12-17"},{"cvss_score":7.5,"headline":"\"Verify All\" Returns Success Despite Validation Failures in Singularity","id":"CVE-2020-13846","kev_date_added":null,"published":"2020-07-14"},{"cvss_score":7.5,"headline":"Other in n/a","id":"CVE-2020-13847","kev_date_added":null,"published":"2020-07-14"},{"cvss_score":7.5,"headline":"Singularity insecure permissions","id":"CVE-2019-19724","kev_date_added":null,"published":"2019-12-18"}],"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":"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-04","vendors":["n/a"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2020-13845/"}