CVE-2021-31855: Medium severity kde messagelib vulnerability
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/viewerp.cpp.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2021-31855?
CVE-2021-31855 is a vulnerability in KDE Messagelib through 5.17.0 that allows the cleartext of encrypted messages to be revealed in certain situations.
How does CVE-2021-31855 work?
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, exposing the cleartext of the message.
What is the severity of CVE-2021-31855?
CVE-2021-31855 has a severity rating of medium, with a CVSS score of 6.5.
How can I fix CVE-2021-31855?
Upgrade KDE Messagelib to a version beyond 5.17.0 to fix the vulnerability.
Where can I find more information about CVE-2021-31855?
You can find more information about CVE-2021-31855 in the security advisory provided by KDE: https://kde.org/info/security/advisory-20210429-1.txt