CVE-2022-24880CWE-253CWE-394CWE-754

Potential Captcha Validate Bypass in flask-session-captcha

Medium · published April 25, 2022

CVSS v3.1
5.3
EPSS
1%
Percentile
68.1
In the wild
Unconfirmed
What it is

flask-session-captcha is a package which allows users to extend Flask by adding an image based captcha stored in a server side session. In versions prior to 1.2.1, he `captcha.validate()` function would return `None` if passed no value (e.g. by submitting an having an empty form). If implementing users were checking the return value to be **False**, the captcha verification check could be bypassed. Version 1.2.1 fixes the issue. Users can workaround the issue by not explicitly checking that the value is False. Checking the return value less explicitly should still work.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.01206 · 68.1th percentile
Weaknesses
CWE-253 · Incorrect Check of Function Return Value; CWE-394 · Unexpected Status Code or Return Value; CWE-754 · Improper Check for Unusual or Exceptional Conditions
Published
2022-04-25T22:10Z
EPSS history
Timeline
  • 25 APR 22:10Z
    Potential Captcha Validate Bypass in flask-session-captcha
    cvelistv5