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.

Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)0.6%top 50.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12kf5-messagelib4:20.08.3-5DEBIAN-CVE-2021-31855
Ubuntu:22.04:LTSkf5-messagelibno fix listedUBUNTU-CVE-2021-31855
Ubuntu:24.04:LTSkf5-messagelibno fix listedUBUNTU-CVE-2021-31855

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References