Vulnerability · Published Aug 25, 2023 · Assigned by mitre
CVE-2023-38712
Medium 6.5
In plain English
A medium-severity security flaw in the libreswan package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)0.8%top 42.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
An issue was discovered in Libreswan 3.x and 4.x before 4.12. When an IKEv1 ISAKMP SA Informational Exchange packet contains a Delete/Notify payload followed by further Notifies that act on the ISAKMP SA, such as a duplicated Delete/Notify message, a NULL pointer dereference on the deleted state causes the pluto daemon to crash and restart.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libreswan | 4.12-2.el8 | ALSA-2023:7052 |
| AlmaLinux:9 | libreswan | 4.12-1.el9 | ALSA-2023:6549 |
| Alpine:v3.20 | libreswan | 4.12-r0 | ALPINE-CVE-2023-38712 |
| Alpine:v3.21 | libreswan | 4.12-r0 | ALPINE-CVE-2023-38712 |
| Alpine:v3.22 | libreswan | 4.12-r0 | ALPINE-CVE-2023-38712 |
| Alpine:v3.23 | libreswan | 4.12-r0 | ALPINE-CVE-2023-38712 |
| Alpine:v3.24 | libreswan | 4.12-r0 | ALPINE-CVE-2023-38712 |
| Debian:12 | libreswan | no fix listed | DEBIAN-CVE-2023-38712 |
| Debian:13 | libreswan | 4.12-1 | DEBIAN-CVE-2023-38712 |
| Rocky Linux:8 | libreswan | 0:4.12-2.el8_10.3 | RLSA-2023:7052 |
| Ubuntu:22.04:LTS | libreswan | no fix listed | UBUNTU-CVE-2023-38712 |
| Ubuntu:24.04:LTS | libreswan | no fix listed | UBUNTU-CVE-2023-38712 |
| Ubuntu:25.10 | libreswan | no fix listed | UBUNTU-CVE-2023-38712 |
| Ubuntu:26.04:LTS | libreswan | no fix listed | UBUNTU-CVE-2023-38712 |
| Ubuntu:26.10 | libreswan | no fix listed | UBUNTU-CVE-2023-38712 |