Name | CVE-2023-39418 |
Description | A vulnerability was found in PostgreSQL with the use of the MERGE command, which fails to test new rows against row security policies defined for UPDATE and SELECT. If UPDATE and SELECT policies forbid some rows that INSERT policies do not forbid, a user could store such rows. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-5553-1 |
Vulnerable and fixed packages
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 | fixed |
| stretch (lts), stretch | 9.6.24-0+deb9u7 | fixed |
The information below is based on the following data on fixed versions.
Notes
- postgresql-13 <not-affected> (Only affects 15.x)
- postgresql-11 <not-affected> (Only affects 15.x)
https://www.postgresql.org/support/security/CVE-2023-39418/
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=cb2ae5741f2458a474ed3c31458d242e678ff229 (REL_15_4)
- postgresql-9.4 <not-affected> (Only affects 15.x)
- postgresql-9.6 <not-affected> (Only affects 15.x)