CVE-2012-3410 Memory corruption in n/a

Medium 4.6 Published Updated

Local attackers can exploit a stack-based buffer overflow in GNU Bash to bypass restricted shell access and potentially execute arbitrary code.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2012-3410?

CVE-2012-3410 is a medium-severity memory corruption vulnerability in n/a, published on 27 Aug 2012. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Stack-based buffer overflow in lib/sh/eaccess.c in GNU Bash before 4.2 patch 33 might allow local users to bypass intended restricted shell access via a long filename in /dev/fd, which is not properly handled when expanding the /dev/fd prefix.

Weakness: CWE-119

Which versions are affected by CVE-2012-3410?

It affects 1 product.

Products include Gnu Bash.

How do I fix CVE-2012-3410?

Upgrade to a fixed version.

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

Is CVE-2012-3410 being exploited?

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

Sources

Also known as DEBIAN-CVE-2012-3410, GHSA-8g5r-93v7-fh2w.

Is CVE-2012-3410 in your software?

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

Check your SBOMs for free