Vulnerability · Published Aug 25, 2023 · Assigned by mitre
CVE-2023-38711
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 reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
An issue was discovered in Libreswan before 4.12. When an IKEv1 Quick Mode connection configured with ID_IPV4_ADDR or ID_IPV6_ADDR receives an IDcr payload with ID_FQDN, a NULL pointer dereference causes a crash and restart of the pluto daemon. NOTE: the earliest affected version is 4.6.
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-38711 |
| Alpine:v3.21 | libreswan | 4.12-r0 | ALPINE-CVE-2023-38711 |
| Alpine:v3.22 | libreswan | 4.12-r0 | ALPINE-CVE-2023-38711 |
| Alpine:v3.23 | libreswan | 4.12-r0 | ALPINE-CVE-2023-38711 |
| Alpine:v3.24 | libreswan | 4.12-r0 | ALPINE-CVE-2023-38711 |
| Debian:12 | libreswan | no fix listed | DEBIAN-CVE-2023-38711 |
| Debian:13 | libreswan | 4.12-1 | DEBIAN-CVE-2023-38711 |
| 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-38711 |
| Ubuntu:24.04:LTS | libreswan | no fix listed | UBUNTU-CVE-2023-38711 |
| Ubuntu:25.10 | libreswan | no fix listed | UBUNTU-CVE-2023-38711 |
| Ubuntu:26.04:LTS | libreswan | no fix listed | UBUNTU-CVE-2023-38711 |
| Ubuntu:26.10 | libreswan | no fix listed | UBUNTU-CVE-2023-38711 |