Advisory

ALSA-2024:6986

Also known as: CVE-2024-5742

Summary

Low: nano security update

Details

GNU nano is a small and friendly text editor.

Security Fix(es):

  • nano: running chmod and chown on the filename allows malicious user to replace the emergency file with a malicious symlink to a root-owned file (CVE-2024-5742)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Severity

Not rated by the source.

Dates

Published
2024-09-24 00:00 UTC
Modified
2026-10-29 11:02 UTC

Affected packages and fixes

nano

RPM packages (rpm) · AlmaLinux 8

Affected

  • introduced 0, fixed 2.9.8-3.el8_10 (ecosystem)

Fixed versions

2.9.8-3.el8_10

Fix

  • Fixed version 2.9.8-3.el8_10
    sudo dnf upgrade nano-2.9.8-3.el8_10

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: AlmaLinux OSV database · MIT

Sources & licences