{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2004-1027 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2004-1027 is a medium-severity path traversal vulnerability in Debian Debian Linux, published on 16 Nov 2004. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2004-1027 and fix it if it is affected.\n\nWhat it is: CVE-2004-1027 is a medium-severity path traversal vulnerability in Debian Debian Linux, published on 16 Nov 2004. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2004-1027 in the wild and no public exploit code.\n\nAffected product: Debian Debian Linux. 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-1027/ (Markdown: https://insights.sbomify.com/CVE-2004-1027/index.md)","id":"CVE-2004-1027","markdown":"https://insights.sbomify.com/CVE-2004-1027/index.md","name":"CVE-2004-1027","record":{"aliases":["GHSA-8p77-cqww-99jh"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"unarj archive utility","requires_auth":"none","summary":"Remote attackers can overwrite arbitrary files via path traversal in unarj archives, requiring user extraction.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"unarj","vendor":"arjsoftware"},{"product":"debian_linux","vendor":"debian"},{"product":"linux","vendor":"gentoo"}],"cvss":{"score":5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","version":"2.0"},"cwes":[],"description":"Directory traversal vulnerability in the -x (extract) command line option in unarj allows remote attackers to overwrite arbitrary files via an arj archive with filenames that contain .. (dot dot) sequences.","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":"Path traversal in n/a","id":"CVE-2004-1027","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux","gentoo:linux"],"type":"path_traversal","year":"2004"},"n_packages":0,"n_references":8,"next":{"headline":"Command injection in n/a","id":"CVE-2004-1028"},"packages":[],"prev":{"headline":"Integer overflow in n/a","id":"CVE-2004-1026"},"products":["n/a"],"published":"2004-11-16","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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"Remote attackers can overwrite arbitrary files via path traversal in unarj archives, requiring user extraction.","url":"https://insights.sbomify.com/CVE-2004-1027/"}