Externally-controlled format string in PostgreSQL timeofday() function allows an attacker to retrieve portions of server memory, via crafted timezone zones. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.
The product uses a function that accepts a format string as an argument, but the format string originates from an external source.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Postgresql | Postgresql | * | 14.23 (excluding) |
| Postgresql | Postgresql | 15.0 (including) | 15.18 (excluding) |
| Postgresql | Postgresql | 16.0 (including) | 16.14 (excluding) |
| Postgresql | Postgresql | 17.0 (including) | 17.10 (excluding) |
| Postgresql | Postgresql | 18.0 (including) | 18.4 (excluding) |
| Red Hat Hardened Images | RedHat | postgresql18-main-18.4-0.1.hum1 | * |
| Postgresql-10 | Ubuntu | upstream | * |
| Postgresql-12 | Ubuntu | upstream | * |
| Postgresql-14 | Ubuntu | jammy | * |
| Postgresql-16 | Ubuntu | noble | * |
| Postgresql-17 | Ubuntu | questing | * |
| Postgresql-18 | Ubuntu | devel | * |
| Postgresql-18 | Ubuntu | resolute | * |
| Postgresql-9.3 | Ubuntu | upstream | * |
| Postgresql-9.5 | Ubuntu | upstream | * |