USN-9389-1: OpenDKIM vulnerabilities
It was discovered that the OpenDKIM library test suite used a predictable temporary file name. If the test suite were run, a local attacker could possibly use this issue to perform a symlink attack and escalate privileges. (CVE-2020-35766) It was discovered that OpenDKIM did not properly remove forged Authentication-Results header fields from email messages. A remote attacker could possibly use this issue to make a message with a forged sender address appear to have a valid DKIM signature to programs that relied on the Authentication-Results header fields added by OpenDKIM. (CVE-2022-48521)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/opendkimto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/opendkimto a version that resolves this vulnerability.Fixed in 2.10.3-3ubuntu0.1~esm1
Event History
Frequently Asked Questions
Which systems are exposed to the local privilege-escalation issue?
Systems where the OpenDKIM library test suite is run are exposed to this scenario. A local attacker could potentially exploit the predictable temporary file name through a symlink attack to escalate privileges.
What must an email-processing application do for the forged-header issue to matter?
The application must rely on Authentication-Results header fields added by OpenDKIM. A remote attacker could forge these fields so that a message with a forged sender address appears to have a valid DKIM signature.