CWE-253: Incorrect Check of Function Return Value, published in 2022
Filter
The product incorrectly checks a return value from a function, which prevents it from detecting errors or exceptional conditions.
What the weakness is: CWE-253 at MITRE. All weaknesses
Ask an AI about CWE-253
Show the prompt
Explain CWE-253: Incorrect Check of Function Return Value and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/253.html and https://cve.bz/cve/cwe/253?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 5.3CVE-2022-24880flask-session-captcha project flask-session-captchaEPSS 1.3%
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.…