Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-42619.json
JSON Data
https://api.test.osv.dev/v1/vulns/AZL-42619
Upstream
Published
2024-06-12T09:15:23Z
Modified
2026-04-01T05:14:47.282384Z
Severity
  • 6.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
CVE-2024-5742 affecting package nano for versions less than 6.0-3
Details

A vulnerability was found in GNU Nano that allows a possible privilege escalation through an insecure temporary file. If Nano is killed while editing, a file it saves to an emergency file with the permissions of the running user provides a window of opportunity for attackers to escalate privileges through a malicious symlink.

References

Affected packages

Azure Linux:2 / nano

Package

Name
nano
Purl
pkg:rpm/azure-linux/nano

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.0-3

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-42619.json"