CVE-2024-23185

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-12-05T15:36:04.475266Z
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

Alpine:v3.21 / dovecot

Package

Name
dovecot
Purl
pkg:apk/alpine/dovecot?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.21.1-r0

Affected versions

1.*

1.1.11-r0
1.1.11-r1
1.1.13-r0
1.1.14-r0
1.1.14-r1
1.1.15-r0
1.1.16-r0
1.2.1-r0
1.2.3-r0
1.2.4-r0
1.2.4-r1
1.2.5-r0
1.2.6-r0
1.2.6-r1
1.2.7-r0
1.2.8-r0
1.2.9-r0
1.2.10-r0
1.2.11-r0
1.2.11-r1
1.2.11-r2
1.2.11-r3
1.2.11-r4
1.2.11-r5
1.2.12-r0
1.2.12-r1
1.2.12-r2
1.2.12-r3
1.2.13-r0
1.2.13-r1

2.*

2.0.1-r0
2.0.2-r0
2.0.2-r1
2.0.4-r0
2.0.5-r0
2.0.6-r0
2.0.7-r0
2.0.8-r0
2.0.9-r0
2.0.9-r1
2.0.10-r0
2.0.11-r0
2.0.11-r1
2.0.12-r0
2.0.12-r1
2.0.12-r2
2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2.3.11.3-r1
2.3.13-r0
2.3.14-r0
2.3.15-r0
2.3.16-r0
2.3.16-r1
2.3.16-r2
2.3.17-r0
2.3.17-r1
2.3.17-r2
2.3.17.1-r2
2.3.18-r1
2.3.18-r2
2.3.19-r2
2.3.19.1-r0
2.3.19.1-r1
2.3.19.1-r2
2.3.19.1-r3
2.3.19.1-r4
2.3.19.1-r5
2.3.19.1-r6
2.3.20-r6
2.3.20-r7
2.3.20-r8
2.3.20-r9
2.3.20-r10
2.3.20-r11
2.3.20-r12
2.3.21-r12
2.3.21-r13
2.3.21-r14
2.3.21-r15
2.3.21-r16
2.3.21-r17
2.3.21-r18

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"
}