{"answers":{"affected":"3 open source packages ship an affected version, including github.com/devfile/registry-support/registry-library. It affects 3 products.","exploited":"There is no known exploitation of CVE-2024-1485 in the wild and no public exploit code.","fix":"Upgrade github.com/devfile/registry-support/registry-library to 0.0.0-20240206 or later.","what":"CVE-2024-1485 is a high-severity path traversal vulnerability in Redhat Openshift, published on 13 Feb 2024. 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-2024-1485 and fix it if it is affected.\n\nWhat it is: CVE-2024-1485 is a high-severity path traversal vulnerability in Redhat Openshift, published on 13 Feb 2024. 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-2024-1485 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/devfile/registry-support/registry-library (Go): affected all versions; no fix listed\n- github.com/devfile/registry-support/registry-library (Go): affected all versions; fixed in 0.0.0-20240206\n- github.com/devfile/registry-support/registry-library (Go): affected all versions; fixed in 0.0.0-20240206\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-2024-1485/ (Markdown: https://insights.sbomify.com/CVE-2024-1485/index.md)","id":"CVE-2024-1485","markdown":"https://insights.sbomify.com/CVE-2024-1485/index.md","name":"CVE-2024-1485","record":{"aliases":["GHSA-84xv-jfrm-h4gm","GO-2024-2576"],"analysis":{"component_type":"cloud_service","fix_type":"patch","impacts":["data_modify","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenShift Developer Tools","requires_auth":"none","summary":"An attacker can trick a user into parsing a malicious devfile to delete or overwrite files outside the intended scope via path traversal in the decompression function.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"registry-support","vendor":"devfile"},{"product":"openshift","vendor":"redhat"},{"product":"openshift_developer_tools_and_services","vendor":"redhat"}],"cvss":{"score":8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"A flaw was found in the decompression function of registry-support. This issue can be triggered if an unauthenticated remote attacker tricks a user into parsing a devfile which uses the `parent` or `plugin` keywords. This could download a malicious archive and cause the cleanup process to overwrite or delete files outside of the archive, which should not be allowed.","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":"Registry-support: decompress can delete files outside scope via relative paths","id":"CVE-2024-1485","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"redhat:openshift","products":["redhat:openshift"],"type":"path_traversal","year":"2024"},"n_packages":3,"n_references":5,"next":{"headline":"Elevation of privileges via misconfigured access control list in GE HealthCare ultrasound devices","id":"CVE-2024-1486"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/devfile/registry-support/registry-library","purl":"pkg:golang/github.com/devfile/registry-support/registry-library","source":"GO-2024-2576"},{"ecosystem":"Go","fixed":["0.0.0-20240206"],"introduced":["0"],"last_affected":[],"package":"github.com/devfile/registry-support/registry-library","purl":null,"source":"GHSA-84xv-jfrm-h4gm"},{"ecosystem":"Go","fixed":["0.0.0-20240206"],"introduced":["0"],"last_affected":[],"package":"github.com/devfile/registry-support/registry-library","purl":"pkg:golang/github.com/devfile/registry-support/registry-library","source":"GHSA-84xv-jfrm-h4gm"}],"prev":{"headline":"Booking for Appointments and Events Calendar – Amelia \u003c= 1.0.98 - Reflected Cross-Site Scripting","id":"CVE-2024-1484"},"products":["OpenShift Developer Tools and Services","Red Hat OpenShift Container Platform 4"],"published":"2024-02-13","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":"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":"2026-08-06","vendors":["Red Hat"]},"summary":"An attacker can trick a user into parsing a malicious devfile to delete or overwrite files outside the intended scope via path traversal in the decompression function.","url":"https://insights.sbomify.com/CVE-2024-1485/"}