Advisory

PYSEC-2022-193

Also known as: CVE-2022-24880, GHSA-7r87-cj48-wj45

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2022-04-25 22:15 UTC
Modified
2023-11-08 04:08 UTC

Affected packages and fixes

flask-session-captcha

PyPI · All systems

Affected

  • introduced 0, fixed 1.2.1 (ecosystem)

Fixed versions

1.2.1

Fix

  • Fixed version 1.2.1
    pip install --upgrade flask-session-captcha==1.2.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences