CVE Vulnerabilities

CVE-2022-23094

NULL Pointer Dereference

Published: Jan 15, 2022 | Modified: Nov 07, 2023
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

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

A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit.

Affected Software

Name Vendor Start Version End Version
Libreswan Libreswan 4.2 (including) 4.6 (excluding)
Red Hat Enterprise Linux 8 RedHat libreswan-0:4.4-4.el8_5 *
Red Hat Enterprise Linux 8.4 Extended Update Support RedHat libreswan-0:4.3-6.el8_4 *
Libreswan Ubuntu bionic *
Libreswan Ubuntu hirsute *
Libreswan Ubuntu impish *
Libreswan Ubuntu kinetic *
Libreswan Ubuntu trusty *
Libreswan Ubuntu upstream *
Libreswan Ubuntu xenial *

Potential Mitigations

References