ADVISORIES

Alpine Security Database

ALPINE-CVE-2022-3996

Details

If an X.509 certificate contains a malformed policy constraint and policy processing is enabled, then a write lock will be taken twice recursively. On some operating systems (most widely: Windows) this results in a denial of service when the affected process hangs. Policy processing being enabled on a publicly facing server is not considered to be a common setup.

Policy processing is enabled by passing the -policy' argument to the command line utilities or by calling the X509_VERIFY_PARAM_set1_policies()' function.

Update (31 March 2023): The description of the policy processing enablement was corrected based on CVE-2023-0466.

Affected packages

EcosystemPackageAffected versions
Alpine:v3.17openssl
From 3.0.0 before 3.0.7-r2 (fixed in 3.0.7-r2)
Alpine:v3.18openssl
From 3.0.0 before 3.0.7-r2 (fixed in 3.0.7-r2)
Alpine:v3.19openssl
From 3.0.0 before 3.0.7-r2 (fixed in 3.0.7-r2)
Alpine:v3.20openssl
From 3.0.0 before 3.0.7-r2 (fixed in 3.0.7-r2)
Alpine:v3.21openssl
From 3.0.0 before 3.0.7-r2 (fixed in 3.0.7-r2)
Alpine:v3.22openssl
From 3.0.0 before 3.0.7-r2 (fixed in 3.0.7-r2)
Alpine:v3.23openssl
From 3.0.0 before 3.0.7-r2 (fixed in 3.0.7-r2)
Alpine:v3.24openssl
From 3.0.0 before 3.0.7-r2 (fixed in 3.0.7-r2)
Alpine:v3.15openssl3
All versions before 3.0.8-r0 (fixed in 3.0.8-r0)
Alpine:v3.16openssl3
All versions before 3.0.8-r0 (fixed in 3.0.8-r0)

References