CVE-2021-31855
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
Cronología
Elaborada con nuestros propios datos: NVD, CISA KEV y otros catálogos de explotación, FIRST EPSS, exploits públicos, prensa especializada y la cobertura de Orbitaley.
- Registro CVE publicado en NVD
- Última modificación del registro en NVD
Tecnologías afectadas (1)
Registro NVD
- Estado en NVD
- Modificada
- Publicada
- 2 jun 2021
- Última modificación
- 17 jun 2026
- Vector CVSS
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Debilidad (CWE)
- CWE-312
Referencias
JSON original (NVD)
Mostrar
{
"id": "CVE-2021-31855",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 4,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:L/Au:S/C:P/I:N/A:N",
"authentication": "SINGLE",
"integrityImpact": "NONE",
"accessComplexity": "LOW",
"availabilityImpact": "NONE",
"confidentialityImpact": "PARTIAL"
},
"acInsufInfo": false,
"impactScore": 2.9,
"baseSeverity": "MEDIUM",
"obtainAllPrivilege": false,
"exploitabilityScore": 8,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
],
"cvssMetricV31": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 6.5,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
},
"impactScore": 3.6,
"exploitabilityScore": 2.8
}
]
},
"affected": [
{
"source": "cve@mitre.org",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2021-06-02T16:15:08.893",
"references": [
{
"url": "https://github.com/KDE/messagelib/commit/3b5b171e91ce78b966c98b1292a1bcbc8d984799",
"source": "cve@mitre.org"
},
{
"url": "https://kde.org/info/security/advisory-20210429-1.txt",
"tags": [
"Vendor Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "https://github.com/KDE/messagelib/commit/3b5b171e91ce78b966c98b1292a1bcbc8d984799",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://kde.org/info/security/advisory-20210429-1.txt",
"tags": [
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-312"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "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"
}
],
"lastModified": "2026-06-17T03:52:21.330",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:kde:messagelib:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7C200D2E-D8B6-4C8B-8477-8BF09382E158",
"versionEndIncluding": "5.17.0"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "cve@mitre.org"
}