Allocation of Resources Without Limits or Throttling Affecting dovecot-pgsql package, versions <1:2.3.20-1.amzn2023.0.2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (11th 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 Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-DOVECOTPGSQL-8496258
  • published11 Dec 2024
  • disclosed10 Sept 2024

Introduced: 10 Sep 2024

CVE-2024-23184  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 dovecot-pgsql to version 1:2.3.20-1.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2024-785.

NVD Description

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

Having a large number of address headers (From, To, Cc, Bcc, etc.) becomes excessively CPU intensive. With 100k header lines CPU usage is already 12 seconds, and in a production environment we observed 500k header lines taking 18 minutes to parse. Since this can be triggered by external actors sending emails to a victim, this is a security issue. An external attacker can send specially crafted messages that consume target system resources and cause outage. One can implement restrictions on address headers on MTA component preceding Dovecot. No publicly available exploits are known.

CVSS Scores

version 3.1