{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-1689 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2004-1689 is a low-severity path traversal vulnerability in n/a, published on 20 Feb 2005. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2004-1689 and fix it if it is affected.\n\nWhat it is: CVE-2004-1689 is a low-severity path traversal vulnerability in n/a, published on 20 Feb 2005. It can only be exploited from the same machine or local network, 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-2004-1689 exists.\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-2004-1689/ (Markdown: https://insights.sbomify.com/CVE-2004-1689/index.md)","id":"CVE-2004-1689","markdown":"https://insights.sbomify.com/CVE-2004-1689/index.md","name":"CVE-2004-1689","record":{"aliases":["DEBIAN-CVE-2004-1689","GHSA-53qq-7f4q-p4vg"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"sudo utility","requires_auth":"low_privilege","summary":"Local attackers can read arbitrary files by exploiting a symlink vulnerability in sudoedit's temporary file handling.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"sudo","vendor":"todd_miller"}],"cvss":{"score":2.1,"severity":"low","source":"nvd","vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","version":"2.0"},"cwes":[],"description":"sudoedit (aka sudo -e) in sudo 1.6.8 opens a temporary file with root privileges, which allows local users to read arbitrary files via a symlink attack on the temporary file before quitting sudoedit.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2004-09-21","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2004-09-21","kind":"exploitdb","ref":"470","stars":null,"title":"SudoEdit 1.6.8 - Local Change Permission"}],"tier":"weaponised"},"has_fix":true,"headline":"Path traversal in n/a","id":"CVE-2004-1689","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2004"},"n_packages":0,"n_references":9,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2004-1690"},"packages":[],"prev":{"headline":"Denial of service in n/a","id":"CVE-2004-1688"},"products":["n/a"],"published":"2005-02-20","related":[{"cvss_score":8.4,"headline":"Privilege escalation in n/a","id":"CVE-2005-1831","kev_date_added":null,"published":"2005-06-02"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2012-2337","kev_date_added":null,"published":"2012-05-18"},{"cvss_score":7.2,"headline":"Memory corruption in n/a","id":"CVE-2012-0809","kev_date_added":null,"published":"2012-02-01"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2006-0151","kev_date_added":null,"published":"2006-01-09"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2002-0043","kev_date_added":null,"published":"2002-06-25"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-1999-0958","kev_date_added":null,"published":"2000-04-18"},{"cvss_score":7,"headline":"Security feature bypass in n/a","id":"CVE-2016-7032","kev_date_added":null,"published":"2017-04-14"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"Local attackers can read arbitrary files by exploiting a symlink vulnerability in sudoedit's temporary file handling.","url":"https://insights.sbomify.com/CVE-2004-1689/"}