CVE:CVE-2010-1161
CNNVD:CNNVD-201004-296
nano是一种类似pico的免费文本编辑器。
GNU nano存在竞争条件漏洞。当root用户运行编辑非root所有的文件时，本地攻击者可通过与创建备份文件相关的向量，更改任意文件的所有者。
solution:Upgrade gnu nano to a higher version than 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,and avoid the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