CVE-2022-24880
Potential Captcha Validate Bypass in flask-session-captcha
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 CVE-2022-24880
To remediate CVE-2022-24880, upgrade the affected package to a fixed version below.
- —upgrade to 1.2.1 or later
- —upgrade to 2811ae23a38d33b620fb7a07de8837c6d65c13e4 or later
Is CVE-2022-24880 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 1.2.1
- from 0, < 2811ae23a38d33b620fb7a07de8837c6d65c13e4 | from 0, < 1.2.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |