nano: multiple file editing insecurities
Published Apr 16, 2010
1.9
LOWCVSS 2.0
EPSS 0.37%
Description
GNU nano before 2.2.4 does not verify whether a file has been changed before it is overwritten in a file-save operation, which allows local user-assisted attackers to overwrite arbitrary files via a symlink attack on an attacker-owned file that is being edited by the victim.
Affected products
No data.
- ≤ 2.2.3
- 0.5.0
- 0.5.1
- 0.5.2
- 0.5.3
- 0.5.4
- 0.5.5
- 0.6.0
- 0.6.1
- 0.6.2
- 0.6.3
- 0.6.4
- 0.6.5
- 0.6.6
- 0.6.7
- 0.6.8
- 0.6.9
- 0.7.0
- 0.7.1
- 0.7.2
- 0.7.3
- 0.7.4
- 0.7.5
- 0.7.6
- 0.7.7
- 0.7.8
- 0.7.9
- 0.8.0
- 0.8.1
- 0.8.2
- 0.8.3
- 0.8.4
- 0.8.5
- 0.8.6
- 0.8.7
- 0.8.8
- 0.8.9
- 0.9.0
- 0.9.1
- 0.9.2
- 0.9.3
- 0.9.4
- 0.9.5
- 0.9.6
- 0.9.7
- 0.9.8
- 0.9.9
- 0.9.10
- 0.9.11
- 0.9.12
- 0.9.13
- 0.9.14
- 0.9.15
- 0.9.16
- 0.9.17
- 0.9.18
- 0.9.19
- 0.9.20
- 0.9.21
- 0.9.22
- 0.9.23
- 0.9.24
- 0.9.25
- 0.9.99pre1
- 0.9.99pre2
- 0.9.99pre3
- 1.0.0
- 1.0.1
- 1.0.2
- 1.0.3
- 1.0.4
- 1.0.5
- 1.0.6
- 1.0.7
- 1.0.8
- 1.0.9
- 1.1.0
- 1.1.1
- 1.1.2
- 1.1.3
- 1.1.4
- 1.1.5
- 1.1.6
- 1.1.7
- 1.1.8
- 1.1.9
- 1.1.10
- 1.1.11
- 1.1.12
- 1.1.99pre1
- 1.1.99pre2
- 1.1.99pre3
- 1.2.0
- 1.2.1
- 1.2.2
- 1.2.3
- 1.2.4
- 1.2.5
- 1.3.0
- 1.3.1
- 1.3.2
- 1.3.3
- 1.3.4
- 1.3.5
- 1.3.6
- 1.3.7
- 1.3.8
- 1.3.9
- 1.3.10
- 1.3.11
- 1.3.12
- 1.9.99pre1
- 1.9.99pre2
- 1.9.99pre3
- 2.0.0
- 2.0.1
- 2.0.2
- 2.0.3
- 2.0.4
- 2.0.5
- 2.0.6
- 2.0.7
- 2.0.8
- 2.0.9
- 2.1.0
- 2.1.1
- 2.1.2
- 2.1.3
- 2.1.4
- 2.1.5
- 2.1.6
- 2.1.7
- 2.1.8
- 2.1.9
- 2.1.10
- 2.1.11
- 2.1.99pre1
- 2.1.99pre2
- 2.2.0
- 2.2.1
- 2.2.2
No data.
Red Hat Enterprise Linux 4
nano
Will not fix
Red Hat Enterprise Linux 5
nano
Will not fix
Red Hat Enterprise Linux 6
nano
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 4 | nano | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | nano | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | nano | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue was corrected in Red Hat Enterprise Linux 6 prior to its initial release. Red Hat Enterprise Linux 5 is now in Production 3 Phase of the support and maintenance life cycle. This has been rated as having Low security impact and is not currently planned to be addressed in future updates for this or earlier releases. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.37% (0.00368) | 28.26th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.37% (0.00368) | 28.34th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.08% (0.00080) | 21.14th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 5.07th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.03% (0.01034) | 41.69th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.03% (0.01034) | 39.91th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.03% (0.01034) | 37.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.03% (0.01034) | 20.32th | v2 (v2022.01.01) |
References (10)
- http://drosenbe.blogspot.com/2010/03/nano-as-root.html x_refsource_MISC
- http://lists.gnu.org/archive/html/nano-devel/2010-04/msg00000.html mailing-listx_refsource_MLIST
- http://secunia.com/advisories/39444 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://svn.savannah.gnu.org/viewvc/trunk/nano/ChangeLog?revision=4503&root=nano&view=markup x_refsource_CONFIRM
- http://www.openwall.com/lists/oss-security/2010/04/14/4 mailing-listx_refsource_MLIST
- http://www.securitytracker.com/id?1023891 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/security/cve/CVE-2010-1160 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=582434 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2010-1160
- https://www.cve.org/CVERecord?id=CVE-2010-1160
| Link | Providers | Tags |
|---|---|---|
| http://drosenbe.blogspot.com/2010/03/nano-as-root.html | x_refsource_MISC | |
| http://lists.gnu.org/archive/html/nano-devel/2010-04/msg00000.html | mailing-listx_refsource_MLIST | |
| http://secunia.com/advisories/39444 | third-party-advisoryx_refsource_SECUNIAVendor Advisory | |
| http://svn.savannah.gnu.org/viewvc/trunk/nano/ChangeLog?revision=4503&root=nano&view=markup | x_refsource_CONFIRM | |
| http://www.openwall.com/lists/oss-security/2010/04/14/4 | mailing-listx_refsource_MLIST | |
| http://www.securitytracker.com/id?1023891 | vdb-entryx_refsource_SECTRACK | |
| https://access.redhat.com/security/cve/CVE-2010-1160 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=582434 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2010-1160 | ||
| https://www.cve.org/CVERecord?id=CVE-2010-1160 |
Change history (0)
No recorded changes yet.