Bug 2278574 (CVE-2024-5742)
Summary: | CVE-2024-5742 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 | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | TEJ RATHI <trathi> |
Component: | vulnerability | Assignee: | Product Security <prodsec-ir-bot> |
Status: | NEW --- | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | hkataria, kaycoth, kshier |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | nano 8.0 | Doc Type: | If docs needed, set a value |
Doc Text: |
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.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2290866, 2290867 | ||
Bug Blocks: | 2278576 |
Description
TEJ RATHI
2024-05-02 06:13:29 UTC
Created nano tracking bugs for this issue: Affects: fedora-39 [bug 2290866] Affects: fedora-40 [bug 2290867] Upstream fix: https://git.savannah.gnu.org/cgit/nano.git/commit/?id=ce5513b009a4c639d3a0b057fa0de94cd82e14e4 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2024:6986 https://access.redhat.com/errata/RHSA-2024:6986 This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2024:9430 https://access.redhat.com/errata/RHSA-2024:9430 |