CVE-2024-5742

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-5742
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-5742.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-5742
Related
Published
2024-06-12T09:15:23Z
Modified
2024-11-12T18:45:23.235230Z
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
[none]
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

Debian:11 / nano

Package

Name
nano
Purl
pkg:deb/debian/nano?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.4-2+deb11u3

Affected versions

5.*

5.4-2
5.4-2+deb11u1
5.4-2+deb11u2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / nano

Package

Name
nano
Purl
pkg:deb/debian/nano?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.2-1+deb12u1

Affected versions

7.*

7.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / nano

Package

Name
nano
Purl
pkg:deb/debian/nano?arch=source

Affected ranges

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

Affected versions

7.*

7.2-1
7.2-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}