CVE-2023-5870

NameCVE-2023-5870
DescriptionA flaw was found in PostgreSQL involving the pg_cancel_backend role that signals background workers, including the logical replication launcher, autovacuum workers, and the autovacuum launcher. Successful exploitation requires a non-core extension with a less-resilient background worker and would affect that specific background worker only. This issue may allow a remote high privileged user to launch a denial of service (DoS) attack.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3651-1, DSA-5553-1, DSA-5554-1, ELA-1001-1
Debian Bugs1056283

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
postgresql-11 (PTS)buster, buster (lts)11.22-0+deb10u3fixed
buster (security)11.22-0+deb10u2fixed
postgresql-13 (PTS)bullseye13.16-0+deb11u1fixed
bullseye (security)13.18-0+deb11u1fixed
postgresql-15 (PTS)bookworm15.8-0+deb12u1fixed
bookworm (security)15.10-0+deb12u1fixed
postgresql-16 (PTS)sid, trixie16.4-3fixed
postgresql-9.4 (PTS)jessie, jessie (lts)9.4.26-0+deb8u10vulnerable
postgresql-9.6 (PTS)stretch (security)9.6.24-0+deb9u1vulnerable
stretch (lts), stretch9.6.24-0+deb9u7fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
postgresql-11sourcebuster11.22-0+deb10u1DLA-3651-1
postgresql-11source(unstable)(unfixed)
postgresql-13sourcebullseye13.13-0+deb11u1DSA-5554-1
postgresql-13source(unstable)(unfixed)
postgresql-15sourcebookworm15.5-0+deb12u1DSA-5553-1
postgresql-15source(unstable)(unfixed)1056283
postgresql-16source(unstable)16.1-1
postgresql-9.4source(unstable)(unfixed)
postgresql-9.6sourcestretch9.6.24-0+deb9u5ELA-1001-1

Notes

https://www.postgresql.org/support/security/CVE-2023-5870/
https://www.postgresql.org/about/news/postgresql-161-155-1410-1313-1217-and-1122-released-2749/
[jessie] - postgresql-9.4 <no-dsa> (Minor issue)

Search for package or bug name: Reporting problems