Live threats

All CVEs / Libreswan

CVE-2023-2295Libreswan

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
No
Published
May 17, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

A vulnerability was found in the libreswan library. This security issue occurs when an IKEv1 Aggressive Mode packet is received with only unacceptable crypto algorithms, and the response packet is not sent with a zero responder SPI. When a subsequent packet is received where the sender reuses the libreswan responder SPI as its own initiator SPI, the pluto daemon state machine crashes. No remote code execution is possible. This CVE exists because of a CVE-2023-30570 security regression for libreswan package in Red Hat Enterprise Linux 8.8 and Red Hat Enterprise Linux 9.2.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libreswan.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libreswanlibreswan4.9-1.el8
libreswanlibreswan4.9-1.el9
redhatenterprise_linux8.0
redhatenterprise_linux9.0
redhatenterprise_linux_eus8.8
redhatenterprise_linux_eus9.2
redhatenterprise_linux_server_aus8.8
redhatenterprise_linux_server_aus9.2
redhatenterprise_linux_server_tus8.8

Official sources

References

Links published by the sources. Open them with care.