<?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-0328</id>
    <title>An update for NetworkManager-libreswan is now available for HCE 2.0</title>
    <severity>Important</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-9050" id="CVE-2024-9050" title="CVE-2024-9050 Base Score: 7.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" type="cve"/>
    </references>
    <description>Security Fix(es):

A flaw was found in the libreswan client plugin for NetworkManager (NetkworkManager-libreswan), where it fails to properly sanitize the VPN configuration from the local unprivileged user. In this configuration, composed by a key-value format, the plugin fails to escape special characters, leading the application to interpret values as keys. One of the most critical parameters that could be abused by a malicious user is the `leftupdown`key. This key takes an executable command as a value and is used to specify what executes as a callback in NetworkManager-libreswan to retrieve configuration settings back to NetworkManager. As NetworkManager uses Polkit to allow an unprivileged user to control the system_x27;s network configuration, a malicious actor could achieve local privilege escalation and potential code execution as root in the targeted machine by creating a malicious configuration. (CVE-2024-9050)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="NetworkManager-libreswan">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="NetworkManager-libreswan" version="1.2.24" release="1.hce2">
          <filename>NetworkManager-libreswan-1.2.24-1.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="NetworkManager-libreswan-gnome" version="1.2.24" release="1.hce2">
          <filename>NetworkManager-libreswan-gnome-1.2.24-1.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="NetworkManager-libreswan" version="1.2.24" release="1.hce2">
          <filename>NetworkManager-libreswan-1.2.24-1.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="NetworkManager-libreswan-gnome" version="1.2.24" release="1.hce2">
          <filename>NetworkManager-libreswan-gnome-1.2.24-1.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
