NULL pointer dereference in pesign - CVE-2022-1249

 

NULL pointer dereference in pesign - CVE-2022-1249

Published: February 26, 2023


Vulnerability identifier: #VU72571
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2022-1249
CWE-ID: CWE-476
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Red Hat Bootloader Team
Affected software:
pesign

Detailed vulnerability description

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error in pesign's cms_set_pw_data() function of the cms_common.c file. The function fails to handle the NULL pwdata invocation from daemon.c, which leads to an explicit NULL dereference and crash on all attempts to daemonize pesign. A local user can perform a denial of service (DoS) attack.


How to mitigate CVE-2022-1249

Install update from vendor's website.

Sources