Live threats

All CVEs / Postgresql

CVE-2023-39417Postgresql

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
2.2%
probability of exploitation in 30 days · percentile 83
Auth required
Yes
Published
Aug 11, 2023
Updated
Nov 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Postgresql.

Affected products (CPE)

VendorProductVersions
postgresqlpostgresql≥ 11.0 < 11.21
postgresqlpostgresql≥ 12.0 < 12.16
postgresqlpostgresql≥ 13.0 < 13.12
postgresqlpostgresql≥ 14.0 < 14.9
postgresqlpostgresql≥ 15.0 < 15.4
redhatsoftware_collectionsall
redhatenterprise_linux8.0
redhatenterprise_linux9.0
debiandebian_linux8.0
debiandebian_linux11.0
debiandebian_linux12.0

Official sources

References

Links published by the sources. Open them with care.