PostgreSQL
PostgreSQL reindexdb index name quoting allows SQL injection
SQL injection in PostgreSQL reindexdb allows an object creator to execute arbitrary SQL as the database user running reindexdb, via a crafted index name embedded in the parallel catalog query for --jobs with --index. Within major versions 17-18, minor versions before PostgreSQL 18.7 and 17.12 are affected. Versions before PostgreSQL 17 are unaffected.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.0high · scored by CNA · CWE-89
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
n/a PostgreSQL
- >= 18, < 18.7
- >= 17, < 17.12
Fixed in 18.7, 17.12
Mitigation
Upgrade PostgreSQL to 18.7 or 17.12 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.