Improper input validation in PostgreSQL pg_restore allows a non-plain archive provider to execute arbitrary code as the operating system user running...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Alpine:v3.21postgresql15 |
< 15.20-r0→ 15.20-r0 |
15.20-r0 |
| Alpine:v3.22postgresql15 |
< 15.20-r0→ 15.20-r0 |
15.20-r0 |
| Alpine:v3.21postgresql16 |
< 16.16-r0→ 16.16-r0 |
16.16-r0 |
| Alpine:v3.22postgresql16 |
< 16.16-r0→ 16.16-r0 |
16.16-r0 |
| Alpine:v3.23postgresql16 |
< 16.16-r0→ 16.16-r0 |
16.16-r0 |
| Alpine:v3.24postgresql16 |
< 16.16-r0→ 16.16-r0 |
16.16-r0 |
| Alpine:v3.21postgresql17 |
< 17.12-r0→ 17.12-r0 |
17.12-r0 |
| Alpine:v3.22postgresql17 |
< 17.12-r0→ 17.12-r0 |
17.12-r0 |
| Alpine:v3.23postgresql17 |
< 17.12-r0→ 17.12-r0 |
17.12-r0 |
| Alpine:v3.24postgresql17 |
< 17.12-r0→ 17.12-r0 |
17.12-r0 |
| Alpine:v3.23postgresql18 |
< 18.7-r0→ 18.7-r0 |
18.7-r0 |
| Alpine:v3.24postgresql18 |
< 18.7-r0→ 18.7-r0 |
18.7-r0 |
Original description The description as published by the source.
Improper input validation in PostgreSQL pg_restore allows a non-plain archive provider to execute arbitrary code as the operating system user running pg_restore, via a crafted archive. Note a contrast: crafted archive data may legitimately cause arbitrary SQL to execute at the restore destination, but it does not legitimately confer arbitrary code execution in the pg_restore OS process. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security.alpinelinux.org