{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-1800 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-1800 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-1800 is a medium-severity path traversal vulnerability in Apple Xcode, published on 2 Apr 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-1800 and fix it if it is affected.\n\nWhat it is: CVE-2021-1800 is a medium-severity path traversal vulnerability in Apple Xcode, published on 2 Apr 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-1800 in the wild and no public exploit code.\n\nAffected product: Apple Xcode. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2021-1800/ (Markdown: https://insights.sbomify.com/CVE-2021-1800/index.md)","id":"CVE-2021-1800","markdown":"https://insights.sbomify.com/CVE-2021-1800/index.md","name":"CVE-2021-1800","record":{"aliases":["GHSA-7h33-2j5m-x48x"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Xcode IDE","requires_auth":"none","summary":"A malicious application can access arbitrary files on the host device when using on-demand resources in Xcode.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apple","cpe":[{"product":"xcode","vendor":"apple"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[],"description":"A path handling issue was addressed with improved validation. This issue is fixed in Xcode 12.4. A malicious application may be able to access arbitrary files on the host device while running an app that uses on-demand resources with Xcode.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Path traversal in Xcode","id":"CVE-2021-1800","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apple:xcode","products":["apple:xcode"],"type":"path_traversal","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Security feature bypass in iOS and iPadOS","id":"CVE-2021-1801"},"packages":[],"prev":{"headline":"Server-side request forgery in iOS and iPadOS","id":"CVE-2021-1799"},"products":["Xcode"],"published":"2021-04-02","related":[{"cvss_score":8.1,"headline":"Git Link Following","id":"CVE-2025-48384","kev_date_added":"2025-08-25","published":"2025-07-08"},{"cvss_score":9.8,"headline":"JGit Improper Input Validation vulnerability","id":"CVE-2014-9390","kev_date_added":null,"published":"2020-02-12"},{"cvss_score":9.8,"headline":"Deserialization of untrusted data in FasterXML jackson-databind","id":"CVE-2019-14379","kev_date_added":null,"published":"2019-07-29"},{"cvss_score":9.8,"headline":"An issue was discovered in certain Apple products.","id":"CVE-2018-4164","kev_date_added":null,"published":"2018-04-03"},{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2016-0746","kev_date_added":null,"published":"2016-02-15"},{"cvss_score":9.3,"headline":"Missing authorization in n/a","id":"CVE-2004-2687","kev_date_added":null,"published":"2007-09-23"},{"cvss_score":8.8,"headline":"This issue was addressed by enforcing library validation on the affected binaries.","id":"CVE-2026-86948","kev_date_added":null,"published":"2026-10-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Apple"]},"summary":"A malicious application can access arbitrary files on the host device when using on-demand resources in Xcode.","url":"https://insights.sbomify.com/CVE-2021-1800/"}