CVE-2004-2022 Memory corruption in n/a

Low 2.1 Published Updated

Attackers can cause a crash or execute arbitrary code via a stack-based buffer overflow in Perl's system command handling on Windows.

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

What is CVE-2004-2022?

CVE-2004-2022 is a low-severity memory corruption vulnerability in n/a, published on 10 May 2005. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ActivePerl 5.8.x and others, and Larry Wall's Perl 5.6.1 and others, when running on Windows systems, allows attackers to cause a denial of service (crash) and possibly execute arbitrary code via a long argument to the system command, which leads to a stack-based buffer overflow. NOTE: it is unclear whether this bug is in Perl or the OS API that is used by Perl.

Which versions are affected by CVE-2004-2022?

It affects 1 product.

Products include Activestate Activeperl.

How do I fix CVE-2004-2022?

No fix has been published for CVE-2004-2022 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2004-2022 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-2022 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as CVE-2004-2285, GHSA-6g7x-c8vf-63fq.

Is CVE-2004-2022 in your software?

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

Check your SBOMs for free