The Debian pg_ctlcluster, pg_createcluster, and pg_upgradecluster scripts, as distributed in the Debian postgresql-common package before 181+deb9u1 for PostgreSQL (and other packages related to Debian and Ubuntu), handled symbolic links insecurely, which could result in local denial of service by overwriting arbitrary files.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Postgresql | Postgresql | - (including) | - (including) |
Postgresql-common | Ubuntu | artful | * |
Postgresql-common | Ubuntu | devel | * |
Postgresql-common | Ubuntu | trusty | * |
Postgresql-common | Ubuntu | xenial | * |
Postgresql-common | Ubuntu | zesty | * |