CVE Vulnerabilities

CVE-2022-29169

Inefficient Regular Expression Complexity

Published: Jun 01, 2022 | Modified: Jul 21, 2023
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu

BigBlueButton is an open source web conferencing system. Versions starting with 2.2 and prior to 2.3.19, 2.4.7, and 2.5.0-beta.2 are vulnerable to regular expression denial of service (ReDoS) attacks. By using specific a RegularExpression, an attacker can cause denial of service for the bbb-html5 service. The useragent library performs checking of device by parsing the input of User-Agent header and lets it go through lookupUserAgent() (alias of useragent.lookup() ). This function handles input by regexing and attackers can abuse that by providing some ReDos payload using SmartWatch. The maintainers removed htmlclient/useragent from versions 2.3.19, 2.4.7, and 2.5.0-beta.2. As a workaround, disable NginX forwarding the requests to the handler according to the directions in the GitHub Security Advisory.

Weakness

The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.

Affected Software

Name Vendor Start Version End Version
Bigbluebutton Bigbluebutton 2.2.0 (including) 2.3.19 (excluding)
Bigbluebutton Bigbluebutton 2.4.0 (including) 2.4.7 (excluding)
Bigbluebutton Bigbluebutton 2.5-alpha1 (including) 2.5-alpha1 (including)
Bigbluebutton Bigbluebutton 2.5-alpha2 (including) 2.5-alpha2 (including)
Bigbluebutton Bigbluebutton 2.5-alpha3 (including) 2.5-alpha3 (including)
Bigbluebutton Bigbluebutton 2.5-alpha4 (including) 2.5-alpha4 (including)
Bigbluebutton Bigbluebutton 2.5-alpha5 (including) 2.5-alpha5 (including)
Bigbluebutton Bigbluebutton 2.5-alpha6 (including) 2.5-alpha6 (including)
Bigbluebutton Bigbluebutton 2.5-beta1 (including) 2.5-beta1 (including)

Extended Description

      Attackers can create crafted inputs that
      intentionally cause the regular expression to use
      excessive backtracking in a way that causes the CPU
      consumption to spike.

Potential Mitigations

References