Skip to content
OpenAdvisories
Unscored CVE-2004-1772 EUVD-2004-1766GHSA-c6qx-vg4x-8xrp

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 Mar 28, 2005 · Updated Aug 8, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 sharutils 1:4.2.1-11 —
Debian 13 sharutils 1:4.2.1-11 —
Debian 12 sharutils 1:4.2.1-11 —
ReleasePackageFixed inAdvisory
RHEL 4 sharutils 4.2.1-22.2 RHSA-2005:377
RHEL 3 sharutils 4.2.1-16.2 RHSA-2005:377

Advisories 1

References