CVE-2024-23185

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2024-23185
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-23185.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-23185
Related
Published
2024-09-10T15:15:14Z
Modified
2024-09-18T03:24:55.377608Z
Summary
[none]
Details

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 "fullvalue" buffer out of the smaller chunks. The fullvalue 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.

References

Affected packages

Debian:11 / dovecot

Package

Name
dovecot
Purl
pkg:deb/debian/dovecot?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.3.13+dfsg1-2+deb11u2

Affected versions

1:2.*

1:2.3.13+dfsg1-2
1:2.3.13+dfsg1-2+deb11u1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / dovecot

Package

Name
dovecot
Purl
pkg:deb/debian/dovecot?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.3.19.1+dfsg1-2.1+deb12u1

Affected versions

1:2.*

1:2.3.19.1+dfsg1-2.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / dovecot

Package

Name
dovecot
Purl
pkg:deb/debian/dovecot?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.3.21.1+dfsg1-1

Affected versions

1:2.*

1:2.3.19.1+dfsg1-2.1
1:2.3.20+dfsg1-1
1:2.3.21+dfsg1-1
1:2.3.21+dfsg1-2
1:2.3.21+dfsg1-3~bpo12+1
1:2.3.21+dfsg1-3
1:2.3.21.1+dfsg1-1~bpo12+1

Ecosystem specific

{
    "urgency": "not yet assigned"
}