Vulnerability identifier: #VU93285
Vulnerability risk: Low
CVSSv4.0: 5.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]
CVE-ID: CVE-2024-5742
CWE-ID:
CWE-61
Exploitation vector: Local
Exploit availability: No
Vulnerable software:
nano
Other software /
Other software solutions
Vendor: GNU
Description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a symlink following issue. A local user can create a specially crafted symbolic link to a critical file on the system and overwrite it with privileges of the application.
Successful exploitation of this vulnerability may result in privilege escalation.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
nano: 0.1.0 - 7.2
External links
https://access.redhat.com/security/cve/CVE-2024-5742
https://bugzilla.redhat.com/show_bug.cgi?id=2278574
https://lists.debian.org/debian-lts-announce/2024/06/msg00006.html
https://git.savannah.gnu.org/cgit/nano.git/commit/?id=5e7a3c2e7e118c7f12d5dfda9f9140f638976aa2
Can this vulnerability be exploited remotely?
No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.