Ubuntu update for postgresql-10



Published: 2023-05-24
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2023-2454
CVE-2023-2455
CWE-ID CWE-264
CWE-254
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Ubuntu
Operating systems & Components / Operating system

postgresql-client-10 (Ubuntu package)
Operating systems & Components / Operating system package or component

postgresql-10 (Ubuntu package)
Operating systems & Components / Operating system package or component

postgresql-client-12 (Ubuntu package)
Operating systems & Components / Operating system package or component

postgresql-12 (Ubuntu package)
Operating systems & Components / Operating system package or component

postgresql-client-14 (Ubuntu package)
Operating systems & Components / Operating system package or component

postgresql-14 (Ubuntu package)
Operating systems & Components / Operating system package or component

postgresql-client-15 (Ubuntu package)
Operating systems & Components / Operating system package or component

postgresql-15 (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Permissions, Privileges, and Access Controls

EUVDB-ID: #VU76041

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-2454

CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls

Exploit availability: No

Description

The vulnerability allows a remote user to execute arbitrary code on the system.

The vulnerability exists due to improperly imposed security restrictions. A remote database user with   CREATE privilege can bypass protective search_path changes via "CREATE SCHEMA ... schema_element" command and execute arbitrary code on the system.

Mitigation

Update the affected package postgresql-10 to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 23.04

postgresql-client-10 (Ubuntu package): before 10.23-0ubuntu0.18.04.2

postgresql-10 (Ubuntu package): before 10.23-0ubuntu0.18.04.2

postgresql-client-12 (Ubuntu package): before 12.15-0ubuntu0.20.04.1

postgresql-12 (Ubuntu package): before 12.15-0ubuntu0.20.04.1

postgresql-client-14 (Ubuntu package): before 14.8-0ubuntu0.22.10.1

postgresql-14 (Ubuntu package): before 14.8-0ubuntu0.22.10.1

postgresql-client-15 (Ubuntu package): before 15.3-0ubuntu0.23.04.1

postgresql-15 (Ubuntu package): before 15.3-0ubuntu0.23.04.1

External links

http://ubuntu.com/security/notices/USN-6104-1


Q & A

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.

2) Security features bypass

EUVDB-ID: #VU76042

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: CVE-2023-2455

CWE-ID: CWE-254 - Security Features

Exploit availability: No

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

Update the affected package postgresql-10 to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 23.04

postgresql-client-10 (Ubuntu package): before 10.23-0ubuntu0.18.04.2

postgresql-10 (Ubuntu package): before 10.23-0ubuntu0.18.04.2

postgresql-client-12 (Ubuntu package): before 12.15-0ubuntu0.20.04.1

postgresql-12 (Ubuntu package): before 12.15-0ubuntu0.20.04.1

postgresql-client-14 (Ubuntu package): before 14.8-0ubuntu0.22.10.1

postgresql-14 (Ubuntu package): before 14.8-0ubuntu0.22.10.1

postgresql-client-15 (Ubuntu package): before 15.3-0ubuntu0.23.04.1

postgresql-15 (Ubuntu package): before 15.3-0ubuntu0.23.04.1

External links

http://ubuntu.com/security/notices/USN-6104-1


Q & A

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.



###SIDEBAR###