{"answers":{"affected":"2 open source packages ship an affected version, including github.com/hpcng/singularity. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-12021 in the wild and no public exploit code.","fix":"Upgrade github.com/hpcng/singularity to 2.5.2 or later.","what":"CVE-2018-12021 is a medium-severity vulnerability in n/a, published on 5 Jul 2018. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-12021 and fix it if it is affected.\n\nWhat it is: CVE-2018-12021 is a medium-severity vulnerability in n/a, published on 5 Jul 2018. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-12021 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/hpcng/singularity (Go): affected from 2.3.0; fixed in 2.5.2\n- github.com/hpcng/singularity (Go): affected from 2.3.0; fixed in 2.5.2\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-2018-12021/ (Markdown: https://insights.sbomify.com/CVE-2018-12021/index.md)","id":"CVE-2018-12021","markdown":"https://insights.sbomify.com/CVE-2018-12021/index.md","name":"CVE-2018-12021","record":{"aliases":["GHSA-4x32-h296-rg6j","UBUNTU-CVE-2018-12021","openSUSE-SU-2018:1969-1"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Singularity container runtime","requires_auth":"low_privilege","summary":"A malicious user can access sensitive information in Singularity containers using the overlay option on systems supporting overlay file systems.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"singularity","vendor":"sylabs"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Singularity 2.3.0 through 2.5.1 is affected by an incorrect access control on systems supporting overlay file system. When using the overlay option, a malicious user may access sensitive information by exploiting a few specific Singularity features.","ecosystems":["Go","SUSE:Package Hub 12 SP3"],"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":"Singularity Incorrect Access Control","id":"CVE-2018-12021","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2018"},"n_packages":3,"n_references":2,"next":{"headline":"jackson-databind Deserialization of Untrusted Data vulnerability","id":"CVE-2018-12022"},"packages":[{"ecosystem":"Go","fixed":["2.5.2"],"introduced":["2.3.0"],"last_affected":[],"package":"github.com/hpcng/singularity","purl":null,"source":"GHSA-4x32-h296-rg6j"},{"ecosystem":"Go","fixed":["2.5.2"],"introduced":["2.3.0"],"last_affected":[],"package":"github.com/hpcng/singularity","purl":"pkg:golang/github.com/hpcng/singularity","source":"GHSA-4x32-h296-rg6j"},{"ecosystem":"SUSE:Package Hub 12 SP3","fixed":["2.3.2-11.1"],"introduced":["0"],"last_affected":[],"package":"singularity","purl":"pkg:rpm/suse/singularity\u0026distro=SUSE%20Package%20Hub%2012%20SP3","source":"openSUSE-SU-2018:1969-1"}],"prev":{"headline":"Other in n/a","id":"CVE-2018-12020"},"products":["n/a"],"published":"2018-07-05","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":"Execution Control List (ECL) Is Insecure in Singularity","id":"CVE-2020-13845","kev_date_added":null,"published":"2020-07-14"},{"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":"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"A malicious user can access sensitive information in Singularity containers using the overlay option on systems supporting overlay file systems.","url":"https://insights.sbomify.com/CVE-2018-12021/"}