Alpine: multiple libreswan packages: security update to 4.12-r0

medium Tenable Cloud Security Plugin ID 408081

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- An issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA REKEY packet contains an invalid
IPsec protocol ID number of 0 or 1, an error notify INVALID_SPI is sent back. The notify payload's
protocol ID is copied from the incoming packet, but the code that verifies outgoing packets fails an
assertion that the protocol ID must be ESP (2) or AH(3) and causes the pluto daemon to crash and restart.
NOTE: the earliest affected version is 3.20. (CVE-2023-38710)

- 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. (CVE-2023-38711)

- 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. (CVE-2023-38712)

See Also

https://security.alpinelinux.org/vuln/CVE-2023-38710

https://security.alpinelinux.org/vuln/CVE-2023-38711

https://security.alpinelinux.org/vuln/CVE-2023-38712

Plugin Details

Severity: Medium

ID: 408081

Version: Revision 1.26

Type: Local

Published: 12/7/2023

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:N/A:C

CVSS Score Source: CVE-2023-38712

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 8/11/2023

Reference Information

CVE: CVE-2023-38710, CVE-2023-38711, CVE-2023-38712