| 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, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| References | DLA-2687-1, DSA-4916-1 | 
| Debian Bugs | 988668 | 
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|---|---|---|
| prosody (PTS) | bullseye (security), bullseye | 0.11.9-2+deb11u2 | fixed | 
| bookworm | 0.12.3-1 | fixed | |
| trixie | 13.0.1-1 | fixed | |
| forky, sid | 13.0.2-1 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|---|---|---|---|---|---|
| prosody | source | stretch | 0.9.12-2+deb9u3 | DLA-2687-1 | ||
| prosody | source | buster | 0.11.2-1+deb10u1 | DSA-4916-1 | ||
| prosody | source | (unstable) | 0.11.9-1 | 988668 | 
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