LiveActive security incident?Get immediate response
CVE Record

CVE-2004-1772: Stack-based buffer overflow in shar in GNU sharutils 4.2.1 allows local users to execute arbitrary code via...

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysis

Security readout for executives and security teams

CVE-2004-1772 is an old local-code-execution issue in GNU sharutils 4.2.1. A user with local access could trigger a stack buffer overflow in the shar utility using an overly long output option. This is mainly a legacy-system hygiene risk, not an internet-facing service issue based on the provided sources. Exposure is most likely on older Unix/Linux systems where GNU sharutils 4.2.1 or vulnerable vendor packages remain installed and local users can execute shar. Modern systems without sharutils, or with vendor-fixed packages, are less likely exposed. Treat this as a moderate-priority legacy exposure item. It should not outrank remotely exploitable current vulnerabilities, but it is worth closing during legacy Linux cleanup or local-user hardening work. Mitigation focus: Inventory systems for GNU sharutils, especially version 4.2.1.; Apply applicable vendor security updates from relevant distribution advisories.; Remove sharutils where the package is not operationally required..

Prepared

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2004-1772 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.