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 | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSpostgresql-9.3 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSpostgresql-9.5 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSpostgresql-10 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSpostgresql-12 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSpostgresql-14 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSpostgresql-16 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10postgresql-18 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSpostgresql-18 |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
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
- report ubuntu.com
- report cve.org
- report postgresql.org
- report postgresql.org