CVE-2005-1705 Code injection in n/a

High 7.2 Published Updated

Local attackers can execute arbitrary commands by placing a malicious .gdbinit file in the current working directory when a user runs gdb.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2005-1705?

CVE-2005-1705 is a high-severity code injection vulnerability in n/a, published on 24 May 2005. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

gdb before 6.3 searches the current working directory to load the .gdbinit configuration file, which allows local users to execute arbitrary commands as the user running gdb.

Which versions are affected by CVE-2005-1705?

It affects 1 product.

Products include Gnu Gdb.

How do I fix CVE-2005-1705?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2005-1705 being exploited?

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

Sources

Also known as DEBIAN-CVE-2005-1705, GHSA-5jcm-wwpx-vpr3.

Is CVE-2005-1705 in your software?

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

Check your SBOMs for free