Bug 1960349 (CVE-2021-32921)

Summary: CVE-2021-32921 prosody: use of timing-dependent string comparison with sensitive values
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jkaluza, redhat-bugzilla
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-13 20:33:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1960350, 1960358    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2021-05-13 17:18:07 UTC
It was discovered that Prosody 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.

Reference:
https://prosody.im/security/advisory_20210512/

Comment 1 Guilherme de Almeida Suckevicz 2021-05-13 17:18:21 UTC
Created prosody tracking bugs for this issue:

Affects: fedora-all [bug 1960350]

Comment 2 Robert Scheck 2021-05-13 17:22:20 UTC
Well, this also affects at least EPEL 8

Comment 3 Guilherme de Almeida Suckevicz 2021-05-13 17:22:49 UTC
Created prosody tracking bugs for this issue:

Affects: epel-all [bug 1960358]

Comment 4 Product Security DevOps Team 2021-05-13 20:33:51 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.