{"answers":{"affected":"6 open source packages ship an affected version, including org.springframework.cloud:spring-cloud-config-server. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-3799 exists.","fix":"Upgrade org.springframework.cloud:spring-cloud-config-server to a fixed version for your release line: 1.4.6, 2.0.4 or 2.1.2.","what":"CVE-2019-3799 is a medium-severity path traversal vulnerability in Oracle Communications Cloud Native Core Policy, published on 6 May 2019. 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-2019-3799 and fix it if it is affected.\n\nWhat it is: CVE-2019-3799 is a medium-severity path traversal vulnerability in Oracle Communications Cloud Native Core Policy, published on 6 May 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-3799 exists.\n\nAffected packages and fixed versions:\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected all versions; fixed in 1.4.6\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected all versions; fixed in 1.4.6\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected from 2.0.0; fixed in 2.0.4\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected from 2.0.0; fixed in 2.0.4\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected from 2.1.0; fixed in 2.1.2\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected from 2.1.0; fixed in 2.1.2\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-2019-3799/ (Markdown: https://insights.sbomify.com/CVE-2019-3799/index.md)","id":"CVE-2019-3799","markdown":"https://insights.sbomify.com/CVE-2019-3799/index.md","name":"CVE-2019-3799","record":{"aliases":["GHSA-4x49-w62v-76q7"],"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 via directory traversal in Spring Cloud Config Server, exposing sensitive data.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"dell","cpe":[{"product":"communications_cloud_native_core_policy","vendor":"oracle"},{"product":"spring_cloud_config","vendor":"vmware"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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"}],"description":"Spring Cloud Config, versions 2.1.x prior to 2.1.2, versions 2.0.x prior to 2.0.4, and versions 1.4.x prior to 1.4.6, 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 a directory traversal attack.","ecosystems":["Maven"],"exploits":{"exploitdb":2,"first_seen":"2019-04-17","github_poc":2,"max_poc_stars":31,"metasploit":1,"nuclei":1,"refs":[{"date":"2019-04-17T21:19:32Z","kind":"github_poc","ref":"https://github.com/mpgn/CVE-2019-3799","stars":31,"title":"CVE-2019-3799 - Spring Cloud Config Server: Directory Traversal \u003c 2.1.2, 2.0.4, 1.4.6"},{"date":"2019-04-17","kind":"metasploit","ref":"auxiliary/scanner/http/springcloud_traversal","stars":null,"title":"Spring Cloud Config Server Directory Traversal"},{"date":"2019-04-30","kind":"exploitdb","ref":"46772","stars":null,"title":"Spring Cloud Config 2.1.x - Path Traversal (Metasploit)"},{"date":"2019-04-30","kind":"exploitdb","ref":"46772","stars":null,"title":"Spring Cloud Config 2.1.x - Path Traversal (Metasploit)"},{"date":"2022-04-07T14:51:52Z","kind":"github_poc","ref":"https://github.com/Corgizz/SpringCloud","stars":0,"title":"Spring Cloud Config CVE-2019-3799|CVE_2020_5410 漏洞检测"},{"date":null,"kind":"nuclei","ref":"http/cves/2019/CVE-2019-3799.yaml","stars":null,"title":"Spring Cloud Config Server - Local File Inclusion"}],"tier":"weaponised"},"has_fix":true,"headline":"Directory Traversal with spring-cloud-config-server","id":"CVE-2019-3799","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"oracle:communications_cloud_native_core_policy","products":["oracle:communications_cloud_native_core_policy"],"type":"path_traversal","year":"2019"},"n_packages":6,"n_references":2,"next":{"headline":"CF CLI writes the client id and secret to config file","id":"CVE-2019-3800"},"packages":[{"ecosystem":"Maven","fixed":["1.4.6"],"introduced":["0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-config-server","purl":null,"source":"GHSA-4x49-w62v-76q7"},{"ecosystem":"Maven","fixed":["1.4.6"],"introduced":["0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-config-server","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server","source":"GHSA-4x49-w62v-76q7"},{"ecosystem":"Maven","fixed":["2.0.4"],"introduced":["2.0.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-config-server","purl":null,"source":"GHSA-4x49-w62v-76q7"},{"ecosystem":"Maven","fixed":["2.0.4"],"introduced":["2.0.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-config-server","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server","source":"GHSA-4x49-w62v-76q7"},{"ecosystem":"Maven","fixed":["2.1.2"],"introduced":["2.1.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-config-server","purl":null,"source":"GHSA-4x49-w62v-76q7"},{"ecosystem":"Maven","fixed":["2.1.2"],"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-4x49-w62v-76q7"}],"prev":{"headline":"Escalation of Privileges in Cloud Controller","id":"CVE-2019-3798"},"products":["Spring Cloud Config"],"published":"2019-05-06","related":[{"cvss_score":7.5,"headline":"Denial of service in Outside In Technology","id":"CVE-2021-35574","kev_date_added":null,"published":"2021-10-20"},{"cvss_score":7.5,"headline":"Resource Exhaustion in Spring Security","id":"CVE-2021-22119","kev_date_added":null,"published":"2021-06-29"},{"cvss_score":7.3,"headline":"Prototype Pollution","id":"CVE-2021-23440","kev_date_added":null,"published":"2021-09-12"},{"cvss_score":5.9,"headline":"Observable Timing Discrepancy in aaugustin websockets library","id":"CVE-2021-33880","kev_date_added":null,"published":"2021-06-06"}],"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)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["Spring"]},"summary":"Attackers can read arbitrary configuration files via directory traversal in Spring Cloud Config Server, exposing sensitive data.","url":"https://insights.sbomify.com/CVE-2019-3799/"}