CVE-2022-24880:
Potential Captcha Validate Bypass in flask-session-captcha
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.46832%
CWE
Published
4/26/2022
Updated
9/20/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
flask-session-captcha | pip | < 1.2.1 | 1.2.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from validate() returning None instead of False for empty inputs. This is explicitly shown in the advisory's impact description, patch commit tests (which added checks for validate(value=None) == False), and CWE-253 (Incorrect Check of Return Value). The function's return value handling is the root cause of the bypass vulnerability when improperly checked.