Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-5742

6.7 · MEDIUM
Published Jun 12, 2024 gnu CWE-59 EPSS 0.35% (27th pctl)

Overview

CVE-2024-5742 is a medium-severity vulnerability affecting gnu nano. It was published on June 12, 2024 and has a CVSS 3.1 base score of 6.7 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.7, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from gnu. Update nano to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
gnu nano >= 2.2.0, < 8.0 Affected

Frequently Asked Questions

What is CVE-2024-5742?

CVE-2024-5742 is a medium-severity vulnerability affecting gnu nano. It was published on June 12, 2024 and has a CVSS 3.1 base score of 6.7 (MEDIUM).

How severe is CVE-2024-5742?

This vulnerability has a CVSS 3.1 base score of 6.7, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-5742?

Check the references section for vendor advisories and patches from gnu. Update nano to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-5742?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-5742 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.