<?xml version="1.0" encoding="utf-8"?>
  <?xml-stylesheet type="text/xsl" href="sa-render.xsl"?>
  <update from="huaweicloud.com" type="security" status="stable" version="1">
    <id>HCE2-SA-2024-0327</id>
    <title>An update for nano is now available for HCE 2.0</title>
    <severity>Moderate</severity>
    <release>HCE 2.0</release>
    <issued date="2024-12-20 09:52:51"/>
    <updated date="2024-12-20 09:52:51"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-5742" id="CVE-2024-5742" title="CVE-2024-5742 Base Score: 6.7 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H" type="cve"/>
    </references>
    <description>Security Fix(es):

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. (CVE-2024-5742)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="nano">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="nano" version="8.0" release="1.hce2">
          <filename>nano-8.0-1.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="nano-help" version="8.0" release="1.hce2">
          <filename>nano-help-8.0-1.hce2.noarch.rpm</filename>
        </package>
        <package arch="x86_64" name="nano" version="8.0" release="1.hce2">
          <filename>nano-8.0-1.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
