{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-12477 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2018-12477 is a low-severity path traversal vulnerability in Opensuse Leap, published on 9 Oct 2018. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-12477 and fix it if it is affected.\n\nWhat it is: CVE-2018-12477 is a low-severity path traversal vulnerability in Opensuse Leap, published on 9 Oct 2018. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2018-12477 in the wild and no public exploit code.\n\nAffected product: Opensuse Leap. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-12477/ (Markdown: https://insights.sbomify.com/CVE-2018-12477/index.md)","id":"CVE-2018-12477","markdown":"https://insights.sbomify.com/CVE-2018-12477/index.md","name":"CVE-2018-12477","record":{"aliases":["GHSA-vp32-rg8f-2jxg","openSUSE-SU-2024:11105-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Open Build Service","requires_auth":"low_privilege","summary":"Remote attackers can trick the Open Build Service into deleting arbitrary directories, including parent directories, via improper CRLF sequence handling.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microfocus","cpe":[{"product":"leap","vendor":"opensuse"}],"cvss":{"score":3.5,"severity":"low","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"description":"A Improper Neutralization of CRLF Sequences vulnerability in Open Build Service allows remote attackers to cause deletion of directories by tricking obs-service-refresh_patches to delete them. Affected releases are openSUSE Open Build Service: versions prior to d6244245dda5367767efc989446fe4b5e4609cce.","ecosystems":["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":"obs-service-refresh_patches can be tricked into deleting '..' or other unrelated directories","id":"CVE-2018-12477","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"opensuse:leap","products":["opensuse:leap"],"type":"path_traversal","year":"2018"},"n_packages":1,"n_references":1,"next":{"headline":"obs-service-replace_using_package_version allows to specify arbitrary input files","id":"CVE-2018-12478"},"packages":[{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.3.9+git.1625238904.d59f20e-1.2"],"introduced":["0"],"last_affected":[],"package":"obs-service-refresh_patches","purl":"pkg:rpm/opensuse/obs-service-refresh_patches\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11105-1"}],"prev":{"headline":"obs-service-extract_file's outfilename parameter allows to write files outside of package directory","id":"CVE-2018-12476"},"products":["Open Build Service"],"published":"2018-10-09","related":[{"cvss_score":5.3,"headline":"Oracle Java SE Integrity Check","id":"CVE-2015-4902","kev_date_added":"2022-03-03","published":"2015-10-21"},{"cvss_score":9.9,"headline":"package builds could use directory traversal to write outside of target area","id":"CVE-2017-14804","kev_date_added":null,"published":"2018-03-01"},{"cvss_score":9.8,"headline":"Teeworlds before 0.7.4 has an integer overflow when computing a tilemap size.","id":"CVE-2019-20787","kev_date_added":null,"published":"2020-04-22"},{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2019-8341","kev_date_added":null,"published":"2019-02-15"},{"cvss_score":9.8,"headline":"Other in n/a","id":"CVE-2019-6438","kev_date_added":null,"published":"2019-01-31"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-18215","kev_date_added":null,"published":"2018-03-05"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-6542","kev_date_added":null,"published":"2017-03-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["openSUSE"]},"summary":"Remote attackers can trick the Open Build Service into deleting arbitrary directories, including parent directories, via improper CRLF sequence handling.","url":"https://insights.sbomify.com/CVE-2018-12477/"}