CVE-2022-24880 json
Potential Captcha Validate Bypass in flask-session-captcha
published 4y ago modified 4mo ago also GHSA-7r87-cj48-wj45 , PYSEC-2022-193 , EUVD-2022-0105
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi flask-session-captcha 1.2.1
- flask-session-captcha_project flask-session-captcha 1.2.1
Is CVE-2022-24880 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
1.21% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | flask-session-captcha | <1.2.1 |
1.2.1 |
Affected products
- Tethik flask-session-captcha
Classification
References
-
github.com
/Tethik/flask-session-captcha/pull/27
web, patch, third-party-advisory
-
github.com
/Tethik/flask-session-captcha/commit/2811ae23a38d33b620fb7a07de8837c6d65c13e4
web, patch, third-party-advisory
-
github.com
/Tethik/flask-session-captcha/security/advisories/GHSA-7r87-cj48-wj45
web, third-party-advisory, advisory
-
github.com
/Tethik/flask-session-captcha/releases/tag/v1.2.1
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-24880
advisory
-
github.com
/Tethik/flask-session-captcha
package
-
github.com
/pypa/advisory-database/tree/main/vulns/flask-session-captcha/PYSEC-2022-193.yaml
web
Sources
- CVE List CVE-2022-24880
- GitHub Advisory GHSA-7r87-cj48-wj45
- NVD CVE-2022-24880
- OSV PYSEC-2022-193
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.