high7.5
CVE-2023-39417
IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extschema@, or @extschema:...@ inside a quoting construc…
Impact
IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extschema@, or @extschema:...@ inside a quoting construct (dollar quoting, '', or ""). If an administrator has installed files of a vulnerable, trusted, non-bundled extension, an attacker with database-level CREATE privilege can execute arbitrary code as the bootstrap superuser.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Postgresql | Postgresql | from 11.0 before 11.21 from 12.0 before 12.16 from 13.0 before 13.12 from 14.0 before 14.9 from 15.0 before 15.4 |
| Redhat | Software Collections | All versions |
| Redhat | Enterprise Linux | Versions 8.0, 9.0 |
| Debian | Debian Linux | Versions 8.0, 11.0, 12.0 |
| Red Hat | Red Hat Enterprise Linux 9 | Versions patch: 9030020231120082734.rhel9, patch: 0:13.13-1.el9_3 |
| Red Hat | Red Hat Software Collections For Red Hat Enterprise Linux 7 | Versions patch: 0:13.13-1.el7, patch: 0:12.17-1.el7 |
| Red Hat | Red Hat Enterprise Linux 8.4 Update Services For SAP Solutions | Versions patch: 8040020231127153301.522a0ee4, patch: 8040020231127154806.522a0ee4 |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | Versions patch: 8080020231113134015.63b34585, patch: 8080020231114105206.63b34585, patch: 8080020231128165335.63b34585 |
| Red Hat | Red Hat Enterprise Linux 8 | Versions patch: 8090020231128173330.a75119d5, patch: 8090020231114113548.a75119d5, patch: 8090020231114113712.a75119d5 |
| Red Hat | Red Hat Enterprise Linux 8.4 Telecommunications Update Service | Versions patch: 8040020231127154806.522a0ee4, patch: 8040020231127153301.522a0ee4 |
| Red Hat | Red Hat Enterprise Linux 8.2 Update Services For SAP Solutions | Version patch: 8020020231128165246.4cda2c84 |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | Versions patch: 8040020231127153301.522a0ee4, patch: 8040020231127154806.522a0ee4 |
| Red Hat | RHACS-4.1-RHEL-8 | Version patch: 4.1.6-6 |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | Versions patch: 8060020231114115246.ad008a3a, patch: 8060020231128165328.ad008a3a |
| Red Hat | RHACS-3.74-RHEL-8 | Versions patch: 3.74.8-9, patch: 3.74.8-7 |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | Versions patch: 9020020231115020618.rhel9, patch: 0:13.13-1.el9_2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/errata/RHSA-2023:7545
- https://access.redhat.com/errata/RHSA-2023:7579
- https://access.redhat.com/errata/RHSA-2023:7580
- https://access.redhat.com/errata/RHSA-2023:7581
- https://access.redhat.com/errata/RHSA-2023:7616
- https://access.redhat.com/errata/RHSA-2023:7656
- https://access.redhat.com/errata/RHSA-2023:7666
- https://access.redhat.com/errata/RHSA-2023:7667
- https://access.redhat.com/errata/RHSA-2023:7694
- https://access.redhat.com/errata/RHSA-2023:7695
- https://access.redhat.com/errata/RHSA-2023:7714
- https://access.redhat.com/errata/RHSA-2023:7770
- https://access.redhat.com/errata/RHSA-2023:7772
- https://access.redhat.com/errata/RHSA-2023:7784
- https://access.redhat.com/errata/RHSA-2023:7785
- https://access.redhat.com/errata/RHSA-2023:7883
- https://access.redhat.com/errata/RHSA-2023:7884
- https://access.redhat.com/errata/RHSA-2023:7885
- https://access.redhat.com/errata/RHSA-2024:0304
- https://access.redhat.com/errata/RHSA-2024:0332
- https://access.redhat.com/errata/RHSA-2024:0337
- https://access.redhat.com/security/cve/CVE-2023-39417
- https://bugzilla.redhat.com/show_bug.cgi?id=2228111
- https://www.postgresql.org/support/security/CVE-2023-39417