{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.atlas:apache-atlas. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-34271 in the wild and no public exploit code.","fix":"Upgrade org.apache.atlas:apache-atlas to 2.3.0 or later.","what":"CVE-2022-34271 is a high-severity path traversal vulnerability in Apache Atlas, published on 14 Dec 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-34271 and fix it if it is affected.\n\nWhat it is: CVE-2022-34271 is a high-severity path traversal vulnerability in Apache Atlas, published on 14 Dec 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-34271 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.atlas:apache-atlas (Maven): affected from 0.8.4; fixed in 2.3.0\n- org.apache.atlas:apache-atlas (Maven): affected from 0.8.4; fixed in 2.3.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-2022-34271/ (Markdown: https://insights.sbomify.com/CVE-2022-34271/index.md)","id":"CVE-2022-34271","markdown":"https://insights.sbomify.com/CVE-2022-34271/index.md","name":"CVE-2022-34271","record":{"aliases":["GHSA-p782-4j23-xqcg"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Atlas","requires_auth":"low_privilege","summary":"An authenticated attacker can exploit a path traversal flaw in the import module to write arbitrary files to the web server filesystem.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"atlas","vendor":"apache"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"A vulnerability in import module of Apache Atlas allows an authenticated user to write to web server filesystem.  This issue affects Apache Atlas versions from 0.8.4 to 2.2.0.","ecosystems":["Maven"],"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":"Apache Atlas: zip path traversal in import functionality","id":"CVE-2022-34271","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2022"},"n_packages":2,"n_references":1,"next":{"headline":"Memory corruption in PADS Standard/Plus Viewer","id":"CVE-2022-34272"},"packages":[{"ecosystem":"Maven","fixed":["2.3.0"],"introduced":["0.8.4"],"last_affected":[],"package":"org.apache.atlas:apache-atlas","purl":null,"source":"GHSA-p782-4j23-xqcg"},{"ecosystem":"Maven","fixed":["2.3.0"],"introduced":["0.8.4"],"last_affected":[],"package":"org.apache.atlas:apache-atlas","purl":"pkg:maven/org.apache.atlas/apache-atlas","source":"GHSA-p782-4j23-xqcg"}],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2022-34270"},"products":["Apache Atlas"],"published":"2022-12-14","related":[{"cvss_score":8.8,"headline":"Apache Atlas: Missing Authorization on Admin Endpoints","id":"CVE-2026-50622","kev_date_added":null,"published":"2026-07-29"},{"cvss_score":8.1,"headline":"Apache Atlas: Script injection allows access to unintended data","id":"CVE-2026-40563","kev_date_added":null,"published":"2026-05-04"},{"cvss_score":7.5,"headline":"Path Traversal in Apache Atlas","id":"CVE-2016-8752","kev_date_added":null,"published":"2017-08-29"},{"cvss_score":7.5,"headline":"Apache Atlas produces Stack trace in error response","id":"CVE-2017-3154","kev_date_added":null,"published":"2017-08-29"},{"cvss_score":7.1,"headline":"Apache Atlas: An authenticated user can perform XSS and potentially impersonate another user","id":"CVE-2024-46910","kev_date_added":null,"published":"2025-02-13"},{"cvss_score":6.1,"headline":"Cross-site scripting in Apache Atlas","id":"CVE-2020-13928","kev_date_added":null,"published":"2020-09-16"}],"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-18","vendors":["Apache Software Foundation"]},"summary":"An authenticated attacker can exploit a path traversal flaw in the import module to write arbitrary files to the web server filesystem.","url":"https://insights.sbomify.com/CVE-2022-34271/"}