CVE-2002-1271 Command injection in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary commands via the Mail::Mailer Perl module by injecting commands into the mail body processed by mailx.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2002-1271?

CVE-2002-1271 is a high-severity command injection vulnerability in n/a, published on 1 Sep 2004. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Mail::Mailer Perl module in the perl-MailTools package 1.47 and earlier uses mailx as the default mailer, which allows remote attackers to execute arbitrary commands by inserting them into the mail body, which is then processed by mailx.

Which versions are affected by CVE-2002-1271?

It affects 1 product.

Products include Perl-Mailtools Perl-Mailtools.

How do I fix CVE-2002-1271?

Upgrade to a fixed version.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2002-1271 being exploited?

There is no known exploitation of CVE-2002-1271 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2002-1271, DSA-386, GHSA-fm5h-r4qh-85fh.

Is CVE-2002-1271 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free