Skip to content

CVE-2022-24880 Potential Captcha Validate Bypass in flask-session-captcha

MediumCVSS 5.3 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
flask-session-captcha project flask-session-captcha < 1.2.1 1.2.1 Fixed
pypi flask-session-captcha(PyPI) < 1.2.1; = 1.0.0; = 1.0.1; = 1.0.2 +3 more 1.2.1 Fixed
Tethik flask-session-captcha = < 1.2.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi flask-session-captcha(PyPI) < 1.2.1 1.2.1
pypi flask-session-captcha(PyPI) = 1.0.0 No fix listed
pypi flask-session-captcha(PyPI) = 1.0.1 No fix listed
pypi flask-session-captcha(PyPI) = 1.0.2 No fix listed
pypi flask-session-captcha(PyPI) = 1.0.3 No fix listed
pypi flask-session-captcha(PyPI) = 1.1.0 No fix listed
pypi flask-session-captcha(PyPI) = 1.2.0 No fix listed
Tethik flask-session-captcha = < 1.2.1 No fix listed
flask-session-captcha project flask-session-captcha < 1.2.1 1.2.1

References