CVE-2022-24880
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.
How to fix
- flask-session-captcha_project flask-session-captcha1.2.1 or later
- flask-session-captcha1.2.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| flask-session-captcha_project flask-session-captcha | v < 1.2.1 | 1.2.1 |
| flask-session-captchaPyPI | v < 1.2.1 | 1.2.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.