CVE-2004-1772 json
Stack-based buffer overflow in shar in GNU sharutils 4.2.1 allows local users to execute arbitrary code via a long -o command line argument.
published 2004-12-31 21 y ago modified 2026-06-16 4 mo ago also EUVD-2004-1766
- cvss
- 4.6
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
Stack-based buffer overflow in shar in GNU sharutils 4.2.1 allows local users to execute arbitrary code via a long -o command line argument.
Patch / fix
- sharutils Debian 14, Debian 13, Debian 12 1:4.2.1-11
debian advisories DEBIAN-CVE-2004-1772
- sharutils RHEL 3 4.2.1-16.2
- sharutils RHEL 4 4.2.1-22.2
red hat advisories RHSA-2005:377
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2004-1772 updated
security flaw
-
Red Hat Desktop version 3 sharutils 4.2.1-16.2 Red Hat Enterprise Linux AS version 3 sharutils 4.2.1-16.2 Red Hat Enterprise Linux AS version 4 sharutils 4.2.1-22.2 Red Hat Enterprise Linux Desktop version 4 sharutils 4.2.1-22.2 Red Hat Enterprise Linux ES version 3 sharutils 4.2.1-16.2 Red Hat Enterprise Linux ES version 4 sharutils 4.2.1-22.2fixed: vendor fix RHSA-2005:377
+2 more productsfewer
Red Hat Enterprise Linux WS version 3 sharutils 4.2.1-16.2 Red Hat Enterprise Linux WS version 4 sharutils 4.2.1-22.2
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.65% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- securityfocus.com http://www.securityfocus.com/archive/1/359639 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
References
-
bugzilla.fedora.us
/show_bug.cgi?id=2155
vendor-advisory, patch
-
securityfocus.com
/bid/10066
vdb-entry, patch
-
securityfocus.com
/archive/1/359639
mailing-list, exploit, patch
-
marc.info
/?l=bugtraq&m=108137386310299&w=2
vendor-advisory
-
redhat.com
/support/errata/RHSA-2005-377.html
vendor-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11722
vdb-entry, signature
-
exchange.xforce.ibmcloud.com
/vulnerabilities/15759
vdb-entry
Sources
- CVE List CVE-2004-1772
- NVD CVE-2004-1772
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.