Vulnerability · Published May 13, 2021 · Assigned by mitre
CVE-2021-32921
Medium 5.9
In plain English
A medium-severity security flaw in the prosody package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.9Medium
Exploit odds (30 days)1.6%top 24.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | prosody | 0.11.9-r0 | ALPINE-CVE-2021-32921 |
| Alpine:v3.21 | prosody | 0.11.9-r0 | ALPINE-CVE-2021-32921 |
| Alpine:v3.22 | prosody | 0.11.9-r0 | ALPINE-CVE-2021-32921 |
| Alpine:v3.23 | prosody | 0.11.9-r0 | ALPINE-CVE-2021-32921 |
| Alpine:v3.24 | prosody | 0.11.9-r0 | ALPINE-CVE-2021-32921 |
| Debian:12 | prosody | 0.11.9-1 | DEBIAN-CVE-2021-32921 |
| Debian:13 | prosody | 0.11.9-1 | DEBIAN-CVE-2021-32921 |
| Debian:14 | prosody | 0.11.9-1 | DEBIAN-CVE-2021-32921 |
| Ubuntu:22.04:LTS | prosody | no fix listed | UBUNTU-CVE-2021-32921 |
Affected products (as reported)
References
- https://blog.prosody.im/prosody-0.11.9-released/ x_refsource_MISC
- [oss-security] 20210513 Prosody XMPP server advisory 2021-05-12 (multiple vulnerabilities) mailing-list, x_refsource_MLIST
- [oss-security] 20210514 Re: Prosody XMPP server advisory 2021-05-12 (multiple vulnerabilities) mailing-list, x_refsource_MLIST
- DSA-4916 vendor-advisory, x_refsource_DEBIAN
- FEDORA-2021-b5d8c6d086 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-a33f6e36e1 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-498be8f560 vendor-advisory, x_refsource_FEDORA
- https://security.gentoo.org/glsa/202105-15 x_refsource_MISC
- [debian-lts-announce] 20210616 [SECURITY] [DLA 2687-1] prosody security update mailing-list, x_refsource_MLIST
- [debian-lts-announce] 20210619 [SECURITY] [DLA 2687-2] prosody regression update mailing-list, x_refsource_MLIST