CVEfocus › CVE database › CVE-2021-31855

CVE-2021-31855

CVSS 6.5 MediumEPSS 0.6% (higher than 43% of CVEs)Published 2021-06-02Updated 2024-08-03Assigner: mitre

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.

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
3Fix pending
2Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04kf5-messagelibUnder investigationUBUNTU-CVE-2021-31855
Ubuntu 22.04kf5-messagelibUnder investigationUBUNTU-CVE-2021-31855
Ubuntu 20.04kf5-messagelibFix pendingUBUNTU-CVE-2021-31855
Ubuntu 18.04kdepim4Fix pendingUBUNTU-CVE-2021-31855
Ubuntu 18.04kf5-messagelibFix pendingUBUNTU-CVE-2021-31855
Debian 12kf5-messagelibFixed4:20.08.3-5DEBIAN-CVE-2021-31855

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.