USN-7064-1: nano vulnerability

Published Oct 15, 2024
·
Updated

It was discovered that nano allowed a possible privilege escalation through an insecure temporary file. If nano was killed while editing, the permissions granted to the emergency save file could be used by an attacker to escalate privileges using a malicious symlink.

Affected Software

10 affected componentsFixes available
All of the following
ubuntu/nano<7.2-2ubuntu0.1
7.2-2ubuntu0.1
Ubuntu Ubuntu=24.04
All of the following
ubuntu/nano<6.2-1ubuntu0.1
6.2-1ubuntu0.1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/nano<4.8-1ubuntu1.1
4.8-1ubuntu1.1
Ubuntu Ubuntu=20.04
All of the following
ubuntu/nano<2.9.3-2ubuntu0.1~esm1
2.9.3-2ubuntu0.1~esm1
Ubuntu Ubuntu=18.04
All of the following
ubuntu/nano<2.5.3-2ubuntu2+esm1
2.5.3-2ubuntu2+esm1
Ubuntu Ubuntu=16.04

Event History

Oct 15, 2024
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of USN-7064-1?

The severity of USN-7064-1 is considered critical due to the potential for privilege escalation.

2

How do I fix USN-7064-1?

To fix USN-7064-1, update the nano package to the recommended versions provided in the advisory.

3

Which systems are affected by USN-7064-1?

USN-7064-1 affects Ubuntu systems using vulnerable versions of the nano package across multiple releases.

4

What vulnerability does USN-7064-1 address?

USN-7064-1 addresses a vulnerability that allows privilege escalation via an insecure temporary file in nano.

5

What could happen if USN-7064-1 is not addressed?

If USN-7064-1 is not addressed, attackers could exploit the vulnerability to gain elevated privileges on the affected systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203