{"id":"CVE-2004-1027","aliases":["DSA-652-1","EUVD-2004-1025","GHSA-8p77-cqww-99jh","MGASA-2023-0107"],"status":"published","title":"Directory traversal vulnerability in the -x (extract) command line option in unarj allows remote...","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.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-06","score":0.03772,"percentile":0.89983,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2004-11-16T05:00:00Z","modified":"2026-06-16T22:06:52Z","affected":[{"source":"osv","ecosystem":"Debian:3.0","package":"unarj","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.43-3woody1"}]}],"versions":["2.41a-2","2.41a-5","2.41a-6","2.43-3"],"bundled":2},{"source":"osv","ecosystem":"Mageia:8","package":"unarj","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.65-6.1.mga8.tainted"}]}],"bundled":2}],"products":[{"vendor":"arjsoftware","product":"unarj"},{"vendor":"debian","product":"debian_linux"},{"vendor":"gentoo","product":"linux"}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17684","tags":["vdb-entry","x_refsource_XF","x_transferred","VDB Entry"]},{"url":"http://www.debian.org/security/2005/dsa-652","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-007.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory"]},{"url":"http://www.debian.org/security/2005/dsa-628","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/11436","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch","Third Party Advisory","VDB Entry","Vendor Advisory"]},{"url":"http://lwn.net/Articles/121827/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Third Party Advisory"]},{"url":"http://security.gentoo.org/glsa/glsa-200411-29.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory"]},{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2004-October/027348.html","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-1027"},{"url":"http://lwn.net/Articles/121827"},{"url":"https://github.com/advisories/GHSA-8p77-cqww-99jh"},{"url":"https://advisories.mageia.org/MGASA-2023-0107.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=31546","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2004-1027","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.","status":"published","published":"2004-11-16T05:00:00Z","modified":"2024-08-08T00:38:59.903Z","updated_at":"2026-11-02T14:34:54.063504Z"}],"euvd":[{"id":"EUVD-2004-1025","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.","status":"published","published":"2004-11-16T05:00:00Z","modified":"2024-08-08T00:38:59Z","updated_at":"2026-11-03T01:15:16.711153Z"}],"ghsa":[{"id":"GHSA-8p77-cqww-99jh","title":"Directory traversal vulnerability in the -x (extract) command line option in unarj allows remote...","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.","status":"published","published":"2022-04-29T02:58:49Z","modified":"2025-04-03T04:09:26Z","updated_at":"2026-11-02T15:00:41.179225Z"}],"nvd":[{"id":"CVE-2004-1027","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.","status":"published","published":"2005-03-01T05:00:00Z","modified":"2026-06-16T22:06:52.823Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:00:53.662124Z"}],"osv":[{"id":"DSA-652-1","title":"unarj","status":"published","published":"2005-01-21T00:00:00Z","modified":"2026-03-09T02:09:47.023592Z","updated_at":"2026-11-02T15:46:18.296714Z"},{"id":"MGASA-2023-0107","title":"Updated unarj packages fix security vulnerability","description":"Buffer overflow in unarj before 2.63a-r2 allows remote attackers to execute\narbitrary code via an arj archive that contains long filenames.\n(CVE-2004-0947)\nDirectory traversal vulnerability in the -x (extract) command line option\nin unarj allows remote attackers to overwrite arbitrary files via an arj\narchive with filenames that contain .. (dot dot) sequences. (CVE-2004-1027)\n","status":"published","published":"2023-03-24T05:55:49Z","modified":"2026-04-16T04:42:28.810319894Z","updated_at":"2026-11-02T15:49:42.263076Z"}]}}
