{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2008-5374 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2008-5374 is a medium-severity path traversal vulnerability in n/a, published on 8 Dec 2008. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2008-5374 and fix it if it is affected.\n\nWhat it is: CVE-2008-5374 is a medium-severity path traversal vulnerability in n/a, published on 8 Dec 2008. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2008-5374 in the wild and no public exploit code.\n\nAffected product: n/a. 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-2008-5374/ (Markdown: https://insights.sbomify.com/CVE-2008-5374/index.md)","id":"CVE-2008-5374","markdown":"https://insights.sbomify.com/CVE-2008-5374/index.md","name":"CVE-2008-5374","record":{"aliases":["DEBIAN-CVE-2008-5374","GHSA-g9rc-p3rq-j6mc","RHSA-2011:0261","RHSA-2011:1073"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Bash documentation scripts","requires_auth":"low_privilege","summary":"Local attackers can overwrite arbitrary files via symlink attacks on temporary files in bash documentation scripts.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"bash-doc","vendor":"matthias_klose"}],"cvss":{"score":6.9,"severity":"medium","source":"nvd","vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"bash-doc 3.2 allows local users to overwrite arbitrary files via a symlink attack on a /tmp/cb#####.? temporary file, related to the (1) aliasconv.sh, (2) aliasconv.bash, and (3) cshtobash scripts.","ecosystems":["Red Hat:enterprise_linux:4::as","Red Hat:enterprise_linux:4::desktop","Red Hat:enterprise_linux:4::es","Red Hat:enterprise_linux:4::ws","Red Hat:enterprise_linux:5::client","Red Hat:enterprise_linux:5::server"],"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":"Path traversal in n/a","id":"CVE-2008-5374","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2008"},"n_packages":12,"n_references":10,"next":{"headline":"Path traversal in n/a","id":"CVE-2008-5375"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:3.0-27.el4"],"introduced":["0"],"last_affected":[],"package":"bash","purl":"pkg:rpm/redhat/bash","source":"RHSA-2011:0261"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:3.0-27.el4"],"introduced":["0"],"last_affected":[],"package":"bash-debuginfo","purl":"pkg:rpm/redhat/bash-debuginfo","source":"RHSA-2011:0261"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:3.0-27.el4"],"introduced":["0"],"last_affected":[],"package":"bash","purl":"pkg:rpm/redhat/bash","source":"RHSA-2011:0261"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:3.0-27.el4"],"introduced":["0"],"last_affected":[],"package":"bash-debuginfo","purl":"pkg:rpm/redhat/bash-debuginfo","source":"RHSA-2011:0261"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:3.0-27.el4"],"introduced":["0"],"last_affected":[],"package":"bash","purl":"pkg:rpm/redhat/bash","source":"RHSA-2011:0261"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:3.0-27.el4"],"introduced":["0"],"last_affected":[],"package":"bash-debuginfo","purl":"pkg:rpm/redhat/bash-debuginfo","source":"RHSA-2011:0261"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:3.0-27.el4"],"introduced":["0"],"last_affected":[],"package":"bash","purl":"pkg:rpm/redhat/bash","source":"RHSA-2011:0261"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:3.0-27.el4"],"introduced":["0"],"last_affected":[],"package":"bash-debuginfo","purl":"pkg:rpm/redhat/bash-debuginfo","source":"RHSA-2011:0261"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:3.2-32.el5"],"introduced":["0"],"last_affected":[],"package":"bash","purl":"pkg:rpm/redhat/bash","source":"RHSA-2011:1073"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:3.2-32.el5"],"introduced":["0"],"last_affected":[],"package":"bash-debuginfo","purl":"pkg:rpm/redhat/bash-debuginfo","source":"RHSA-2011:1073"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:3.2-32.el5"],"introduced":["0"],"last_affected":[],"package":"bash","purl":"pkg:rpm/redhat/bash","source":"RHSA-2011:1073"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:3.2-32.el5"],"introduced":["0"],"last_affected":[],"package":"bash-debuginfo","purl":"pkg:rpm/redhat/bash-debuginfo","source":"RHSA-2011:1073"}],"prev":{"headline":"Path traversal in n/a","id":"CVE-2008-5373"},"products":["n/a"],"published":"2008-12-08","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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-08-07","vendors":["n/a"]},"summary":"Local attackers can overwrite arbitrary files via symlink attacks on temporary files in bash documentation scripts.","url":"https://insights.sbomify.com/CVE-2008-5374/"}