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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Alpine:v3.17 | openssl | From 3.0.0 before 3.0.7-r2 (fixed in 3.0.7-r2) |
| Alpine:v3.18 | openssl | From 3.0.0 before 3.0.7-r2 (fixed in 3.0.7-r2) |
| Alpine:v3.19 | openssl | From 3.0.0 before 3.0.7-r2 (fixed in 3.0.7-r2) |
| Alpine:v3.20 | openssl | From 3.0.0 before 3.0.7-r2 (fixed in 3.0.7-r2) |
| Alpine:v3.21 | openssl | From 3.0.0 before 3.0.7-r2 (fixed in 3.0.7-r2) |
| Alpine:v3.22 | openssl | From 3.0.0 before 3.0.7-r2 (fixed in 3.0.7-r2) |
| Alpine:v3.23 | openssl | From 3.0.0 before 3.0.7-r2 (fixed in 3.0.7-r2) |
| Alpine:v3.24 | openssl | From 3.0.0 before 3.0.7-r2 (fixed in 3.0.7-r2) |
| Alpine:v3.15 | openssl3 | All versions before 3.0.8-r0 (fixed in 3.0.8-r0) |
| Alpine:v3.16 | openssl3 | All versions before 3.0.8-r0 (fixed in 3.0.8-r0) |