{"answers":{"affected":"4 open source packages ship an affected version, including org.springframework.cloud:spring-cloud-config-server. It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2020-5410 in the wild since at least 25 Mar 2022.","fix":"Upgrade org.springframework.cloud:spring-cloud-config-server to a fixed version for your release line: 2.1.9 or 2.2.3. US federal agencies must fix it by 15 Apr 2022.","what":"CVE-2020-5410 is a high-severity path traversal vulnerability in Spring Cloud Config, published on 2 Jun 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-5410 and fix it if it is affected.\n\nWhat it is: CVE-2020-5410 is a high-severity path traversal vulnerability in Spring Cloud Config, published on 2 Jun 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2020-5410 in the wild since at least 25 Mar 2022.\n\nAffected packages and fixed versions:\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected from 2.1.0; fixed in 2.1.9\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected from 2.1.0; fixed in 2.1.9\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected from 2.2.0; fixed in 2.2.3\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected from 2.2.0; fixed in 2.2.3\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-5410/ (Markdown: https://insights.sbomify.com/CVE-2020-5410/index.md)","id":"CVE-2020-5410","markdown":"https://insights.sbomify.com/CVE-2020-5410/index.md","name":"CVE-2020-5410","record":{"aliases":["GHSA-32xf-jwmv-9hf3"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Spring Cloud Config Server","requires_auth":"none","summary":"Attackers can read arbitrary configuration files from the server via crafted URLs in Spring Cloud Config Server.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"pivotal","cpe":[{"product":"spring_cloud_config","vendor":"vmware"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-23","name":"Relative Path Traversal"}],"description":"Spring Cloud Config, versions 2.2.x prior to 2.2.3, versions 2.1.x prior to 2.1.9, and older unsupported versions allow applications to serve arbitrary configuration files through the spring-cloud-config-server module. A malicious user, or attacker, can send a request using a specially crafted URL that can lead to a directory traversal attack.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2020-06-01","github_poc":2,"max_poc_stars":0,"metasploit":1,"nuclei":1,"refs":[{"date":"2020-06-01","kind":"metasploit","ref":"auxiliary/scanner/http/springcloud_directory_traversal","stars":null,"title":"Directory Traversal in Spring Cloud Config Server"},{"date":"2020-06-03T02:52:09Z","kind":"github_poc","ref":"https://github.com/dead5nd/config-demo","stars":0,"title":"CVE-2020-5410"},{"date":"2025-08-17T07:21:03Z","kind":"github_poc","ref":"https://github.com/shoucheng3/spring-cloud__spring-cloud-config_CVE-2020-5410_2-1-8-RELEASE","stars":0,"title":null},{"date":null,"kind":"nuclei","ref":"http/cves/2020/CVE-2020-5410.yaml","stars":null,"title":"Spring Cloud Config Server - Local File Inclusion"}],"tier":"exploited"},"has_fix":true,"headline":"VMware Tanzu Spring Cloud Config Directory Traversal","id":"CVE-2020-5410","indexable":true,"kev":{"dateAdded":"2022-03-25","dueDate":"2022-04-15","knownRansomwareCampaignUse":"Unknown","product":"Spring Cloud Configuration (Config) Server","requiredAction":"Apply updates per vendor instructions.","vendorProject":"VMware Tanzu","vulnerabilityName":"VMware Tanzu Spring Cloud Config Directory Traversal Vulnerability"},"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2020"},"n_packages":4,"n_references":1,"next":{"headline":"Jackson Configuration Allows Code Execution with Unknown \"Serialization Gadgets\"","id":"CVE-2020-5411"},"packages":[{"ecosystem":"Maven","fixed":["2.1.9"],"introduced":["2.1.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-config-server","purl":null,"source":"GHSA-32xf-jwmv-9hf3"},{"ecosystem":"Maven","fixed":["2.1.9"],"introduced":["2.1.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-config-server","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server","source":"GHSA-32xf-jwmv-9hf3"},{"ecosystem":"Maven","fixed":["2.2.3"],"introduced":["2.2.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-config-server","purl":null,"source":"GHSA-32xf-jwmv-9hf3"},{"ecosystem":"Maven","fixed":["2.2.3"],"introduced":["2.2.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-config-server","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server","source":"GHSA-32xf-jwmv-9hf3"}],"prev":{"headline":"Concourse Open Redirect in the /sky/login endpoint","id":"CVE-2020-5409"},"products":["Spring Cloud Config"],"published":"2020-06-02","related":[{"cvss_score":9.1,"headline":"Spring Cloud Config vulnerable to Path Traversal","id":"CVE-2026-40982","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":8.6,"headline":"Spring Cloud Config Profile Substitution Can Allow Unintended Access To Files And Enable SSRF Attacks","id":"CVE-2026-22739","kev_date_added":null,"published":"2026-03-24"},{"cvss_score":7.5,"headline":"Spring Cloud Config has an Authorization Bypass Through User-Controlled Key","id":"CVE-2026-40981","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":7.4,"headline":"Spring Cloud Config Server Susceptible To TOCTOU Attack","id":"CVE-2026-41002","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":7.2,"headline":"Spring Cloud Config Server Susceptible To TOCTOU Attack When Using SVN","id":"CVE-2026-47836","kev_date_added":null,"published":"2026-08-26"},{"cvss_score":6.8,"headline":"Spring Cloud Config Server Monitor Endpoint Does Not Validate Webhook Requests","id":"CVE-2026-47837","kev_date_added":null,"published":"2026-08-26"}],"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["Spring by VMware"]},"summary":"Attackers can read arbitrary configuration files from the server via crafted URLs in Spring Cloud Config Server.","url":"https://insights.sbomify.com/CVE-2020-5410/"}