CVE-2023-5870: postgresql Uncontrolled Resource Consumption
Vulnerability summary
CVE-2023-5870 is a medium (CVSS 4.4) Uncontrolled Resource Consumption vulnerability in postgresql. EPSS estimates a 2.56% chance of exploitation in the next 30 days, higher than 84.8% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 41 · Related 26Timeline
- 10-12-2023PublishedVulnerability first disclosed.
- 02-03-2026Last modifiedVulnerability information updated.
Description
A 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.
CVSS metrics
7 scores · 7 sources · 1 version- CVE.orgCNA2.2LowCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · AlpineEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
2.56%
Chance of exploitation in the next 30 days
Percentile
85%
Versus all other CVEs
30-day change
0.00 pp
From 2.56% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Redhat15 products
- codeready_linux_builder_eus9.2
- codeready_linux_builder_eus_for_power_little_endian_eus9.0_ppc64le | 9.2_ppc64le
- codeready_linux_builder_for_arm64_eus8.6_aarch64 | 9.0_aarch64 | 9.2_aarch64
- codeready_linux_builder_for_ibm_z_systems_eus9.0_s390x | 9.2_s390x
- codeready_linux_builder_for_power_little_endian_eus9.0_ppc64le | 9.2_ppc64le
Chainguard5 products
- postgresql-12< 12.17-r0
- postgresql-13< 13.13-r0
- postgresql-14< 14.10-r0
- postgresql-15< 15.5-r0
- postgresql-16< 16.1-r0
Ubuntu5 products
- postgresql-10< 10.23-0ubuntu0.18.04.2+esm1
- postgresql-12< 12.17-0ubuntu0.20.04.1
- postgresql-14< 14.10-0ubuntu0.22.04.1
- postgresql-9.3All versions (No fix recorded)
- postgresql-9.5< 9.5.25-0ubuntu0.16.04.1+esm6
Wolfi5 products
- postgresql-12< 12.17-r0
- postgresql-13< 13.13-r0
- postgresql-14< 14.10-r0
- postgresql-15< 15.5-r0
- postgresql-16< 16.1-r0
Alpine3 products
- postgresql14< 14.10-r0
- postgresql15< 15.5-r0
- postgresql16< 16.1-r0
Debian1 product
- postgresql-15< 15.5-0+deb12u1
Postgresql1 product
- postgresql≥ 11.0, < 11.22 | ≥ 12.0, < 12.17 | ≥ 13.0, < 13.13 | ≥ 14.0, < 14.10 | ≥ 15.0, < 15.5 | 16.0
7 vendors · 35 products
References
36 links- access.redhat.com/errata/RHSA-2023:7545Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2023:7579Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2023:7580Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2023:7581Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2023:7616Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2023:7656Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2023:7666Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2023:7667Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2023:7694Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2023:7695Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
Show all 36 references
- access.redhat.com/errata/RHSA-2023:7714Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2023:7770Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2023:7772Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- www.postgresql.org/about/news/postgresql-161-155-1410-1313-1217-and-1122-released-2749/REPORTAdvisoryRelease Notes