Security mailing lists by PureSourceCode

CVE-2024-9050

HIGH 7.8CVSS 3.1

Networkmanager-libreswan: local privilege escalation via leftupdown

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 leftupdownkey. 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'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.

Published
22 Oct 2024
Last modified
23 Nov 2026
Assigned by
secalert@redhat.com
NVD status
Deferred
Weakness
CWE-94
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD secalert@redhat.com (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVE List redhat CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: total

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://gitlab.gnome.org/GNOME/NetworkManager-libreswan/ NetworkManager-libreswan < 1.2.24 1.2.24
CVE List https://access.redhat.com/downloads/content/package-browser/ NetworkManager-libreswan
cpe:/o:redhat:rhel_aus:7.7::server
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ NetworkManager-libreswan
cpe:/o:redhat:rhel_els:7
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ NetworkManager-libreswan
cpe:/a:redhat:enterprise_linux:8::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ NetworkManager-libreswan
cpe:/a:redhat:rhel_aus:8.2::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ NetworkManager-libreswan
cpe:/a:redhat:rhel_aus:8.4::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ NetworkManager-libreswan
cpe:/a:redhat:rhel_aus:8.4::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ NetworkManager-libreswan
cpe:/a:redhat:rhel_aus:8.4::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ NetworkManager-libreswan
cpe:/a:redhat:rhel_aus:8.6::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ NetworkManager-libreswan
cpe:/a:redhat:rhel_aus:8.6::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ NetworkManager-libreswan
cpe:/a:redhat:rhel_aus:8.6::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ NetworkManager-libreswan
cpe:/a:redhat:rhel_eus:8.8::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ NetworkManager-libreswan
cpe:/a:redhat:enterprise_linux:9::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ NetworkManager-libreswan
cpe:/a:redhat:rhel_e4s:9.0::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ NetworkManager-libreswan
cpe:/a:redhat:rhel_eus:9.2::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ NetworkManager-libreswan
cpe:/a:redhat:rhel_eus:9.4::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ NetworkManager-libreswan
cpe:/o:redhat:enterprise_linux:10
all versions

References

History

  • 25 Nov 2026 20:33 UTC · CVE List: first stored (published 22 Oct 2024)
  • 25 Nov 2026 20:10 UTC · NVD: first stored (published 22 Oct 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.