In PHP versions 8.2.* before 8.2.32, 8.3.* before 8.3.32, 8.4.* before 8.4.23, 8.5.* before 8.5.8, the AES-WRAP-PAD algorithm implementation in OpenSS...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Alpine:v3.22php82 |
< 8.2.33-r0→ 8.2.33-r0 |
8.2.33-r0 |
| Alpine:v3.22php83 |
< 8.3.36-r0→ 8.3.36-r0 |
8.3.36-r0 |
| Alpine:v3.23php83 |
< 8.3.36-r0→ 8.3.36-r0 |
8.3.36-r0 |
| Alpine:v3.24php83 |
< 8.3.32-r0→ 8.3.32-r0 |
8.3.32-r0 |
| Alpine:v3.22php84 |
< 8.4.27-r0→ 8.4.27-r0 |
8.4.27-r0 |
| Alpine:v3.23php84 |
< 8.4.27-r0→ 8.4.27-r0 |
8.4.27-r0 |
| Alpine:v3.24php84 |
< 8.4.23-r0→ 8.4.23-r0 |
8.4.23-r0 |
| Alpine:v3.23php85 |
< 8.5.12-r0→ 8.5.12-r0 |
8.5.12-r0 |
| Alpine:v3.24php85 |
< 8.5.8-r0→ 8.5.8-r0 |
8.5.8-r0 |
Original description The description as published by the source.
In PHP versions 8.2.* before 8.2.32, 8.3.* before 8.3.32, 8.4.* before 8.4.23, 8.5.* before 8.5.8, the AES-WRAP-PAD algorithm implementation in OpenSSL extension contains a buffer allocation flaw. The output buffer for the AES key-wrap-with-padding operation is sized from the plaintext length without accounting for RFC 5649 expansion. This may cause OpenSSL to write beyond allocated memory, corrupting heap metadata and triggering application abort.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security.alpinelinux.org