CVE Vulnerabilities

CVE-2022-30600

Incorrect Calculation

Published: May 18, 2022 | Modified: Nov 21, 2024
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
MEDIUM
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
MoodleMoodle3.9 (including)3.9.14 (excluding)
MoodleMoodle3.10 (including)3.10.11 (excluding)
MoodleMoodle3.11 (including)3.11.7 (excluding)
MoodleMoodle4.0.0 (including)4.0.0 (including)
MoodleUbuntubionic*

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