Advisory

RLSA-2024:9430

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.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 9.5 Release Notes linked from the References section.

Severity

Not rated by the source.

Dates

Published
2025-03-17 20:16 UTC
Modified
2026-02-04 13:15 UTC

Affected packages and fixes

nano

RPM packages (rpm) · Rocky Linux 9

Affected

  • introduced 0, fixed 0:5.6.1-6.el9 (ecosystem)

Fixed versions

0:5.6.1-6.el9

Fix

  • Fixed version 0:5.6.1-6.el9
    sudo dnf upgrade nano-0:5.6.1-6.el9

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: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences