Resource Exhaustion Affecting postgresql15-contrib package, versions <0:15.5-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.14% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-POSTGRESQL15CONTRIB-6147156
  • published9 Jan 2024
  • disclosed10 Dec 2023

Introduced: 10 Dec 2023

CVE-2023-5870  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 postgresql15-contrib to version 0:15.5-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2024-464.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql15-contrib package and not the postgresql15-contrib package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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 Scores

version 3.1