Name | CVE-2021-32921 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2687-1, DSA-4916-1 |
Debian Bugs | 988668 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
prosody (PTS) | jessie, jessie (lts) | 0.9.7-2+deb8u4 | vulnerable |
| stretch (security), stretch (lts), stretch | 0.9.12-2+deb9u4 | fixed |
| buster (security), buster, buster (lts) | 0.11.2-1+deb10u4 | fixed |
| bullseye (security), bullseye | 0.11.9-2+deb11u2 | fixed |
| bookworm | 0.12.3-1 | fixed |
| sid, trixie | 0.12.4-2 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://www.openwall.com/lists/oss-security/2021/05/13/1
https://prosody.im/security/advisory_20210512.txt
https://hg.prosody.im/trunk/rev/c98aebe601f9
https://hg.prosody.im/trunk/rev/13b84682518e
https://hg.prosody.im/trunk/rev/6f56170ea986