CVE-2010-4001 Privilege escalation in n/a

Medium 4.6 Published Updated

Local attackers can gain privileges by placing a malicious shared library in the current working directory due to unsafe LD_LIBRARY_PATH handling.

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-2010-4001?

CVE-2010-4001 is a medium-severity vulnerability in n/a, published on 5 Nov 2010. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

GMXRC.bash in Gromacs 4.5.1 and earlier places a zero-length directory name in the LD_LIBRARY_PATH, which allows local users to gain privileges via a Trojan horse shared library in the current working directory. NOTE: CVE disputes this issue because the GMXLDLIB value is always added to the beginning of LD_LIBRARY_PATH at a later point in the script

Weakness: CWE-264

Which versions are affected by CVE-2010-4001?

It affects 1 product.

Linux distribution packages (1)
gromacs openSUSE:TumbleweedAll versions2016.1-1.1

Products include Gromacs Gromacs.

How do I fix CVE-2010-4001?

Apply the vendor's patch.

Is CVE-2010-4001 being exploited?

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

Sources

Also known as GHSA-wv39-gr2w-7565, openSUSE-SU-2024:10577-1.

Is CVE-2010-4001 in your software?

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

Check your SBOMs for free