Skip to content
Heist/ feed
Back to feed
UnratedFix available

sharutils — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2004-1773

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.

Products
sharutils
Affected versions
Not specified
Fixed versions
1:4.2.1-12
CVEs
CVE-2004-1773
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 14:26 UTC · Revision 1

Source evidence

DEBIAN-CVE-2004-1773

core-osv · Original source

Published 31 Dec 2004, 05:00 UTC

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.

osv:DEBIAN-CVE-2004-1773

sharutils

Fixed versions: 1:4.2.1-12

sharutils

Fixed versions: 1:4.2.1-12

sharutils

Fixed versions: 1:4.2.1-12

Complete source record
{
  "id": "2786ea86b1ae4e138bb97d38071839651522ec56cba3bf5c9558fcad0c019bcf",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2004-1773",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2004-1773",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2004-1773",
    "products": [
      {
        "name": {
          "value": "sharutils",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:4.2.1-12",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "sharutils",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:4.2.1-12",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "sharutils",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:4.2.1-12",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "DEBIAN-CVE-2004-1773",
      "aliases": [
        "DEBIAN-CVE-2004-1773"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:4.2.1-12"
                }
              ]
            }
          ],
          "package": {
            "name": "sharutils",
            "purl": "pkg:deb/debian/sharutils?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2004-1773.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:4.2.1-12"
                }
              ]
            }
          ],
          "package": {
            "name": "sharutils",
            "purl": "pkg:deb/debian/sharutils?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2004-1773.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:4.2.1-12"
                }
              ]
            }
          ],
          "package": {
            "name": "sharutils",
            "purl": "pkg:deb/debian/sharutils?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2004-1773.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-21T15:47:37.340086098Z",
      "provider": "osv",
      "upstream": [
        "CVE-2004-1773"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2004-1773"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2004-1773",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 394048,
  "published_at": "2004-12-31T05:00:00+00:00"
}