CVE-2024-9050: Networkmanager-libreswan: local privilege escalation via leftupdown
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.45% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: gitlab.gnome.org/GNOME/NetworkManager-libreswan/ NetworkManager-libreswan 1.2.24.
Low priority for now. Upgrade to gitlab.gnome.org/GNOME/NetworkManager-libreswan/ NetworkManager-libreswan 1.2.24 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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
- Oct 22, 2024
- Updated
- Jun 25, 2026
- EPSS
- 0.4% · 39th percentile
- CWE
- CWE-94
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · redhat
- 7.8
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
gitlab.gnome.org/GNOME/NetworkManager-libreswan/ NetworkManager-libreswan
- before 1.2.24affected · semver
Red Hat Red Hat Enterprise Linux 10
- all versionsaffected
Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support
- 0:1.2.4-4.el7_9 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 7.7 Advanced Update Support
- 0:1.2.4-4.el7_7 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8
- 0:1.2.10-7.el8_10 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support
- 0:1.2.10-6.el8_2 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- 0:1.2.10-6.el8_4 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service
- 0:1.2.10-6.el8_4 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
- 0:1.2.10-6.el8_4 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- 0:1.2.10-6.el8_6 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service
- 0:1.2.10-6.el8_6 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
- 0:1.2.10-6.el8_6 and laternot affected · rpm
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | NetworkManager-libreswan | before 1.2.10-7.el8_10 | 1.2.10-7.el8_10 |
| AlmaLinux:8 | NetworkManager-libreswan-gnome | before 1.2.10-7.el8_10 | 1.2.10-7.el8_10 |
| AlmaLinux:9 | NetworkManager-libreswan | before 1.2.22-4.el9_5 | 1.2.22-4.el9_5 |
| AlmaLinux:9 | NetworkManager-libreswan-gnome | before 1.2.22-4.el9_5 | 1.2.22-4.el9_5 |
| openSUSE:Tumbleweed | NetworkManager-libreswan | before 1.2.24-1.1 | 1.2.24-1.1 |
| Red Hat:enterprise_linux:8::appstream | NetworkManager-libreswan | before 0:1.2.10-7.el8_10 | 0:1.2.10-7.el8_10 |
| Red Hat:enterprise_linux:8::appstream | NetworkManager-libreswan-debuginfo | before 0:1.2.10-7.el8_10 | 0:1.2.10-7.el8_10 |
| Red Hat:enterprise_linux:8::appstream | NetworkManager-libreswan-debugsource | before 0:1.2.10-7.el8_10 | 0:1.2.10-7.el8_10 |
| Red Hat:enterprise_linux:8::appstream | NetworkManager-libreswan-gnome | before 0:1.2.10-7.el8_10 | 0:1.2.10-7.el8_10 |
| Red Hat:enterprise_linux:8::appstream | NetworkManager-libreswan-gnome-debuginfo | before 0:1.2.10-7.el8_10 | 0:1.2.10-7.el8_10 |
| Red Hat:enterprise_linux:9::appstream | NetworkManager-libreswan | before 0:1.2.22-4.el9_5 | 0:1.2.22-4.el9_5 |
| Red Hat:enterprise_linux:9::appstream | NetworkManager-libreswan-debuginfo | before 0:1.2.22-4.el9_5 | 0:1.2.22-4.el9_5 |
| Red Hat:enterprise_linux:9::appstream | NetworkManager-libreswan-debugsource | before 0:1.2.22-4.el9_5 | 0:1.2.22-4.el9_5 |
| Red Hat:enterprise_linux:9::appstream | NetworkManager-libreswan-gnome | before 0:1.2.22-4.el9_5 | 0:1.2.22-4.el9_5 |
| Red Hat:enterprise_linux:9::appstream | NetworkManager-libreswan-gnome-debuginfo | before 0:1.2.22-4.el9_5 | 0:1.2.22-4.el9_5 |
| Red Hat:rhel_aus:7.7::server | NetworkManager-libreswan | before 0:1.2.4-4.el7_7 | 0:1.2.4-4.el7_7 |
| Red Hat:rhel_aus:7.7::server | NetworkManager-libreswan-debuginfo | before 0:1.2.4-4.el7_7 | 0:1.2.4-4.el7_7 |
| Red Hat:rhel_aus:7.7::server | NetworkManager-libreswan-gnome | before 0:1.2.4-4.el7_7 | 0:1.2.4-4.el7_7 |
| Red Hat:rhel_aus:8.2::appstream | NetworkManager-libreswan | before 0:1.2.10-6.el8_2 | 0:1.2.10-6.el8_2 |
| Red Hat:rhel_aus:8.2::appstream | NetworkManager-libreswan-debuginfo | before 0:1.2.10-6.el8_2 | 0:1.2.10-6.el8_2 |
| Red Hat:rhel_aus:8.2::appstream | NetworkManager-libreswan-debugsource | before 0:1.2.10-6.el8_2 | 0:1.2.10-6.el8_2 |
| Red Hat:rhel_aus:8.2::appstream | NetworkManager-libreswan-gnome | before 0:1.2.10-6.el8_2 | 0:1.2.10-6.el8_2 |
| Red Hat:rhel_aus:8.2::appstream | NetworkManager-libreswan-gnome-debuginfo | before 0:1.2.10-6.el8_2 | 0:1.2.10-6.el8_2 |
| Red Hat:rhel_aus:8.4::appstream | NetworkManager-libreswan | before 0:1.2.10-6.el8_4 | 0:1.2.10-6.el8_4 |
+34
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| gitlab.gnome.org/GNOME/NetworkManager-libreswan/ NetworkManager-libreswan | 1.2.24 | Vendor (CNA) |
| almalinux:NetworkManager-libreswan | 1.2.10-7.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:NetworkManager-libreswan-gnome | 1.2.10-7.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| opensuse:NetworkManager-libreswan | 1.2.24-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:NetworkManager-libreswan | 0:1.2.14-3.el9_0 · Red Hat:rhel_e4s:9.0::appstream | Package registry (OSV) |
| red hat:NetworkManager-libreswan-debuginfo | 0:1.2.14-3.el9_0 · Red Hat:rhel_e4s:9.0::appstream | Package registry (OSV) |
| red hat:NetworkManager-libreswan-debugsource | 0:1.2.14-3.el9_0 · Red Hat:rhel_e4s:9.0::appstream | Package registry (OSV) |
| red hat:NetworkManager-libreswan-gnome | 0:1.2.14-3.el9_0 · Red Hat:rhel_e4s:9.0::appstream | Package registry (OSV) |
| red hat:NetworkManager-libreswan-gnome-debuginfo | 0:1.2.14-3.el9_0 · Red Hat:rhel_e4s:9.0::appstream | Package registry (OSV) |
| rocky linux:NetworkManager-libreswan | 0:1.2.10-7.el8_10 · Rocky Linux:8 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-94 · Improper Control of Generation of Code ('Code Injection')CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (15 more)Show less
- access.redhat.com/errata/RHSA-2024:8338
- access.redhat.com/errata/RHSA-2024:8352
- access.redhat.com/errata/RHSA-2024:8353
- access.redhat.com/errata/RHSA-2024:8354
- access.redhat.com/errata/RHSA-2024:8355
- access.redhat.com/errata/RHSA-2024:8356
- access.redhat.com/errata/RHSA-2024:8357
- access.redhat.com/errata/RHSA-2024:8358
- access.redhat.com/errata/RHSA-2024:9555
- access.redhat.com/errata/RHSA-2024:9556
- access.redhat.com/security/cve/CVE-2024-9050
- bugzilla.redhat.com/show_bug.cgi?id=2313828
- gitlab.gnome.org/GNOME/NetworkManager-libreswan/-/commit/dcf8acfb25bd31e4b8cbd20c229da660238b5c1b
- www.openwall.com/lists/oss-security/2024/10/25/1
- www.openwall.com/lists/oss-security/2024/10/25/1
Vendor advisories and official records. Exploit/PoC links are deliberately left out.