Skip to content
Fencer Vulns
high 7.5

CVE-2023-2295 json

A vulnerability was found in the libreswan library.

published 2023-05-17 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-33801

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.6%
EPSS 1.6% chance of exploitation in 30 days, percentile 75%
public exploits
0
none known

Summary

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.

Patch / fix

  • libreswan openshift 4.17, openshift 4.16, openshift 4.15 +1 more 4.6-3.el9_0.3
  • libreswan RHEL 9 4.9-4.el9_2
  • libreswan RHEL 8 4.9-3.el8_8

red hat advisories RHBA-2024:11565RHBA-2024:11505RHBA-2024:11525RHSA-2024:10594RHSA-2023:3148RHSA-2023:3107

  • libreswan AlmaLinux 8 4.9-3.el8_8
  • libreswan AlmaLinux 9 4.9-4.el9_2

almalinux advisories ALSA-2023:3107ALSA-2023:3148

  • libreswan Rocky Linux 8 4.9-3.el8_8

rocky linux advisories RLSA-2023:3107

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-2295 updated cvss 7.5

libreswan: Regression of CVE-2023-30570 fixes in the Red Hat Enterprise Linux

  • Red Hat Enterprise Linux AppStream (v. 8) libreswan 4.9-3.el8_8
    fixed: vendor fix RHSA-2023:3107
  • Red Hat Enterprise Linux AppStream (v. 9) libreswan 4.9-4.el9_2
    fixed: vendor fix RHSA-2023:3148
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) libreswan 4.6-3.el9_0.3
    fixed: vendor fix RHSA-2024:10594
  • Red Hat OpenShift Container Platform 4.15 libreswan 4.6-3.el9_0.3
    fixed: vendor fix RHBA-2024:11565
  • Red Hat OpenShift Container Platform 4.16 libreswan 4.6-3.el9_0.3
    fixed: vendor fix RHBA-2024:11505
  • Red Hat OpenShift Container Platform 4.17 libreswan 4.6-3.el9_0.3
    fixed: vendor fix RHBA-2024:11525
  • Red Hat Enterprise Linux 6 libreswan Red Hat Enterprise Linux 7 libreswan Red Hat OpenShift Container Platform 4.17 openshift 4.17.0-202412172334.p0.gf868289.assembly.stream.el8, openshift 4.17.0-202412172334.p0.gf868289.assembly.stream.el9, openshift-kubelet 4.17.0-202412172334.p0.gf868289.assembly.stream.el8, openshift-kubelet 4.17.0-202412172334.p0.gf868289.assembly.stream.el9, openshift-hyperkube 4.17.0-202412172334.p0.gf868289.assembly.stream.el8, openshift-hyperkube 4.17.0-202412172334.p0.gf868289.assembly.stream.el9, +6 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
21 mo ago

Exploit prediction

1.58% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

  • n/a libreswan

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.