{"vuln_id":"CVE-2024-9050","aliases":[],"description":"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.","published_at":"2024-10-22T13:15:02.410000Z","modified_at":"2026-11-23T15:17:13.290000Z","first_seen_at":"2026-11-23T16:34:22.019621Z","severity":"high","severity_source":"nvd","cvss_score":7.8,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-94"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00573,"epss_percentile":0.41194,"nvd_status":"Deferred","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-9050"},"matched_alias":null,"items":[{"id":15933,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2024-9050: A flaw was found in the libreswan client plugin for NetworkManager (NetkworkManager-libreswan), where it fails to properly sanitize the VPN configuration from…","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.\n\nReferences:\nhttps://access.redhat.com/errata/RHSA-2024:8312\nhttps://access.redhat.com/errata/RHSA-2024:8338\nhttps://access.redhat.com/errata/RHSA-2024:8352\nhttps://access.redhat.com/errata/RHSA-2024:8353\nhttps://access.redhat.com/errata/RHSA-2024:8354\nhttps://access.redhat.com/errata/RHSA-2024:8355\nhttps://access.redhat.com/errata/RHSA-2024:8356\nhttps://access.redhat.com/errata/RHSA-2024:8357\nhttps://access.redhat.com/errata/RHSA-2024:8358\nhttps://access.redhat.com/errata/RHSA-2024:9555","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9050","published_at":"2024-10-22T13:15:02.410000Z","updated_at":"2026-11-23T15:17:13.290000Z","fetched_at":"2026-11-23T16:34:21.537373Z","severity":"high","cvss_score":7.8,"epss":0.00573,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2024-9050","vuln_ids":["CVE-2024-9050","RHSA-2024:8312","RHSA-2024:8338","RHSA-2024:8352","RHSA-2024:8353","RHSA-2024:8354","RHSA-2024:8355","RHSA-2024:8356","RHSA-2024:8357","RHSA-2024:8358","RHSA-2024:9555"],"tags":["CWE-94"],"cluster_id":14293,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/15933","html":"https://vulnwatch.ve1ve2.com/item/15933"}}]}