CVE Vulnerabilities

CVE-2022-30600

Incorrect Calculation

Published: May 18, 2022 | Modified: Nov 07, 2023
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

A flaw was found in moodle where logic used to count failed login attempts could result in the account lockout threshold being bypassed.

Weakness

The product performs a calculation that generates incorrect or unintended results that are later used in security-critical decisions or resource management.

Affected Software

Name Vendor Start Version End Version
Moodle Moodle 3.9 (including) 3.9.14 (excluding)
Moodle Moodle 3.10 (including) 3.10.11 (excluding)
Moodle Moodle 3.11 (including) 3.11.7 (excluding)
Moodle Moodle 4.0.0 (including) 4.0.0 (including)

Potential Mitigations

  • Use languages, libraries, or frameworks that make it easier to handle numbers without unexpected consequences.
  • Examples include safe integer handling packages such as SafeInt (C++) or IntegerLib (C or C++).
  • Use languages, libraries, or frameworks that make it easier to handle numbers without unexpected consequences.
  • Examples include safe integer handling packages such as SafeInt (C++) or IntegerLib (C or C++).

References