{"answers":{"affected":"4 open source packages ship an affected version, including org.springframework:spring-core. It affects 28 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-1271 exists.","fix":"Upgrade org.springframework:spring-core to a fixed version for your release line: 4.3.15 or 5.0.5.","what":"CVE-2018-1271 is a medium-severity path traversal vulnerability in Oracle Application Testing Suite, published on 6 Apr 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-1271 and fix it if it is affected.\n\nWhat it is: CVE-2018-1271 is a medium-severity path traversal vulnerability in Oracle Application Testing Suite, published on 6 Apr 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-1271 exists.\n\nAffected packages and fixed versions:\n- org.springframework:spring-core (Maven): affected all versions; fixed in 4.3.15\n- org.springframework:spring-core (Maven): affected all versions; fixed in 4.3.15\n- org.springframework:spring-core (Maven): affected from 5.0.0; fixed in 5.0.5\n- org.springframework:spring-core (Maven): affected from 5.0.0; fixed in 5.0.5\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-2018-1271/ (Markdown: https://insights.sbomify.com/CVE-2018-1271/index.md)","id":"CVE-2018-1271","markdown":"https://insights.sbomify.com/CVE-2018-1271/index.md","name":"CVE-2018-1271","record":{"aliases":["GHSA-g8hw-794c-4j9g"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Java web framework","requires_auth":"none","summary":"Attackers can read arbitrary files on Windows servers if Spring MVC is configured to serve static resources from the file system.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"dell","cpe":[{"product":"application_testing_suite","vendor":"oracle"},{"product":"big_data_discovery","vendor":"oracle"},{"product":"communications_converged_application_server","vendor":"oracle"},{"product":"communications_diameter_signaling_router","vendor":"oracle"},{"product":"communications_performance_intelligence_center","vendor":"oracle"},{"product":"communications_policy_management","vendor":"oracle"},{"product":"communications_services_gatekeeper","vendor":"oracle"},{"product":"enterprise_manager_ops_center","vendor":"oracle"},{"product":"goldengate_for_big_data","vendor":"oracle"},{"product":"health_sciences_information_manager","vendor":"oracle"},{"product":"healthcare_master_person_index","vendor":"oracle"},{"product":"insurance_calculation_engine","vendor":"oracle"},{"product":"insurance_rules_palette","vendor":"oracle"},{"product":"primavera_gateway","vendor":"oracle"},{"product":"rapid_planning","vendor":"oracle"},{"product":"retail_back_office","vendor":"oracle"},{"product":"retail_central_office","vendor":"oracle"},{"product":"retail_customer_insights","vendor":"oracle"},{"product":"retail_integration_bus","vendor":"oracle"},{"product":"retail_open_commerce_platform","vendor":"oracle"},{"product":"retail_order_broker","vendor":"oracle"},{"product":"retail_point-of-sale","vendor":"oracle"},{"product":"retail_predictive_application_server","vendor":"oracle"},{"product":"retail_returns_management","vendor":"oracle"},{"product":"retail_xstore_point_of_service","vendor":"oracle"},{"product":"service_architecture_leveraging_tuxedo","vendor":"oracle"},{"product":"tape_library_acsls","vendor":"oracle"},{"product":"spring_framework","vendor":"vmware"}],"cvss":{"score":5.9,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/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"}],"description":"Spring Framework, versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.15 and older unsupported versions, allow applications to configure Spring MVC to serve static resources (e.g. CSS, JS, images). When static resources are served from a file system on Windows (as opposed to the classpath, or the ServletContext), a malicious user can send a request using a specially crafted URL that can lead a directory traversal attack.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2018/CVE-2018-1271.yaml","stars":null,"title":"Spring MVC Framework - Local File Inclusion"}],"tier":"weaponised"},"has_fix":true,"headline":"Path Traversal in org.springframework:spring-core","id":"CVE-2018-1271","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"oracle:application_testing_suite","products":["oracle:application_testing_suite","oracle:communications_diameter_signaling_router","oracle:communications_policy_management","oracle:enterprise_manager_ops_center","oracle:primavera_gateway","oracle:retail_xstore_point_of_service","vmware:spring_framework"],"type":"path_traversal","year":"2018"},"n_packages":4,"n_references":11,"next":{"headline":"Possible privilege escalation in org.springframework:spring-core","id":"CVE-2018-1272"},"packages":[{"ecosystem":"Maven","fixed":["4.3.15"],"introduced":["0"],"last_affected":[],"package":"org.springframework:spring-core","purl":null,"source":"GHSA-g8hw-794c-4j9g"},{"ecosystem":"Maven","fixed":["4.3.15"],"introduced":["0"],"last_affected":[],"package":"org.springframework:spring-core","purl":"pkg:maven/org.springframework/spring-core","source":"GHSA-g8hw-794c-4j9g"},{"ecosystem":"Maven","fixed":["5.0.5"],"introduced":["5.0.0"],"last_affected":[],"package":"org.springframework:spring-core","purl":null,"source":"GHSA-g8hw-794c-4j9g"},{"ecosystem":"Maven","fixed":["5.0.5"],"introduced":["5.0.0"],"last_affected":[],"package":"org.springframework:spring-core","purl":"pkg:maven/org.springframework/spring-core","source":"GHSA-g8hw-794c-4j9g"}],"prev":{"headline":"Spring Framework allows applications to expose STOMP over WebSocket endpoints","id":"CVE-2018-1270"},"products":["Spring Framework"],"published":"2018-04-06","related":[{"cvss_score":9.8,"headline":"Auth bypass in Oracle Application Testing Suite","id":"CVE-2026-35290","kev_date_added":null,"published":"2026-07-21"},{"cvss_score":9.8,"headline":"Auth bypass in Oracle Application Testing Suite","id":"CVE-2026-46876","kev_date_added":null,"published":"2026-07-21"},{"cvss_score":9.8,"headline":"Auth bypass in Oracle Application Testing Suite","id":"CVE-2026-46924","kev_date_added":null,"published":"2026-07-21"},{"cvss_score":9.8,"headline":"Auth bypass in Enterprise Repository","id":"CVE-2019-2904","kev_date_added":null,"published":"2019-10-16"},{"cvss_score":9.8,"headline":"Spring Framework has Improperly Implemented Security Check for Standard","id":"CVE-2018-1275","kev_date_added":null,"published":"2018-04-11"},{"cvss_score":9.1,"headline":"Missing authorization in Oracle Application Testing Suite","id":"CVE-2026-70862","kev_date_added":null,"published":"2026-08-18"},{"cvss_score":8.8,"headline":"Auth bypass in Oracle Application Testing Suite","id":"CVE-2026-70863","kev_date_added":null,"published":"2026-08-18"}],"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":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Spring by Pivotal"]},"summary":"Attackers can read arbitrary files on Windows servers if Spring MVC is configured to serve static resources from the file system.","url":"https://insights.sbomify.com/CVE-2018-1271/"}