Untrusted data inclusion in pg_dump in PostgreSQL allows a malicious superuser of the origin server to inject arbitrary code for restore-time execution as the client operating system account running psql to restore the dump, via psql meta-commands. pg_dumpall is also affected. pg_restore is affected when used to generate a plain-format dump. This is similar to MySQL CVE-2024-21096. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected.
The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Red Hat Enterprise Linux 10 | RedHat | postgresql16-0:16.10-1.el10_0 | * |
Red Hat Enterprise Linux 8 | RedHat | postgresql:16-8100020250818110346.489197e6 | * |
Red Hat Enterprise Linux 8 | RedHat | postgresql:13-8100020250818110147.489197e6 | * |
Red Hat Enterprise Linux 8 | RedHat | postgresql:15-8100020250818110305.489197e6 | * |
Red Hat Enterprise Linux 8 | RedHat | postgresql:12-8100020250829093521.489197e6 | * |
Red Hat Enterprise Linux 8.2 Advanced Update Support | RedHat | postgresql:12-8020020250826135918.4cda2c84 | * |
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | RedHat | postgresql:12-8040020250820054803.522a0ee4 | * |
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | RedHat | postgresql:13-8040020250818170654.522a0ee4 | * |
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | RedHat | postgresql:12-8060020250820072728.ad008a3a | * |
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | RedHat | postgresql:13-8060020250825094024.ad008a3a | * |
Red Hat Enterprise Linux 8.6 Telecommunications Update Service | RedHat | postgresql:12-8060020250820072728.ad008a3a | * |
Red Hat Enterprise Linux 8.6 Telecommunications Update Service | RedHat | postgresql:13-8060020250825094024.ad008a3a | * |
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | RedHat | postgresql:12-8060020250820072728.ad008a3a | * |
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | RedHat | postgresql:13-8060020250825094024.ad008a3a | * |
Red Hat Enterprise Linux 8.8 Telecommunications Update Service | RedHat | postgresql:12-8080020250819150429.63b34585 | * |
Red Hat Enterprise Linux 8.8 Telecommunications Update Service | RedHat | postgresql:13-8080020250819150623.63b34585 | * |
Red Hat Enterprise Linux 8.8 Telecommunications Update Service | RedHat | postgresql:15-8080020250815150643.63b34585 | * |
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | RedHat | postgresql:12-8080020250819150429.63b34585 | * |
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | RedHat | postgresql:13-8080020250819150623.63b34585 | * |
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | RedHat | postgresql:15-8080020250815150643.63b34585 | * |
Red Hat Enterprise Linux 9 | RedHat | postgresql:16-9060020250817200213.rhel9 | * |
Red Hat Enterprise Linux 9 | RedHat | postgresql:15-9060020250817180313.rhel9 | * |
Red Hat Enterprise Linux 9 | RedHat | postgresql-0:13.22-1.el9_6 | * |
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | RedHat | postgresql-0:13.22-1.el9_0 | * |
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | RedHat | postgresql-0:13.22-1.el9_2 | * |
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | RedHat | postgresql:15-9020020250815141744.rhel9 | * |
Red Hat Enterprise Linux 9.4 Extended Update Support | RedHat | postgresql:15-9040020250818140154.rhel9 | * |
Red Hat Enterprise Linux 9.4 Extended Update Support | RedHat | postgresql:16-9040020250818135852.rhel9 | * |
Red Hat Enterprise Linux 9.4 Extended Update Support | RedHat | postgresql-0:13.22-1.el9_4 | * |
When including third-party functionality, such as a web widget, library, or other source of functionality, the product must effectively trust that functionality. Without sufficient protection mechanisms, the functionality could be malicious in nature (either by coming from an untrusted source, being spoofed, or being modified in transit from a trusted source). The functionality might also contain its own weaknesses, or grant access to additional functionality and state information that should be kept private to the base system, such as system state information, sensitive application data, or the DOM of a web application. This might lead to many different consequences depending on the included functionality, but some examples include injection of malware, information exposure by granting excessive privileges or permissions to the untrusted functionality, DOM-based XSS vulnerabilities, stealing user’s cookies, or open redirect to malware (CWE-601).