CVE-2024-23185
Last modified
CVE-2024-23185 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Very large headers can cause resource exhaustion when parsing message. The message-parser normally reads reasonably sized chunks of the message. EPSS estimates a 1.28% chance of exploitation in the next 30 days.
Description
Very large headers can cause resource exhaustion when parsing message. The message-parser normally reads reasonably sized chunks of the message. However, when it feeds them to message-header-parser, it starts building up "full_value" buffer out of the smaller chunks. The full_value buffer has no size limit, so large headers can cause large memory usage. It doesn't matter whether it's a single long header line, or a single header split into multiple lines. This bug exists in all Dovecot versions. Incoming mails typically have some size limits set by MTA, so even largest possible header size may still fit into Dovecot's vsz_limit. So attackers probably can't DoS a victim user this way. A user could APPEND larger mails though, allowing them to DoS themselves (although maybe cause some memory issues for the backend in general). One can implement restrictions on headers on MTA component preceding Dovecot. No publicly available exploits are known.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-23185?
How severe is CVE-2024-23185?
How do I fix CVE-2024-23185?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-2318A vulnerability was found in ZKTeco ZKBio Media 2.0.0_x64_20…7.5
- CVE-2024-23180Improper input validation vulnerability in a-blog cms Ver.3.…8.8
- CVE-2024-23181Cross-site scripting vulnerability in a-blog cms Ver.3.1.x s…6.1
- CVE-2024-23182Relative path traversal vulnerability in a-blog cms Ver.3.1.…8.1
- CVE-2024-23183Cross-site scripting vulnerability in a-blog cms Ver.3.1.x s…5.4
- CVE-2024-23184Having a large number of address headers (From, To, Cc, Bcc,…5
- CVE-2024-23186E-Mail containing malicious display-name information could t…6.1
- CVE-2024-23187Content-ID based embedding of resources in E-Mails could be …6.1
- CVE-2024-23188Maliciously crafted E-Mail attachment names could be used to…6.5
- CVE-2024-23189Embedded content references at tasks could be used to tempor…5.4
- CVE-2024-2319Cross-Site Scripting (XSS) vulnerability in the Django Markd…6.1
- CVE-2024-23190Upsell shop information of an account can be manipulated to …5.4
Are you affected by CVE-2024-23185?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
