CVE-2021-31855
MEDIUMDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 45% of all known CVEs.
References
Related Vulnerabilities
Other CWE-312 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2023-50719 | High | 7.5 | 84% | - | Fix |
| CVE-2022-26148 | Critical | 9.8 | 53% | - | Fix |
| CVE-2020-24577 | High | 7.5 | 19% | - | Fix |
| CVE-2021-27140 | High | 7.5 | 19% | - | - |
| CVE-2021-27176 | High | 7.5 | 19% | - | - |
| CVE-2021-27174 | High | 7.5 | 19% | - | - |
Embed a live status badge for CVE-2021-31855
Markdown
[](https://tridentstack.com/cve/CVE-2021-31855)HTML
<a href="https://tridentstack.com/cve/CVE-2021-31855"><img src="https://tridentstack.com/cve/badge/CVE-2021-31855.svg" alt="CVE-2021-31855"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.