CVE-2022-24880 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Tethik/flask-session-captcha/commit/2811ae23a38d33b620fb7a07de8837c6d65c13e4 | CVE | PatchThird Party Advisory |
| https://github.com/Tethik/flask-session-captcha/pull/27 | CVE | PatchThird Party Advisory |
| https://github.com/Tethik/flask-session-captcha/releases/tag/v1.2.1 | CVE | Release NotesThird Party Advisory |
| https://github.com/Tethik/flask-session-captcha/security/advisories/GHSA-7r87-cj48-wj45 | CVE | Third Party Advisory |
| https://github.com/Tethik/flask-session-captcha/commit/2811ae23a38d33b620fb7a07de8837c6d65c13e4 | [email protected] | PatchThird Party Advisory |
| https://github.com/Tethik/flask-session-captcha/pull/27 | [email protected] | PatchThird Party Advisory |
| https://github.com/Tethik/flask-session-captcha/releases/tag/v1.2.1 | [email protected] | Release NotesThird Party Advisory |
| https://github.com/Tethik/flask-session-captcha/security/advisories/GHSA-7r87-cj48-wj45 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-754 | Improper Check for Unusual or Exceptional Conditions | [email protected] |
| CWE-253 | Incorrect Check of Function Return Value | [email protected] |
| CWE-394 | Unexpected Status Code or Return Value | [email protected] |
| CWE-754 | Improper Check for Unusual or Exceptional Conditions | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| flask-session-captcha project flask-session-captcha | < 1.2.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| May 5, 2022 | Initial Analysis | [email protected] |