CVE-2021-32921
JSON

5.9medium

An issue was discovered in Prosody before 0.11.9.

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

Description

An issue was discovered in Prosody before 0.11.9. It does not use a constant-time algorithm for comparing certain secret strings when running under Lua 5.2 or later. This can potentially be used in a timing attack to reveal the contents of secret strings to an attacker.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
prosody prosodybefore 0.11.9NVD
fedoraproject fedora32, 33, 34NVD
debian debian_linux9.0NVD

All scores

NVD5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:N/A:N

Classification

What each source says

CVE List

An issue was discovered in Prosody before 0.11.9. It does not use a constant-time algorithm for comparing certain secret strings when running under Lua 5.2 or later. This can potentially be used in a timing attack to reveal the contents of secret strings to an attacker.

NVD (es)

Se detectó un problema en Prosody versiones anteriores a 0.11.9. No utiliza un algoritmo de tiempo constante para comparar determinadas cadenas secretas cuando se ejecuta bajo Lua versiones 5.2 o posteriores. Esto puede potencialmente ser usado en un ataque de sincronización para revelar el contenido de cadenas secretas a un atacante

References

https://blog.prosody.im/prosody-0.11.9-released/release-notes, vendor-advisory
http://www.openwall.com/lists/oss-security/2021/05/13/1mailing-list, third-party-advisory
http://www.openwall.com/lists/oss-security/2021/05/14/2mailing-list, mitigation, third-party-advisory
https://www.debian.org/security/2021/dsa-4916third-party-advisory, vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6MFFBZWXKPZEVZNQSVJNCUE7WRF3T7DG/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LWJ2DG2DFJOEFEWOUN26IMYYWGSA2ZEE/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GUN63AHEWB2WRROJHU3BVJRWLONCT2B7/vendor-advisory
https://security.gentoo.org/glsa/202105-15third-party-advisory
https://lists.debian.org/debian-lts-announce/2021/06/msg00016.htmlmailing-list, third-party-advisory
https://lists.debian.org/debian-lts-announce/2021/06/msg00018.htmlmailing-list, third-party-advisory

Sources

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