Name | CVE-2023-39417 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3600-1, DSA-5553-1, DSA-5554-1, ELA-1001-1, ELA-1003-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
postgresql-11 (PTS) | buster, buster (lts) | 11.22-0+deb10u3 | fixed |
buster (security) | 11.22-0+deb10u2 | fixed | |
postgresql-13 (PTS) | bullseye | 13.16-0+deb11u1 | fixed |
bullseye (security) | 13.18-0+deb11u1 | fixed | |
postgresql-15 (PTS) | bookworm | 15.8-0+deb12u1 | fixed |
bookworm (security) | 15.10-0+deb12u1 | fixed | |
postgresql-9.4 (PTS) | jessie, jessie (lts) | 9.4.26-0+deb8u10 | fixed |
postgresql-9.6 (PTS) | stretch (security) | 9.6.24-0+deb9u1 | vulnerable |
stretch (lts), stretch | 9.6.24-0+deb9u7 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
postgresql-11 | source | buster | 11.21-0+deb10u2 | DLA-3600-1 | ||
postgresql-11 | source | (unstable) | (unfixed) | |||
postgresql-13 | source | bullseye | 13.13-0+deb11u1 | DSA-5554-1 | ||
postgresql-13 | source | (unstable) | (unfixed) | |||
postgresql-15 | source | bookworm | 15.5-0+deb12u1 | DSA-5553-1 | ||
postgresql-15 | source | (unstable) | 15.4-1 | |||
postgresql-9.4 | source | jessie | 9.4.26-0+deb8u8 | ELA-1003-1 | ||
postgresql-9.4 | source | (unstable) | (unfixed) | |||
postgresql-9.6 | source | stretch | 9.6.24-0+deb9u5 | ELA-1001-1 | ||
postgresql-9.6 | source | (unstable) | (unfixed) |
https://www.postgresql.org/support/security/CVE-2023-39417/
https://www.postgresql.org/about/news/postgresql-154-149-1312-1216-1121-and-postgresql-16-beta-3-released-2689/
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=de494ec14f6bd7f2676623a5934723a6c8ba51c2 (REL_15_4)
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=b1b585e0fc3dd195bc2e338c80760bede08de5f1 (REL_13_12)
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=919ebb023e74546c6293352556365091c5402366 (REL_11_21)