First published: Tue Aug 01 2023(Updated: )
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.
Credit: secalert@redhat.com secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/postgresql | <15.4 | 15.4 |
PostgreSQL PostgreSQL | >=15.0<15.4 | |
Redhat Enterprise Linux | =8.0 | |
Redhat Enterprise Linux | =9.0 | |
Debian Debian Linux | =12.0 | |
debian/postgresql-13 | 13.16-0+deb11u1 | |
debian/postgresql-15 | 15.8-0+deb12u1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The vulnerability ID is CVE-2023-39418.
The severity level of CVE-2023-39418 is medium (4.3).
The affected software of CVE-2023-39418 is PostgreSQL version 15.4 and below on Redhat Enterprise Linux 8.0 and 9.0, and PostgreSQL versions 11, 13, and 15 on Debian and Ubuntu.
CVE-2023-39418 is a vulnerability in PostgreSQL that occurs when using the MERGE command, which fails to test new rows against row security policies defined for UPDATE and SELECT, potentially allowing a user to store forbidden rows.
Yes, you can find references for CVE-2023-39418 at these links: [reference 1](https://bugzilla.redhat.com/show_bug.cgi?id=2228112), [reference 2](https://access.redhat.com/security/cve/CVE-2023-39418), and [reference 3](https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=cb2ae5741f2458a474ed3c31458d242e678ff229).