Vulnerability · Published Jun 2, 2021 · Assigned by mitre
CVE-2021-31855
Medium 6.5
In plain English
A medium-severity security flaw in the kf5-messagelib package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
KDE Messagelib through 5.17.0 reveals cleartext of encrypted messages in some situations. Deleting an attachment of a decrypted encrypted message stored on a remote server (e.g., an IMAP server) causes KMail to upload the decrypted content of the message to the remote server. With a crafted message, a user could be tricked into decrypting an encrypted message and then deleting an attachment attached to this message. If the attacker has access to the messages stored on the email server, then the attacker could read the decrypted content of the encrypted message. This occurs in ViewerPrivate::deleteAttachment in messageviewer/src/viewer/viewer_p.cpp.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | kf5-messagelib | 4:20.08.3-5 | DEBIAN-CVE-2021-31855 |
| Ubuntu:22.04:LTS | kf5-messagelib | no fix listed | UBUNTU-CVE-2021-31855 |
| Ubuntu:24.04:LTS | kf5-messagelib | no fix listed | UBUNTU-CVE-2021-31855 |