{"id":"CVE-2024-9050","aliases":["CVE-2024-9050"],"related":[],"kind":"vulnerability","state":"published","title":"Networkmanager-libreswan: local privilege escalation via leftupdown","summary":"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'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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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'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.","source":"cvelist"},{"lang":"es","text":"Se encontró una falla en el complemento de cliente de libreswan para NetworkManager (NetkworkManager-libreswan), donde no puede desinfectar correctamente la configuración de VPN del usuario local sin privilegios. En esta configuración, compuesta por un formato clave-valor, el complemento no puede escapar caracteres especiales, lo que lleva a la aplicación a interpretar los valores como claves. Uno de los parámetros más críticos que un usuario malintencionado podría abusar es la clave `leftupdown`. Esta clave toma un comando ejecutable como valor y se utiliza para especificar lo que se ejecuta como una devolución de llamada en NetworkManager-libreswan para recuperar los ajustes de configuración de nuevo a NetworkManager. Como NetworkManager utiliza Polkit para permitir que un usuario sin privilegios controle la configuración de red del sistema, un actor malintencionado podría lograr una escalada de privilegios local y una posible ejecución de código como root en la máquina de destino.","source":"nvd"}],"published":"2024-10-22T12:14:31.701Z","modified":"2026-11-23T15:17:13.290Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.2.24","status":"affected"}],"package":"NetworkManager-libreswan","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.4-4.el7_7","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7.7 Advanced Update Support","package":"NetworkManager-libreswan","cpe":"cpe:/o:redhat:rhel_aus:7.7::server","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.4-4.el7_9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7 Extended Lifecycle Support","package":"NetworkManager-libreswan","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.10-7.el8_10","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"NetworkManager-libreswan","cpe":"cpe:/a:redhat:enterprise_linux:8::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.10-6.el8_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.2 Advanced Update Support","package":"NetworkManager-libreswan","cpe":"cpe:/a:redhat:rhel_aus:8.2::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.10-6.el8_4","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support","package":"NetworkManager-libreswan","cpe":"cpe:/a:redhat:rhel_aus:8.4::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.10-6.el8_4","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.4 Telecommunications Update Service","package":"NetworkManager-libreswan","cpe":"cpe:/a:redhat:rhel_aus:8.4::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.10-6.el8_4","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions","package":"NetworkManager-libreswan","cpe":"cpe:/a:redhat:rhel_aus:8.4::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.10-6.el8_6","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support","package":"NetworkManager-libreswan","cpe":"cpe:/a:redhat:rhel_aus:8.6::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.10-6.el8_6","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.6 Telecommunications Update Service","package":"NetworkManager-libreswan","cpe":"cpe:/a:redhat:rhel_aus:8.6::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.10-6.el8_6","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions","package":"NetworkManager-libreswan","cpe":"cpe:/a:redhat:rhel_aus:8.6::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.10-6.el8_8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.8 Extended Update Support","package":"NetworkManager-libreswan","cpe":"cpe:/a:redhat:rhel_eus:8.8::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.22-4.el9_5","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"NetworkManager-libreswan","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.14-3.el9_0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions","package":"NetworkManager-libreswan","cpe":"cpe:/a:redhat:rhel_e4s:9.0::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.14-6.el9_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.2 Extended Update Support","package":"NetworkManager-libreswan","cpe":"cpe:/a:redhat:rhel_eus:9.2::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.18-6.el9_4","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.4 Extended Update Support","package":"NetworkManager-libreswan","cpe":"cpe:/a:redhat:rhel_eus:9.4::appstream","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"NetworkManager-libreswan","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:8312","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:8338","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:8352","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:8353","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:8354","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:8355","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:8356","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:8357","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:8358","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:9555","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:9556","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-9050","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2313828","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://gitlab.gnome.org/GNOME/NetworkManager-libreswan/-/commit/dcf8acfb25bd31e4b8cbd20c229da660238b5c1b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://www.openwall.com/lists/oss-security/2024/10/25/1","tags":[],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2024/10/25/1","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-10-22T13:03:43.771Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-9050","url":"https://www.cve.org/CVERecord?id=CVE-2024-9050","licence":"CVE Terms of Use","modified":"2026-11-23T14:13:51.949Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-9050","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9050","licence":"Public domain","modified":"2026-11-23T15:17:13.290Z"}],"updatedAt":"2026-11-25T22:58:47.136Z","epss":{"score":0.00511,"percentile":0.45072,"date":"2026-12-01T12:00:22.000Z"}}