CVE-2004-1772
CVE-2004-1772 is a medium-severity vulnerability in Gnu Sharutils with a CVSS 2.0 base score of 4.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.
Key facts
- Severity: Medium (CVSS 2.0 base score 4.6)
- EPSS exploit prediction: 1% (47th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Gnu Sharutils
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2004-1772?
- 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.
- How severe is CVE-2004-1772?
- CVE-2004-1772 has a CVSS 2.0 base score of 4.6, rated medium severity.
- Is CVE-2004-1772 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (47th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2004-1772?
- CVE-2004-1772 primarily affects Gnu Sharutils. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2004-1772?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2004-1772 published?
- CVE-2004-1772 was published on 2004-12-31 and last updated on 2026-06-16.
References
- http://marc.info/?l=bugtraq&m=108137386310299&w=2
- http://www.redhat.com/support/errata/RHSA-2005-377.html
- http://www.securityfocus.com/archive/1/359639
- http://www.securityfocus.com/bid/10066
- https://bugzilla.fedora.us/show_bug.cgi?id=2155
- https://exchange.xforce.ibmcloud.com/vulnerabilities/15759
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11722
Affected products (2)
- cpe:2.3:a:gnu:sharutils:4.2:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:sharutils:4.2.1:*:*:*:*:*:*:*
More vulnerabilities in Gnu Sharutils
- CVE-2018-1000097 — High (CVSS 7.8): Sharutils sharutils (unshar command) version 4.15.2 contains a Buffer Overflow vulnerability in Affected component on…
- CVE-2004-1773 — High (CVSS 7.5): Multiple buffer overflows in sharutils 4.2.1 and earlier may allow attackers to execute arbitrary code via (1) long…
- CVE-2002-0178 — High (CVSS 7.2): uudecode, as available in the sharutils package before 4.2.1, does not check whether the filename of the uudecoded file…
- CVE-2005-0990 — Low (CVSS 2.1): unshar (unshar.c) in sharutils 4.2.1 allows local users to overwrite arbitrary files via a symlink attack on the unsh.X…