{"id":"ALPINE-CVE-2021-32921","details":"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.","modified":"2026-11-03T06:32:33.607333046Z","published":"2021-05-13T16:15:08.407Z","upstream":["CVE-2021-32921"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-32921"}],"affected":[{"package":{"name":"prosody","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/prosody?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.9-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32921.json"}},{"package":{"name":"prosody","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/prosody?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.9-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32921.json"}},{"package":{"name":"prosody","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/prosody?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.9-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32921.json"}},{"package":{"name":"prosody","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/prosody?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.9-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32921.json"}},{"package":{"name":"prosody","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/prosody?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.9-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32921.json"}},{"package":{"name":"prosody","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/prosody?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.9-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32921.json"}},{"package":{"name":"prosody","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/prosody?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.9-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32921.json"}},{"package":{"name":"prosody","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/prosody?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.9-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32921.json"}},{"package":{"name":"prosody","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/prosody?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.9-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32921.json"}},{"package":{"name":"prosody","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/prosody?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.9-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32921.json"}},{"package":{"name":"prosody","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/prosody?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.9-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32921.json"}},{"package":{"name":"prosody","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/prosody?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.9-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32921.json"}},{"package":{"name":"prosody","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/prosody?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.9-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32921.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}