CVE-2004-2771

NameCVE-2004-2771
DescriptionThe expand function in fio.c in Heirloom mailx 12.5 and earlier and BSD mailx 8.1.2 and earlier allows remote attackers to execute arbitrary commands via shell metacharacters in an email address.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-114-1, DSA-3105-1
NVD severityhigh (attack range: remote)
Debian Bugs278748, 773417

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
bsd-mailx (PTS)wheezy, wheezy (security)8.1.2-0.20111106cvs-1+deb7u1fixed
jessie8.1.2-0.20141216cvs-2fixed
buster, sid, stretch8.1.2-0.20160123cvs-4fixed
heirloom-mailx (PTS)wheezy, wheezy (security)12.5-2+deb7u1fixed
jessie12.5-4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
bsd-mailxsource(unstable)8.1.2-0.20071201cvs-1high
heirloom-mailxsource(unstable)12.5-3.1high773417
heirloom-mailxsourcesqueeze12.4-2+deb6u1highDLA-114-1
heirloom-mailxsourcewheezy12.5-2+deb7u1highDSA-3105-1
mailxsource(unstable)1:8.1.2-0.20040524cvs-2high278748

Search for package or bug name: Reporting problems