Skip to content
OpenAdvisories
Unscored CVE-2004-2771 EUVD-2004-2761GHSA-3f68-9fxg-g2j6

The 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 arbitrar…

Published Dec 24, 2014 · Updated Aug 8, 2024 · Assigned by redhat

Description

The 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.

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 bsd-mailx 8.1.2-0.20071201cvs-1 —
Debian 13 bsd-mailx 8.1.2-0.20071201cvs-1 —
Debian 12 bsd-mailx 8.1.2-0.20071201cvs-1 —
Debian 7 heirloom-mailx 12.5-2+deb7u1 DSA-3105-1
Debian 6.0 heirloom-mailx 12.4-2+deb6u1 DLA-114-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS heirloom-mailx 12.5-2+deb7u1build0.14.04.1 —
ReleasePackageFixed inAdvisory
RHEL 7 mailx 12.5-12.el7_0 RHSA-2014:1999
RHEL 6 mailx 12.4-8.el6_6 RHSA-2014:1999
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed mailx 12.5-24.4 openSUSE-SU-2024:10561-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 mailx 12.5-36 —
Azure Linux 2 (CBL-Mariner) mailx 12.5-34 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 mailx 12.5-12.el7_0 ELSA-2014-1999

Advisories 5

References