Gentoo Logo

nano: Multiple vulnerabilities


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201006-08 / nano
Release Date June 01, 2010
Latest Revision June 01, 2010: 01
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
app-editors/nano < 2.2.4 >= 2.2.4 All supported architectures

Related bugreports: #315355


Race conditions when editing files could lead to symlink attacks or changes of ownerships of important files.

2.  Impact Information


nano is a GNU GPL'd Pico clone with more functionality.


Multiple race condition vulnerabilities have been discovered in nano. For further information please consult the CVE entries referenced below.


Under certain conditions, a local, user-assisted attacker could possibly overwrite arbitrary files via a symlink attack on an attacker-owned file that is being edited by the victim, or change the ownership of arbitrary files.

3.  Resolution Information


There is no known workaround at this time.


All nano users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/nano-2.2.4"

4.  References


Page updated June 01, 2010

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.