CVE-2010-1161 Race condition in n/a

Low 3.7 Published Updated

Local attackers can exploit a race condition in GNU nano to change file ownership, potentially leading to privilege escalation when root edits files.

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

What is CVE-2010-1161?

CVE-2010-1161 is a low-severity vulnerability in n/a, published on 16 Apr 2010. 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

Race condition in GNU nano before 2.2.4, when run by root to edit a file that is not owned by root, allows local user-assisted attackers to change the ownership of arbitrary files via vectors related to the creation of backup files.

Weakness: CWE-362

Which versions are affected by CVE-2010-1161?

It affects 1 product.

Products include Gnu Nano.

How do I fix CVE-2010-1161?

Upgrade to a fixed version.

Is CVE-2010-1161 being exploited?

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

Sources

Also known as DEBIAN-CVE-2010-1161, GHSA-q9pv-rh5p-8836.

Is CVE-2010-1161 in your software?

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

Check your SBOMs for free