{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-12474 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2018-12474 is a medium-severity path traversal vulnerability in openSUSE Open Build Service, published on 9 Oct 2018. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-12474 and fix it if it is affected.\n\nWhat it is: CVE-2018-12474 is a medium-severity path traversal vulnerability in openSUSE Open Build Service, published on 9 Oct 2018. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-12474 in the wild and no public exploit code.\n\nAffected product: openSUSE Open Build Service. 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-12474/ (Markdown: https://insights.sbomify.com/CVE-2018-12474/index.md)","id":"CVE-2018-12474","markdown":"https://insights.sbomify.com/CVE-2018-12474/index.md","name":"CVE-2018-12474","record":{"aliases":["GHSA-2g8g-ghh7-j7r3"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Open Build Service","requires_auth":"low_privilege","summary":"Remote attackers can exploit improper input validation to access files outside the build directory or create files in arbitrary locations.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microfocus","cpe":[{"product":"tar_scm","vendor":"opensuse"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Improper input validation in obs-service-tar_scm of Open Build Service allows remote attackers to cause access and extract information outside the current build or cause the creation of file in attacker controlled locations. Affected releases are openSUSE Open Build Service: versions prior to 51a17c553b6ae2598820b7a90fd0c11502a49106.","ecosystems":[],"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":"Crafted service parameters allows to induce unexpected behaviour in obs-service-tar_scm","id":"CVE-2018-12474","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2018"},"n_packages":0,"n_references":2,"next":{"headline":"obs-service-download_files allows downloading from localhost or intranet hosts","id":"CVE-2018-12475"},"packages":[],"prev":{"headline":"path traversal in obs-service-tar_scm","id":"CVE-2018-12473"},"products":["Open Build Service"],"published":"2018-10-09","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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 exploit improper input validation to access files outside the build directory or create files in arbitrary locations.","url":"https://insights.sbomify.com/CVE-2018-12474/"}