CVE-2021-31855
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.
EPSS 0.14% · 33.5th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:18.04:LTS | kdepim4 | 0, 4:4.14.10-7 |
| Ubuntu:20.04:LTS | kf5-messagelib | 0, 4:19.12.3-0ubuntu1, * |
| Ubuntu:22.04:LTS | kf5-messagelib | 0, 4:21.08.1-0ubuntu1, 4:21.11.80-0ubuntu1 |
| Ubuntu:Pro:18.04:LTS | kf5-messagelib | 4:17.12.2-0ubuntu3, 0, 4:17.04.3-0ubuntu1 |
| Ubuntu:24.04:LTS | kf5-messagelib | 0, 4:23.08.1-0ubuntu1, 4:23.08.4-0ubuntu1 |
Exploit Intelligence
Timeline
- Jun 2, 2021 CVE Published
- Jun 3, 2021 EPSS Score
- Aug 5, 2021 EPSS Score
- Oct 5, 2021 EPSS Score
- Dec 5, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- Apr 6, 2022 EPSS Score
- Jun 6, 2022 EPSS Score
- Aug 7, 2022 EPSS Score
- Oct 7, 2022 EPSS Score
- Dec 7, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2021-31855 third-party-advisory
- https://kde.org/info/security/advisory-20210429-1.txt third-party-advisory
- https://commits.kde.org/messagelib/3b5b171e91ce78b966c98b1292a1bcbc8d984799 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2021-31855 third-party-advisory