Race Condition Affecting nano package, versions <2.2.4-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.28% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-NANO-18234836
  • published23 Jul 2026
  • disclosed16 Apr 2010

Introduced: 16 Apr 2010

CVE-2010-1161  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade Echo:latest nano to version 2.2.4-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nano package and not the nano package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1