{"vuln_id":"CVE-2024-5742","aliases":[],"description":"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.","published_at":"2024-06-12T09:15:23.037000Z","modified_at":"2026-11-25T14:17:05.887000Z","first_seen_at":"2026-11-25T14:36:00.159672Z","severity":"medium","severity_source":"nvd","cvss_score":6.7,"cvss_vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","cwe":["CWE-59"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.0036,"epss_percentile":0.22074,"nvd_status":"Modified","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-5742"},"matched_alias":null,"items":[{"id":21392,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2024-5742: 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 i…","summary":"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.\n\nReferences:\nhttps://access.redhat.com/errata/RHSA-2024:6986\nhttps://access.redhat.com/errata/RHSA-2024:9430\nhttps://access.redhat.com/security/cve/CVE-2024-5742\nhttps://bugzilla.redhat.com/show_bug.cgi?id=2278574\nhttps://access.redhat.com/security/cve/CVE-2024-5742\nhttps://bugzilla.redhat.com/show_bug.cgi?id=2278574\nhttps://lists.debian.org/debian-lts-announce/2024/06/msg00006.html\nhttps://cert-portal.siemens.com/productcert/html/ssa-398330.html","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5742","published_at":"2024-06-12T09:15:23.037000Z","updated_at":"2026-11-25T14:17:05.887000Z","fetched_at":"2026-11-25T14:36:00.106410Z","severity":"medium","cvss_score":6.7,"epss":0.0036,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2024-5742","vuln_ids":["CVE-2024-5742","RHSA-2024:6986","RHSA-2024:9430"],"tags":["CWE-59"],"cluster_id":17834,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/21392","html":"https://vulnwatch.ve1ve2.com/item/21392"}}]}