CVE-2022-24880

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductFlask-session-captcha
PublishedApr 25, 2022
First seenApr 25, 2022

How to fix

Update
  • flask-session-captcha_project flask-session-captcha1.2.1 or later
  • flask-session-captcha1.2.1 or later

Affected products

ProductAffected versionsFixed in
flask-session-captcha_project flask-session-captchav < 1.2.11.2.1
flask-session-captchaPyPIv < 1.2.11.2.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.