CVE-2024-28054
High · 7.4CVSS
7.4
EPSS
0.8%
Published
Mar 18, 2024
CISA due date
—
Cloudanix analysis
An email security program can miss dangerous attachments in messages built a certain way, letting harmful files slip through to users.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- High
- Impact
- Data Tampering
- Component
- Application
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Amavis performs an incorrect MIME boundary check on messages containing multiple boundary parameters, allowing a mismatch between its parser (influenced by MIME-tools) and downstream mail user agents that results in skipped banned-file and malware inspections.
Why it matters to the business
Malicious or policy-violating attachments can reach end users undetected, raising the likelihood of malware execution and data incidents in mail environments that rely on Amavis for content filtering.
How an attack unfolds
An attacker crafts a MIME message with duplicate boundary parameters that Amavis interprets differently from the recipient MUA; the message passes Amavis scanning but is rendered with the malicious part intact by the client, bypassing all content checks.
How to fix it
Upgrade Amavis to 2.12.3 or later, or 2.13.1 or later. For AlmaLinux 8 deployments, update setroubleshoot and setroubleshoot-server to 3.3.24-4.el8. Apply the Amavis GIT commit 3290c9c2a11a8cc9595b5810b2f86c1dac25a392 where available. Rebuild any local packages that embed vulnerable Amavis code.
How to confirm the fix worked
Verify installed package versions match or exceed the listed fixed releases; replay test messages containing duplicate MIME boundaries through the updated scanner and confirm both parts are now inspected.
Typical attack path
- Generate a MIME email containing multiple boundary parameters where one part holds banned or malicious content.
- Send the message through an MTA that routes it to Amavis for scanning.
- Amavis accepts the message because its boundary parsing skips the malicious part.
- The recipient MUA renders the message using the alternate boundary, exposing the harmful attachment.
How to detect it
Search MTA and Amavis logs for deliveries of messages whose MIME structure contains repeated boundary parameters; correlate with any post-delivery malware alerts or user reports of unexpected attachments.
What your security team should do
- Immediately schedule upgrades to the fixed Amavis versions in all mail-filtering gateways.
- Add version checks for amavis, setroubleshoot, and setroubleshoot-server to existing patch-compliance dashboards.
- Review mail logs for any historical messages that may have bypassed content filters before the upgrade.
- Consider additional boundary-normalization rules in upstream MTAs until patching is complete.
The record
Amavis before 2.12.3 and 2.13.x before 2.13.1, in part because of its use of MIME-tools, has an Interpretation Conflict (relative to some mail user agents) when there are multiple boundary parameters in a MIME email message. Consequently, there can be an incorrect check for banned files or malware.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Alpine:v3.22 | amavis | 0 | 2.13.1-r0 |
| Debian:11 | amavisd-new | 0 | 1:2.11.1-5+deb11u1 |
| Debian:12 | amavisd-new | 0 | 1:2.13.0-3+deb12u1 |
| Debian:13 | amavisd-new | 0 | 1:2.13.0-5 |
| Debian:14 | amavisd-new | 0 | 1:2.13.0-5 |
| Mageia:9 | amavisd-new | 0 | 2.11.0-9.1.mga9 |
| Ubuntu:14.04:LTS | amavisd-new | 0 | No fix |
| Ubuntu:16.04:LTS | amavisd-new | 0 | No fix |
| Ubuntu:18.04:LTS | amavisd-new | 0 | No fix |
| Ubuntu:20.04:LTS | amavisd-new | 0 | 1:2.11.0-6.1ubuntu1.1 |
| Ubuntu:22.04:LTS | amavisd-new | 0 | 1:2.12.2-1ubuntu1.1 |
| Ubuntu:23.10 | amavisd-new | 0 | 1:2.13.0-3ubuntu1.1 |
| Ubuntu:24.04:LTS | amavisd-new | 0 | 1:2.13.0-3ubuntu2 |
| Ubuntu:24.10 | amavisd-new | 0 | 1:2.13.0-6ubuntu1 |
| Ubuntu:25.04 | amavisd-new | 0 | 1:2.13.0-6ubuntu1 |
| Ubuntu:25.10 | amavisd-new | 0 | 1:2.13.0-6ubuntu1 |
| Ubuntu:Pro:14.04:LTS | amavisd-new | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | amavisd-new | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | amavisd-new | 0 | No fix |
Related vulnerabilities
- CVE-2026-114656 Traefik before 2.11.58 and 3.7.13 contains an authentication bypass vulnerability that… CWE-436
- CVE-2026-93750 http-cache-semantics through 4.2.0 contains a cache validation vulnerability in the… CWE-436
- CVE-2026-82537 Roo-Code through 3.54.0 contains an auto-approve bypass vulnerability that allows… CWE-436
- CVE-2026-81378 Interpretation conflict in Visual Studio Code allows an unauthorized attacker to bypass a… CWE-436
- CVE-2026-84394 fast-uri accepts a host that contains an unbalanced or misplaced authority bracket… CWE-436
- CVE-2026-63435 Mail is an internet library for Ruby designed to handle email generation, parsing, and… CWE-436
- CVE-2026-75931 fast-uri is a URI parser for Node.js. CWE-436
- CVE-2026-57580 authentik is an open-source identity provider. CWE-436