title: Postgresql: merge fails to enforce update or select row security policies
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.
affected:
{
product: postgresql
vendor: n/a
versions:
version: 15.4, status: unaffected
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: postgresql:15
defaultStatus: affected
versions:
version: 8090020231114113548.a75119d5, lessThan: *, versionType: rpm, status: unaffected
cpe: cpe:/a:redhat:enterprise_linux:8::appstream
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.8 Extended Update Support
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: postgresql:15
defaultStatus: affected
versions:
version: 8080020231113134015.63b34585, lessThan: *, versionType: rpm, status: unaffected
cpe: cpe:/a:redhat:rhel_eus:8.8::appstream
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 9
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: postgresql:15
defaultStatus: affected
versions:
version: 9030020231120082734.rhel9, lessThan: *, versionType: rpm, status: unaffected
cpe: cpe:/a:redhat:enterprise_linux:9::appstream
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 9.2 Extended Update Support
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: postgresql:15
defaultStatus: affected
versions:
version: 9020020231115020618.rhel9, lessThan: *, versionType: rpm, status: unaffected
cpe: cpe:/a:redhat:rhel_eus:9.2::appstream
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 6
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: postgresql
defaultStatus: unaffected
cpes: cpe:/o:redhat:enterprise_linux:6
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 7
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: postgresql
defaultStatus: unaffected
cpes: cpe:/o:redhat:enterprise_linux:7
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: postgresql:10/postgresql
defaultStatus: unaffected
cpes: cpe:/o:redhat:enterprise_linux:8
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: postgresql:12/postgresql
defaultStatus: unaffected
cpes: cpe:/o:redhat:enterprise_linux:8
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: postgresql:13/postgresql
defaultStatus: unaffected
cpes: cpe:/o:redhat:enterprise_linux:8
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 9
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: postgresql
defaultStatus: unaffected
cpes: cpe:/o:redhat:enterprise_linux:9
}
{
vendor: Red Hat
product: Red Hat Software Collections
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: rh-postgresql10-postgresql
defaultStatus: unaffected
cpes: cpe:/a:redhat:rhel_software_collections:3
}
{
vendor: Red Hat
product: Red Hat Software Collections
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: rh-postgresql12-postgresql
defaultStatus: unaffected
cpes: cpe:/a:redhat:rhel_software_collections:3
}
{
vendor: Red Hat
product: Red Hat Software Collections
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: rh-postgresql13-postgresql
defaultStatus: unaffected
cpes: cpe:/a:redhat:rhel_software_collections:3
}
metrics:
other: [
content: {'value': 'Low', 'namespace': 'https://access.redhat.com/security/updates/classification/'}
type: Red Hat severity rating
]