Skip to content
OpenAdvisories
High · 7.5 CVE-2023-2295 EUVD-2023-33801GHSA-gcrh-c42h-m2vw

A vulnerability was found in the libreswan library. This security issue occurs when an IKEv1 Aggressive Mode packet is received with only u…

Published May 17, 2023 · Updated Jan 22, 2025 · Assigned by redhat

Description

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.

Affected products

VendorProductAffectedFixed
— libreswan Affects libreswan v4.9-1.el8 and libreswan v4.9-1.el9, Fixed in libreswan v4.9-3.el8_8 and libreswan v4.9-4.el9_2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 libreswan No fix yet —
Ubuntu 26.04 LTS libreswan No fix yet —
Ubuntu 25.10 libreswan No fix yet —
Ubuntu 24.04 LTS libreswan No fix yet —
Ubuntu 22.04 LTS libreswan No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libreswan No fix yet —
Ubuntu 18.04 LTS libreswan No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 libreswan 4.9-4.el9_2 RHSA-2023:3148
RHEL 8 libreswan 4.9-3.el8_8 RHSA-2023:3107
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.0 E4S libreswan 4.6-3.el9_0.3 RHSA-2024:10594
Red Hat OpenShift 4 libreswan 4.6-3.el9_0.3 RHBA-2024:11565, RHBA-2024:11525, RHBA-2024:11505

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libreswan 4.9-4.el9_2 ALSA-2023:3148
AlmaLinux 8 libreswan 4.9-3.el8_8 ALSA-2023:3107

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 libreswan 4.9-3.el8_8 RLSA-2023:3107

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libreswan 4.9-4.0.1.el9_2 ELSA-2023-3148
Oracle Linux 8 libreswan 4.9-3.0.1.el8_8 ELSA-2023-3107

Advisories 11

References