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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-114-1, DSA-3105-1
Debian Bugs278748, 773417

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
bsd-mailx (PTS)buster8.1.2-0.20180807cvs-1fixed
bullseye8.1.2-0.20180807cvs-2fixed
sid, trixie, bookworm8.1.2-0.20220412cvs-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
bsd-mailxsource(unstable)8.1.2-0.20071201cvs-1
heirloom-mailxsourcesqueeze12.4-2+deb6u1DLA-114-1
heirloom-mailxsourcewheezy12.5-2+deb7u1DSA-3105-1
heirloom-mailxsource(unstable)12.5-3.1773417
mailxsource(unstable)1:8.1.2-0.20040524cvs-2278748

Search for package or bug name: Reporting problems