Input validation error in libreswan - CVE-2023-30570
Published: May 4, 2023
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to incorrect handling of unsupported algorithms (such as DH2) when processing IKEv1 Aggressive Mode packets in libreswan pluto daemon. A remote attacker can send a specially crafted IKEv1 Aggressive Mode packet to the daemon and crash it.
Successful exploitation of the vulnerability requires that the libreswan pluto daemon is configured explicitly with "aggressive=yes" (or "aggrmode=yes") and accepts IKEv1 packets.
Affected software
Oracle Linux
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
openEuler
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libreswan (Red Hat package)
libreswan
libreswan-debugsource
libreswan-help
libreswan-debuginfo
Red Hat OpenShift Container Platform
How to mitigate CVE-2023-30570
libreswan (Red Hat package) - addressed in versions 3.29-7.el8_1.2, 3.29-7.el8_2.2, 4.3-6.el8_4.1, 4.5-1.el8_6.1, 4.5-1.el8_7.1, 4.6-3.el9_0.1, 4.6-3.el9_1.1, 4.9-4.el9_2
libreswan - addressed in versions 4.6-3.0.1, 4.9-3
libreswan - update to 4.11-1
libreswan-debugsource - update to 4.11-1
libreswan-help - update to 4.11-1
libreswan-debuginfo - update to 4.11-1
libreswan - addressed in versions 4.11-1.fc36, 4.11-1.fc37, 4.11-1.fc38
Red Hat OpenShift Container Platform - update to 4.13.0
External References
Related Security Bulletins
- Denial of service in libreswan IKEv1 implementation
- Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions update for libreswan
- Red Hat Enterprise Linux 8.4 Extended Update Support update for libreswan
- Red Hat Enterprise Linux 8 update for libreswan
- Red Hat Enterprise Linux 8.6 Extended Update Support update for libreswan
- Red Hat Enterprise Linux 8 update for libreswan
- Red Hat Enterprise Linux 9.0 Extended Update Support update for libreswan
- Red Hat Enterprise Linux 9 update for libreswan
- Red Hat Enterprise Linux 9 update for libreswan
- Multiple vulnerabilities in OpenShift Container Platform 4.13
- Multiple vulnerabilities in Oracle Linux
- Fedora 38 update for libreswan
- Fedora 37 update for libreswan
- Fedora 36 update for libreswan
- openEuler update for libreswan
- Anolis OS update for libreswan
- Anolis OS update for libreswan