CVE-2022-24880

Potential Captcha Validate Bypass in flask-session-captcha

Published Apr 25, 2022 CVSS 3.1 · 5.3 Medium EPSS 1.2% KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0105 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.
Github GHSA Github GHSA GHSA-7r87-cj48-wj45 Potential Captcha Validate Bypass in flask-session-captcha
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 23, 2025, 6:32 PM
Reserved
Feb 10, 2022, 12:00 AM
Status
Modified
Published
Apr 25, 2022, 10:15 PM
Modified
Jun 17, 2026, 4:32 AM