REDHAT-BUG-2525583: Use After Free
An attacker that has valid credentials can use a Sieve script with the editheader extension to trigger a use-after-free in the mail editing code, and to write memory contents beyond the intended buffer into the delivered mail. This causes memory leak and opportunity to do memory corruption during mail delivery, which can crash the delivery process and may allow execution of arbitrary code in the context of that process. Disable the Sieve editheader extension. Update to non-vulnerable version. No publicly available exploits are known.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Disable the Sieve editheader extension.
Sieve editheader extension = disabled
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs valid credentials and must be able to use a Sieve script with the editheader extension. The issue is triggered during mail delivery.
Are systems using Sieve affected by default?
The available information only identifies the editheader extension as the affected condition. Systems where that extension is disabled are not exposed through the described attack path.
What can be done before an update is available or applied?
Disable the Sieve editheader extension. This removes the extension required for the described exploit path.
What is the likely impact of successful exploitation?
Exploitation can leak memory contents, corrupt memory during mail delivery, and crash the delivery process. It may also allow arbitrary code execution in the context of that process.
Are public exploits available?
No publicly available exploits are known.