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 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.
SQL Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.5 HIGH
NETWORK
HIGH
LOW
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
redhatCNA
7.5 HIGH
NETWORK
HIGH
LOW
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA-ADPADP
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 65%
VendorProductVersion
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_collections
-
redhatenterprise_linux
8.0
redhatenterprise_linux
9.0
debiandebian_linux
8.0
debiandebian_linux
11.0
debiandebian_linux
12.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
postgresql-13
bullseye
13.16-0+deb11u1
fixed
bullseye (security)
13.18-0+deb11u1
fixed
postgresql-15
bookworm
15.8-0+deb12u1
fixed
bookworm (security)
15.10-0+deb12u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
postgresql-10
oracular
dne
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
dne
bionic
needs-triage
xenial
dne
trusty
dne
postgresql-12
oracular
dne
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
Fixed 12.16-0ubuntu0.20.04.1
released
bionic
dne
xenial
dne
trusty
ignored
postgresql-14
oracular
dne
noble
dne
mantic
dne
lunar
dne
jammy
Fixed 14.9-0ubuntu0.22.04.1
released
focal
dne
bionic
dne
xenial
dne
trusty
dne
postgresql-15
oracular
dne
noble
dne
mantic
Fixed 15.4-1ubuntu1
released
lunar
Fixed 15.4-0ubuntu0.23.04.1
released
jammy
dne
focal
dne
bionic
ignored
xenial
ignored
trusty
ignored
postgresql-9.1
oracular
dne
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
dne
bionic
dne
xenial
dne
trusty
ignored
postgresql-9.3
oracular
dne
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
dne
bionic
dne
xenial
dne
trusty
ignored
postgresql-9.5
oracular
dne
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
dne
bionic
dne
xenial
Fixed 9.5.25-0ubuntu0.16.04.1+esm5
released
trusty
dne
References