Vulnerability identifier: #VU76042
Vulnerability risk: Low
CVSSv3.1: 2 [CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-254
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
PostgreSQL
Server applications /
Database software
Vendor: PostgreSQL Global Development Group
Description
The vulnerability allows a remote user to bypass implemented security restrictions.
The vulnerability exists due to incomplete fix for #VU40402 (CVE-2016-2193) that did not anticipate a scenario involving function inlining. This scenario can happen under security definer functions or when a common user and query is planned initially and then re-used across multiple SET ROLEs. Applying an incorrect policy may permit a user to complete otherwise-forbidden reads and modifications.
This affects only databases that have used CREATE POLICY to define a row security policy.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
PostgreSQL: 15.0 - 15.2, 14.0 - 14.7, 13.0 - 13.10, 12 - 12.14, 11.0 - 11.19, 10.0 - 10.23, 9.6.0 - 9.6.24, 9.5 - 9.5.25, 9.4 - 9.4.26, 9.3 - 9.3.25, 9.2 - 9.2.24, 9.1 - 9.1.24, 9.0 - 9.0.23
External links
http://www.postgresql.org/about/news/postgresql-153-148-1311-1215-and-1120-released-2637/
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote authenticated privileged user via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.