Vulnerability · Published Jul 4, 2024 · Assigned by mitre
CVE-2024-39929
Medium 5.4
In plain English
A medium-severity security flaw in the exim package (Alpine). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 41.5% (higher than 99% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)41.5%top 1.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC
Official description
Exim through 4.97.1 misparses a multiline RFC 2231 header filename, and thus remote attackers can bypass a $mime_filename extension-blocking protection mechanism, and potentially deliver executable attachments to the mailboxes of end users.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | exim | 4.98-r0 | ALPINE-CVE-2024-39929 |
| Alpine:v3.21 | exim | 4.98-r0 | ALPINE-CVE-2024-39929 |
| Alpine:v3.22 | exim | 4.98-r0 | ALPINE-CVE-2024-39929 |
| Alpine:v3.23 | exim | 4.98-r0 | ALPINE-CVE-2024-39929 |
| Alpine:v3.24 | exim | 4.98-r0 | ALPINE-CVE-2024-39929 |
| Debian:12 | exim4 | 4.96-15+deb12u5 | DSA-5728-1 |
| Debian:12 | exim4 | 4.96-15+deb12u5 | DEBIAN-CVE-2024-39929 |
| Debian:13 | exim4 | 4.98~RC3-2 | DEBIAN-CVE-2024-39929 |
| Debian:14 | exim4 | 4.98~RC3-2 | DEBIAN-CVE-2024-39929 |
| Ubuntu:22.04:LTS | exim4 | 4.95-4ubuntu2.6 | USN-6939-1 |
| Ubuntu:22.04:LTS | exim4 | 4.95-4ubuntu2.6 | UBUNTU-CVE-2024-39929 |
| Ubuntu:24.04:LTS | exim4 | 4.97-4ubuntu4.1 | UBUNTU-CVE-2024-39929 |
| Ubuntu:24.04:LTS | exim4 | 4.97-4ubuntu4.1 | USN-6939-1 |
Affected products (as reported)
Weakness: CWE-116 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
References
- https://git.exim.org/exim.git/commit/6ce5c70cff8989418e05d01fd2a57703007a6357
- https://git.exim.org/exim.git/commit/1b3209b0577a9327ebb076f3b32b8a159c253f7b
- https://github.com/Exim/exim/compare/exim-4.98-RC2...exim-4.98-RC3
- https://www.rfc-editor.org/rfc/rfc2231.txt
- https://bugs.exim.org/show_bug.cgi?id=3099#c4