CVE-2023-30570
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-30570 affects pluto in Libreswan versions 3.28 through 4.10, allowing a denial of service attack through responder SPI mishandling and daemon crash. The vulnerability was discovered in March 2023 and publicly disclosed on May 3, 2023. The issue specifically impacts the IKEv1 Aggressive Mode functionality in Libreswan, which is an implementation of IPsec and IKE for Linux (Libreswan Advisory).

Technical details

The vulnerability occurs when an IKEv1 Aggressive Mode packet is received with only unacceptable crypto algorithms, causing the response packet to be sent with an incorrect responder SPI value. When a subsequent packet is received where the sender reuses the libreswan responder SPI, the pluto daemon state machine crashes. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to a denial of service condition when exploited. When packets are sent continuously, it can cause the libreswan pluto daemon to repeatedly crash and restart, disrupting VPN services. No remote code execution is possible through this vulnerability (Libreswan Advisory).

Mitigation and workarounds

The vulnerability is fixed in Libreswan version 4.11 and later. As a workaround, users can convert IKEv1 Aggressive Mode connections to IKEv2 or IKEv1 Main Mode connections. If this is not feasible, upgrading to version 4.11 or later is recommended. Red Hat has released security updates for affected versions in Red Hat Enterprise Linux 8 (Red Hat Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-12819HIGH8.1
  • NixOSNixOS
  • pgbouncer
NoYesDec 03, 2025
CVE-2025-20777MEDIUM6.7
  • NixOSNixOS
  • android
NoNoDec 02, 2025
CVE-2025-65105MEDIUM5.3
  • NixOSNixOS
  • apptainer
NoYesDec 02, 2025
CVE-2025-20789MEDIUM4.4
  • NixOSNixOS
  • android
NoNoDec 02, 2025
CVE-2025-20788MEDIUM4.4
  • NixOSNixOS
  • android
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management