CVE-2021-31855
JSON

6.5medium

KDE Messagelib through 5.17.0 reveals cleartext of encrypted messages in some situations.

Severity
6.5medium CVSS:3.1 by NVD
Exploit likelihood
0.61% (higher than 50% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
kde messagelibup to 5.17.0NVD

All scores

NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD4.0medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:N/A:N

Classification

What each source says

CVE List

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.

NVD (es)

KDE Messagelib versiones hasta 5.17.0, revela el texto sin cifrar de los mensajes cifrados en algunas situaciones. Eliminar un adjunto de un mensaje cifrado descifrado almacenado en un servidor remoto (por ejemplo, un servidor IMAP) hace que KMail cargue el contenido descifrado del mensaje en el servidor remoto. Con un mensaje diseñado, un usuario podría ser engañado para descifrar un mensaje cifrado y luego eliminar un archivo adjunto a este mensaje. Si el atacante tiene acceso a los mensajes almacenados en el servidor de correo electrónico, entonces el atacante podría leer el contenido descifrado del mensaje cifrado. Esto ocurre en la función ViewerPrivate::deleteAttachment en el archivo messageviewer/src/viewer/viewer_p.cpp

References

Sources

SourceRecordLicence
CVE ListCVE-2021-31855 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-31855 changed 2026-06-17Public domain