CVE-2023-5870

Public on 2023-11-12
Modified on 2024-03-13
Description
The documentation says the pg_cancel_backend role cannot signal "a backend owned by a superuser". On the contrary, it can signal background workers, including the logical replication launcher. It can signal autovacuum workers and the autovacuum launcher. Signaling autovacuum workers and those two launchers provides no meaningful exploit, so exploiting this vulnerability requires a non-core extension with a less-resilient background worker. For example, a non-core background worker that does not auto-restart would experience a denial of service with respect to that particular background worker.
Severity
Low severity
Low
CVSS v3 Base Score
2.2
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2 - Core postgresql Pending Fix
Amazon Linux 2 - Postgresql12 Extra postgresql 2024-01-19 ALAS2POSTGRESQL12-2024-007 Fixed
Amazon Linux 2 - Postgresql13 Extra postgresql 2024-01-19 ALAS2POSTGRESQL13-2024-005 Fixed
Amazon Linux 2 - Postgresql14 Extra postgresql 2024-01-19 ALAS2POSTGRESQL14-2024-004 Fixed
Amazon Linux 2023 postgresql15 2024-01-03 ALAS2023-2024-464 Fixed
Amazon Linux 1 postgresql92 Pending Fix

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 2.2 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L
NVD CVSSv3 2.2 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L