libreswan: Regression of CVE-2023-30570 fixes in the Red Hat Enterprise Linux
Published May 17, 2023
7.5
HIGHCVSS 3.1
EPSS 1.58%
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
- Vendor n/a Product Libreswan Defaultn/a
- Version 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_2StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Libreswan | n/a |
|
Configuration 1
Configuration 2
- 8.0
- 9.0
- 8.8
- 9.2
- 8.8
- 9.2
- 8.8
No data.
Red Hat Enterprise Linux 8
libreswan-0:4.9-3.el8_8
Fixed · RHSA-2023:3107
Red Hat Enterprise Linux 9
libreswan-0:4.9-4.el9_2
Fixed · RHSA-2023:3148
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
libreswan-0:4.6-3.el9_0.3
Fixed · RHSA-2024:10594
Red Hat OpenShift Container Platform 4.15
libreswan-0:4.6-3.el9_0.3
Fixed · RHBA-2024:11565
Red Hat OpenShift Container Platform 4.16
libreswan-0:4.6-3.el9_0.3
Fixed · RHBA-2024:11505
Red Hat OpenShift Container Platform 4.17
libreswan-0:4.6-3.el9_0.3
Fixed · RHBA-2024:11525
Red Hat Enterprise Linux 6
libreswan
Not affected
Red Hat Enterprise Linux 7
libreswan
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | libreswan-0:4.9-3.el8_8 | Fixed | RHSA-2023:3107 |
| Red Hat Enterprise Linux 9 | libreswan-0:4.9-4.el9_2 | Fixed | RHSA-2023:3148 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | libreswan-0:4.6-3.el9_0.3 | Fixed | RHSA-2024:10594 |
| Red Hat OpenShift Container Platform 4.15 | libreswan-0:4.6-3.el9_0.3 | Fixed | RHBA-2024:11565 |
| Red Hat OpenShift Container Platform 4.16 | libreswan-0:4.6-3.el9_0.3 | Fixed | RHBA-2024:11505 |
| Red Hat OpenShift Container Platform 4.17 | libreswan-0:4.6-3.el9_0.3 | Fixed | RHBA-2024:11525 |
| Red Hat Enterprise Linux 6 | libreswan | Not affected | n/a |
| Red Hat Enterprise Linux 7 | libreswan | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue only affects Red Hat Enterprise Linux 8.8 and Red Hat Enterprise Linux 9.2, which introduced this regression via the following errata: https://access.redhat.com/errata/RHBA-2023:2865 (Red Hat Enterprise Linux 8.8) https://access.redhat.com/errata/RHBA-2023:2355 (Red Hat Enterprise Linux 9.2) These errata provided updates for libreswan package, but did not include fixes for CVE-2023-30570. A user who installs or updates to Red Hat Enterprise Linux 8.8 or Red Hat Enterprise Linux 9.2 would be vulnerable to the CVE-2023-30570, even if they were properly fixed in Red Hat Enterprise Linux 8.7 and Red Hat Enterprise Linux 9.1. The CVE-2023-2295 was assigned to that Red Hat specific security regression and it is not applicable to any upstream libreswan version or libreswan packages of any other vendor that are not directly based on Red Hat Enterprise Linux packages. For more details about the original security issue CVE-2023-30570, refer to the CVE page: https://access.redhat.com/security/cve/CVE-2023-30570.
References (7)
- https://access.redhat.com/errata/RHSA-2023:3107 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:3148 Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2023-2295 Third Party AdvisoryVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2189777 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-33801 Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2023-2295
- https://www.cve.org/CVERecord?id=CVE-2023-2295
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2023:3107 | Third Party Advisory | |
| https://access.redhat.com/errata/RHSA-2023:3148 | Third Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2023-2295 | Third Party AdvisoryVendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2189777 | Issue Tracking | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-33801 | Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-2295 | ||
| https://www.cve.org/CVERecord?id=CVE-2023-2295 |
Change history (0)
No recorded changes yet.