{"id":"CVE-2004-1773","aliases":["DEBIAN-CVE-2004-1773","EUVD-2004-1767","GHSA-jh4p-qrrg-9f8h","RHSA-2005:377"],"status":"published","title":"Multiple buffer overflows in sharutils 4.2.1 and earlier may allow attackers to execute arbitrary...","description":"Multiple buffer overflows in sharutils 4.2.1 and earlier may allow attackers to execute arbitrary code via (1) long output from wc to shar, or (2) unknown vectors in unshar.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.02992,"percentile":0.87425,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2004-12-31T05:00:00Z","modified":"2026-10-21T15:47:37Z","fixes":[{"ecosystem":"Debian:12","package":"sharutils","fixed_in":["1:4.2.1-12"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"sharutils","fixed_in":["1:4.2.1-12"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"sharutils","fixed_in":["1:4.2.1-12"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"sharutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.2.1-12"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"sharutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.2.1-12"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"sharutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.2.1-12"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"sharutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.2.1-16.2"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"sharutils-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.2.1-16.2"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"sharutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.2.1-16.2"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"sharutils-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.2.1-16.2"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"sharutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.2.1-16.2"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"sharutils-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.2.1-16.2"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"sharutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.2.1-16.2"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"sharutils-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.2.1-16.2"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"sharutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.2.1-22.2"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"sharutils-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.2.1-22.2"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"sharutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.2.1-22.2"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"sharutils-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.2.1-22.2"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"sharutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.2.1-22.2"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"sharutils-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.2.1-22.2"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"sharutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.2.1-22.2"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"sharutils-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.2.1-22.2"}]}],"bundled":3}],"products":[{"vendor":"gnu","product":"sharutils"}],"references":[{"url":"https://bugzilla.fedora.us/show_bug.cgi?id=2155","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Patch","fix"]},{"url":"http://security.gentoo.org/glsa/glsa-200410-01.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://www.securityfocus.com/bid/11298","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch","fix"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11093","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-377.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-1773","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-jh4p-qrrg-9f8h"},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-1773","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2005:377","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#low","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=152571","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=152573","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=154049","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_377.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-1772","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617417","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-1772","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-1772","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-1773","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617418","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-1773","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2005-0990","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617597","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2005-0990","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-0990","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-1773","description":"Multiple buffer overflows in sharutils 4.2.1 and earlier may allow attackers to execute arbitrary code via (1) long output from wc to shar, or (2) unknown vectors in unshar.","status":"published","published":"2005-03-28T05:00:00Z","modified":"2024-08-08T01:00:37.314Z","updated_at":"2026-11-02T14:34:54.063504Z"}],"euvd":[{"id":"EUVD-2004-1767","description":"Multiple buffer overflows in sharutils 4.2.1 and earlier may allow attackers to execute arbitrary code via (1) long output from wc to shar, or (2) unknown vectors in unshar.","status":"published","published":"2005-03-28T05:00:00Z","modified":"2024-08-08T01:00:37Z","updated_at":"2026-11-03T01:15:13.250393Z"}],"ghsa":[{"id":"GHSA-jh4p-qrrg-9f8h","title":"Multiple buffer overflows in sharutils 4.2.1 and earlier may allow attackers to execute arbitrary...","description":"Multiple buffer overflows in sharutils 4.2.1 and earlier may allow attackers to execute arbitrary code via (1) long output from wc to shar, or (2) unknown vectors in unshar.","status":"published","published":"2022-04-29T03:00:11Z","modified":"2023-01-30T05:03:43Z","updated_at":"2026-11-02T14:46:53.787992Z"}],"nvd":[{"id":"CVE-2004-1773","description":"Multiple buffer overflows in sharutils 4.2.1 and earlier may allow attackers to execute arbitrary code via (1) long output from wc to shar, or (2) unknown vectors in unshar.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2026-06-16T22:08:22.377Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:52.459805Z"}],"osv":[{"id":"CVE-2004-1773","description":"Multiple buffer overflows in sharutils 4.2.1 and earlier may allow attackers to execute arbitrary code via (1) long output from wc to shar, or (2) unknown vectors in unshar.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2026-04-10T03:36:38.982458Z","updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2004-1773","description":"Multiple buffer overflows in sharutils 4.2.1 and earlier may allow attackers to execute arbitrary code via (1) long output from wc to shar, or (2) unknown vectors in unshar.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2026-10-21T15:47:37.340086098Z","updated_at":"2026-11-02T15:45:22.55978Z"},{"id":"RHSA-2005:377","title":"Red Hat Security Advisory: sharutils security update","status":"published","published":"2024-09-15T15:25:18Z","modified":"2026-06-26T10:02:58Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
