Bug 1960335 (CVE-2021-32918)

Summary: CVE-2021-32918 prosody: DoS via insufficient memory consumption controls
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:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1960336, 1960354    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2021-05-13 17:08:10 UTC
It was discovered that default settings leave Prosody susceptible to remote unauthenticated denial-of-service (DoS) attacks via memory exhaustion when running under Lua 5.2 or Lua 5.3. Lua 5.2 is the default and recommended Lua version for Prosody 0.11.x series.

The default configuration is susceptible to this issue.
Configurations with stricter settings for stanza size limits, rate limits and garbage collection parameters are at decreased risk from this attack. For more details please review the ‘Mitigation’ section for recommended values.

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

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

Affects: fedora-all [bug 1960336]

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

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

Affects: epel-all [bug 1960354]

Comment 4 Product Security DevOps Team 2021-05-13 20:33:44 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.