CVE Vulnerabilities

CVE-2022-23094

NULL Pointer Dereference

Published: Jan 15, 2022 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted IKEv1 packet because pluto/ikev1.c wrongly expects that a state object exists. This is fixed in 4.6.

Weakness

The product dereferences a pointer that it expects to be valid but is NULL.

Affected Software

NameVendorStart VersionEnd Version
LibreswanLibreswan4.2 (including)4.6 (excluding)
Red Hat Enterprise Linux 8RedHatlibreswan-0:4.4-4.el8_5*
Red Hat Enterprise Linux 8.4 Extended Update SupportRedHatlibreswan-0:4.3-6.el8_4*
LibreswanUbuntubionic*
LibreswanUbuntufocal*
LibreswanUbuntuhirsute*
LibreswanUbuntuimpish*
LibreswanUbuntukinetic*
LibreswanUbuntutrusty*
LibreswanUbuntuupstream*
LibreswanUbuntuxenial*

Potential Mitigations

References