CVE-2022-24880

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:flask-session-captcha_project:flask-session-captcha:*:*:*:*:*:*:*:*

History

05 May 2022, 18:20

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 5.3
First Time Flask-session-captcha Project
Flask-session-captcha Project flask-session-captcha
CWE CWE-754
CPE cpe:2.3:a:flask-session-captcha_project:flask-session-captcha:*:*:*:*:*:*:*:*
References (MISC) https://github.com/Tethik/flask-session-captcha/releases/tag/v1.2.1 - (MISC) https://github.com/Tethik/flask-session-captcha/releases/tag/v1.2.1 - Release Notes, Third Party Advisory
References (MISC) https://github.com/Tethik/flask-session-captcha/pull/27 - (MISC) https://github.com/Tethik/flask-session-captcha/pull/27 - Patch, Third Party Advisory
References (CONFIRM) https://github.com/Tethik/flask-session-captcha/security/advisories/GHSA-7r87-cj48-wj45 - (CONFIRM) https://github.com/Tethik/flask-session-captcha/security/advisories/GHSA-7r87-cj48-wj45 - Third Party Advisory
References (MISC) https://github.com/Tethik/flask-session-captcha/commit/2811ae23a38d33b620fb7a07de8837c6d65c13e4 - (MISC) https://github.com/Tethik/flask-session-captcha/commit/2811ae23a38d33b620fb7a07de8837c6d65c13e4 - Patch, Third Party Advisory

25 Apr 2022, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-04-25 22:15

Updated : 2023-12-10 14:22


NVD link : CVE-2022-24880

Mitre link : CVE-2022-24880

CVE.ORG link : CVE-2022-24880


JSON object : View

Products Affected

flask-session-captcha_project

  • flask-session-captcha
CWE
CWE-754

Improper Check for Unusual or Exceptional Conditions

CWE-253

Incorrect Check of Function Return Value

CWE-394

Unexpected Status Code or Return Value