{
  "cveId": "CVE-2024-5742",
  "url": "https://patchblox.com/security/cve/CVE-2024-5742",
  "summary": "CVE-2024-5742 is fixed in 6 products on 1 platform, first by OPENSUSE-SU-2024:0157-2, released June 11, 2024. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "nano: GNU nano is a small and friendly text editor.\n\nSecurity Fix(es):\n\n* nano: running \u0060chmod\u0060 and \u0060chown\u0060 on the filename...",
  "description": "GNU nano is a small and friendly text editor.\n\nSecurity Fix(es):\n\n* nano: running \u0060chmod\u0060 and \u0060chown\u0060 on the filename allows malicious user to replace the emergency file with a malicious symlink to a root-owned file (CVE-2024-5742)\n\nFor 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.",
  "published": "2024-06-11T17:41:12Z",
  "severity": "Low",
  "cvss": 6.7,
  "cvssVector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
  "epss": 0.00344,
  "epssPercentile": 0.28155,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "default-editor",
      "release": "amzn 2023",
      "fixedVersion": "5.8-3.amzn2023.0.4",
      "fix": "ALAS2023-2024-652",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-652",
      "released": "2024-07-18T01:24:00Z"
    },
    {
      "platform": "linux",
      "product": "nano",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "7.2-1\u002Bdeb12u1",
      "fix": "DEBIAN-CVE-2024-5742",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-5742",
      "released": "2024-06-12T09:15:23Z"
    },
    {
      "platform": "linux",
      "product": "nano",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "8.0-1",
      "fix": "DEBIAN-CVE-2024-5742",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-5742",
      "released": "2024-06-12T09:15:23Z"
    },
    {
      "platform": "linux",
      "product": "nano",
      "release": "Debian 14",
      "fixedVersion": "8.0-1",
      "fix": "DEBIAN-CVE-2024-5742",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-5742",
      "released": "2024-06-12T09:15:23Z"
    },
    {
      "platform": "linux",
      "product": "nano",
      "release": "RHEL 8",
      "fixedVersion": "0:2.9.8-3.el8_10",
      "fix": "RHSA-2024:6986",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2024-6986",
      "released": "2024-09-24T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "nano",
      "release": "RHEL 9",
      "fixedVersion": "0:5.6.1-6.el9",
      "fix": "RHSA-2024:9430",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2024-9430",
      "released": "2024-11-12T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "nano",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.9.3-2ubuntu0.1~esm1",
      "fix": "nano 2.9.3-2ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-nano-2.9.3-2ubuntu0.1-esm1",
      "released": "2024-06-12T02:15:00Z"
    },
    {
      "platform": "linux",
      "product": "nano",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "4.8-1ubuntu1.1",
      "fix": "nano 4.8-1ubuntu1.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-nano-4.8-1ubuntu1.1",
      "released": "2024-06-12T02:15:00Z"
    },
    {
      "platform": "linux",
      "product": "nano",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "6.2-1ubuntu0.1",
      "fix": "nano 6.2-1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-nano-6.2-1ubuntu0.1",
      "released": "2024-06-12T02:15:00Z"
    },
    {
      "platform": "linux",
      "product": "nano",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "7.2-2ubuntu0.1",
      "fix": "nano 7.2-2ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-nano-7.2-2ubuntu0.1",
      "released": "2024-06-12T02:15:00Z"
    },
    {
      "platform": "linux",
      "product": "nano",
      "release": "almalinux 8",
      "fixedVersion": "2.9.8-3.el8_10",
      "fix": "ALSA-2024:6986",
      "url": "https://patchblox.com/security/fix/linux/alsa-2024-6986",
      "released": "2024-09-24T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "nano",
      "release": "almalinux 9",
      "fixedVersion": "5.6.1-6.el9",
      "fix": "ALSA-2024:9430",
      "url": "https://patchblox.com/security/fix/linux/alsa-2024-9430",
      "released": "2024-11-12T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "nano",
      "release": "amzn 2023",
      "fixedVersion": "5.8-3.amzn2023.0.4",
      "fix": "ALAS2023-2024-652",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-652",
      "released": "2024-07-18T01:24:00Z"
    },
    {
      "platform": "linux",
      "product": "nano",
      "release": "ol 8",
      "fixedVersion": "0:2.9.8-3.el8_10",
      "fix": "ELSA-2024-6986",
      "url": "https://patchblox.com/security/fix/linux/elsa-2024-6986",
      "released": "2024-09-24T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "nano",
      "release": "ol 9",
      "fixedVersion": "0:5.6.1-6.el9",
      "fix": "ELSA-2024-9430",
      "url": "https://patchblox.com/security/fix/linux/elsa-2024-9430",
      "released": "2024-11-14T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "nano",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "7.2-bp156.3.3.1",
      "fix": "OPENSUSE-SU-2024:0157-2",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2024-0157-2",
      "released": "2024-06-11T17:41:12Z"
    },
    {
      "platform": "linux",
      "product": "nano",
      "release": "rocky 8",
      "fixedVersion": "0:2.9.8-3.el8_10",
      "fix": "RLSA-2024:6986",
      "url": "https://patchblox.com/security/fix/linux/rlsa-2024-6986",
      "released": "2024-09-30T14:30:24Z"
    },
    {
      "platform": "linux",
      "product": "nano",
      "release": "rocky 9",
      "fixedVersion": "0:5.6.1-6.el9",
      "fix": "RLSA-2024:9430",
      "url": "https://patchblox.com/security/fix/linux/rlsa-2024-9430",
      "released": "2025-03-17T20:16:43Z"
    },
    {
      "platform": "linux",
      "product": "nano-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "5.8-3.amzn2023.0.4",
      "fix": "ALAS2023-2024-652",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-652",
      "released": "2024-07-18T01:24:00Z"
    },
    {
      "platform": "linux",
      "product": "nano-debugsource",
      "release": "amzn 2023",
      "fixedVersion": "5.8-3.amzn2023.0.4",
      "fix": "ALAS2023-2024-652",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-652",
      "released": "2024-07-18T01:24:00Z"
    },
    {
      "platform": "linux",
      "product": "nano-default-editor",
      "release": "amzn 2023",
      "fixedVersion": "5.8-3.amzn2023.0.4",
      "fix": "ALAS2023-2024-652",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2024-652",
      "released": "2024-07-18T01:24:00Z"
    },
    {
      "platform": "linux",
      "product": "nano-tiny",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.9.3-2ubuntu0.1~esm1",
      "fix": "nano-tiny 2.9.3-2ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-nano-tiny-2.9.3-2ubuntu0.1-esm1",
      "released": "2024-06-12T02:15:00Z"
    },
    {
      "platform": "linux",
      "product": "nano-tiny",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "4.8-1ubuntu1.1",
      "fix": "nano-tiny 4.8-1ubuntu1.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-nano-tiny-4.8-1ubuntu1.1",
      "released": "2024-06-12T02:15:00Z"
    },
    {
      "platform": "linux",
      "product": "nano-tiny",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "6.2-1ubuntu0.1",
      "fix": "nano-tiny 6.2-1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-nano-tiny-6.2-1ubuntu0.1",
      "released": "2024-06-12T02:15:00Z"
    },
    {
      "platform": "linux",
      "product": "nano-tiny",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "7.2-2ubuntu0.1",
      "fix": "nano-tiny 7.2-2ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-nano-tiny-7.2-2ubuntu0.1",
      "released": "2024-06-12T02:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T19:12:23Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}