{"answers":{"affected":"12 open source packages ship an affected version, including org.codehaus.groovy:groovy and org.codehaus.groovy:groovy-all. It affects 21 products.","exploited":"There is no known exploitation of CVE-2020-17521 in the wild and no public exploit code.","fix":"Upgrade org.codehaus.groovy:groovy to a fixed version for your release line: 2.4.21, 2.5.14 or 3.0.7.","what":"CVE-2020-17521 is a medium-severity path traversal vulnerability in Netapp Snapcenter, published on 7 Dec 2020. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-17521 and fix it if it is affected.\n\nWhat it is: CVE-2020-17521 is a medium-severity path traversal vulnerability in Netapp Snapcenter, published on 7 Dec 2020. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-17521 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.codehaus.groovy:groovy (Maven): affected from 2.0.0; fixed in 2.4.21\n- org.codehaus.groovy:groovy (Maven): affected from 2.0.0; fixed in 2.4.21\n- org.codehaus.groovy:groovy (Maven): affected from 2.5.0; fixed in 2.5.14\n- org.codehaus.groovy:groovy (Maven): affected from 2.5.0; fixed in 2.5.14\n- org.codehaus.groovy:groovy (Maven): affected from 3.0.0; fixed in 3.0.7\n- org.codehaus.groovy:groovy (Maven): affected from 3.0.0; fixed in 3.0.7\n- org.codehaus.groovy:groovy-all (Maven): affected from 2.0.0; fixed in 2.4.21\n- org.codehaus.groovy:groovy-all (Maven): affected from 2.0.0; fixed in 2.4.21\n- org.codehaus.groovy:groovy-all (Maven): affected from 2.5.0; fixed in 2.5.14\n- org.codehaus.groovy:groovy-all (Maven): affected from 2.5.0; fixed in 2.5.14\n- org.codehaus.groovy:groovy-all (Maven): affected from 3.0.0; fixed in 3.0.7\n- org.codehaus.groovy:groovy-all (Maven): affected from 3.0.0; fixed in 3.0.7\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-17521/ (Markdown: https://insights.sbomify.com/CVE-2020-17521/index.md)","id":"CVE-2020-17521","markdown":"https://insights.sbomify.com/CVE-2020-17521/index.md","name":"CVE-2020-17521","record":{"aliases":["DEBIAN-CVE-2020-17521","GHSA-rcjj-h6gh-jf3r","SUSE-SU-2020:3917-1","UBUNTU-CVE-2020-17521","openSUSE-SU-2020:2367-1","openSUSE-SU-2024:10823-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Apache Groovy library","requires_auth":"low_privilege","summary":"Attackers can exploit insecure temporary directory creation in Apache Groovy to access or modify files, requiring an upgrade to patched versions.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"atlas","vendor":"apache"},{"product":"groovy","vendor":"apache"},{"product":"snapcenter","vendor":"netapp"},{"product":"agile_engineering_data_management","vendor":"oracle"},{"product":"agile_plm_mcad_connector","vendor":"oracle"},{"product":"agile_product_lifecycle_management","vendor":"oracle"},{"product":"business_process_management_suite","vendor":"oracle"},{"product":"communications_brm_-_elastic_charging_engine","vendor":"oracle"},{"product":"communications_diameter_signaling_router","vendor":"oracle"},{"product":"communications_evolved_communications_application_server","vendor":"oracle"},{"product":"communications_services_gatekeeper","vendor":"oracle"},{"product":"healthcare_data_repository","vendor":"oracle"},{"product":"hospitality_opera_5","vendor":"oracle"},{"product":"ilearning","vendor":"oracle"},{"product":"insurance_policy_administration","vendor":"oracle"},{"product":"jd_edwards_enterpriseone_orchestrator","vendor":"oracle"},{"product":"primavera_gateway","vendor":"oracle"},{"product":"primavera_unifier","vendor":"oracle"},{"product":"retail_bulk_data_integration","vendor":"oracle"},{"product":"retail_merchandising_system","vendor":"oracle"},{"product":"retail_store_inventory_management","vendor":"oracle"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[],"description":"Apache Groovy provides extension methods to aid with creating temporary directories. Prior to this fix, Groovy's implementation of those extension methods was using a now superseded Java JDK method call that is potentially not secure on some operating systems in some contexts. Users not using the extension methods mentioned in the advisory are not affected, but may wish to read the advisory for further details. Versions Affected: 2.0 to 2.4.20, 2.5.0 to 2.5.13, 3.0.0 to 3.0.6, and 4.0.0-alpha-1. Fixed in versions 2.4.21, 2.5.14, 3.0.7, 4.0.0-alpha-2.","ecosystems":["Maven","SUSE:Linux Enterprise Module for Development Tools 15 SP2","openSUSE:Leap 15.2","openSUSE:Tumbleweed"],"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":"Information Disclosure in Apache Groovy","id":"CVE-2020-17521","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"netapp:snapcenter","products":["netapp:snapcenter","oracle:agile_product_lifecycle_management","oracle:communications_diameter_signaling_router","oracle:primavera_gateway","oracle:primavera_unifier","oracle:retail_merchandising_system"],"type":"path_traversal","year":"2020"},"n_packages":15,"n_references":12,"next":{"headline":"Cache Manipulation Attack in Apache Traffic Control","id":"CVE-2020-17522"},"packages":[{"ecosystem":"Maven","fixed":["2.4.21"],"introduced":["2.0.0"],"last_affected":[],"package":"org.codehaus.groovy:groovy","purl":null,"source":"GHSA-rcjj-h6gh-jf3r"},{"ecosystem":"Maven","fixed":["2.4.21"],"introduced":["2.0.0"],"last_affected":[],"package":"org.codehaus.groovy:groovy","purl":"pkg:maven/org.codehaus.groovy/groovy","source":"GHSA-rcjj-h6gh-jf3r"},{"ecosystem":"Maven","fixed":["2.5.14"],"introduced":["2.5.0"],"last_affected":[],"package":"org.codehaus.groovy:groovy","purl":null,"source":"GHSA-rcjj-h6gh-jf3r"},{"ecosystem":"Maven","fixed":["2.5.14"],"introduced":["2.5.0"],"last_affected":[],"package":"org.codehaus.groovy:groovy","purl":"pkg:maven/org.codehaus.groovy/groovy","source":"GHSA-rcjj-h6gh-jf3r"},{"ecosystem":"Maven","fixed":["3.0.7"],"introduced":["3.0.0"],"last_affected":[],"package":"org.codehaus.groovy:groovy","purl":null,"source":"GHSA-rcjj-h6gh-jf3r"},{"ecosystem":"Maven","fixed":["3.0.7"],"introduced":["3.0.0"],"last_affected":[],"package":"org.codehaus.groovy:groovy","purl":"pkg:maven/org.codehaus.groovy/groovy","source":"GHSA-rcjj-h6gh-jf3r"},{"ecosystem":"Maven","fixed":["2.4.21"],"introduced":["2.0.0"],"last_affected":[],"package":"org.codehaus.groovy:groovy-all","purl":null,"source":"GHSA-rcjj-h6gh-jf3r"},{"ecosystem":"Maven","fixed":["2.4.21"],"introduced":["2.0.0"],"last_affected":[],"package":"org.codehaus.groovy:groovy-all","purl":"pkg:maven/org.codehaus.groovy/groovy-all","source":"GHSA-rcjj-h6gh-jf3r"},{"ecosystem":"Maven","fixed":["2.5.14"],"introduced":["2.5.0"],"last_affected":[],"package":"org.codehaus.groovy:groovy-all","purl":null,"source":"GHSA-rcjj-h6gh-jf3r"},{"ecosystem":"Maven","fixed":["2.5.14"],"introduced":["2.5.0"],"last_affected":[],"package":"org.codehaus.groovy:groovy-all","purl":"pkg:maven/org.codehaus.groovy/groovy-all","source":"GHSA-rcjj-h6gh-jf3r"},{"ecosystem":"Maven","fixed":["3.0.7"],"introduced":["3.0.0"],"last_affected":[],"package":"org.codehaus.groovy:groovy-all","purl":null,"source":"GHSA-rcjj-h6gh-jf3r"},{"ecosystem":"Maven","fixed":["3.0.7"],"introduced":["3.0.0"],"last_affected":[],"package":"org.codehaus.groovy:groovy-all","purl":"pkg:maven/org.codehaus.groovy/groovy-all","source":"GHSA-rcjj-h6gh-jf3r"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP2","fixed":["2.4.21-3.3.2"],"introduced":["0"],"last_affected":[],"package":"groovy","purl":"pkg:rpm/suse/groovy\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP2","source":"SUSE-SU-2020:3917-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["2.4.21-lp152.2.3.2"],"introduced":["0"],"last_affected":[],"package":"groovy","purl":"pkg:rpm/opensuse/groovy\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2020:2367-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.4.21-2.3"],"introduced":["0"],"last_affected":[],"package":"groovy","purl":"pkg:rpm/opensuse/groovy\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:10823-1"}],"prev":{"headline":"Auth bypass in Pulsar Manager","id":"CVE-2020-17520"},"products":["Apache Groovy"],"published":"2020-12-07","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.8,"headline":"Apache Atlas: zip path traversal in import functionality","id":"CVE-2022-34271","kev_date_added":null,"published":"2022-12-14"},{"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":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["Apache Software Foundation"]},"summary":"Attackers can exploit insecure temporary directory creation in Apache Groovy to access or modify files, requiring an upgrade to patched versions.","url":"https://insights.sbomify.com/CVE-2020-17521/"}