CWE-1287: Improper Validation of Specified Type of Input, published in 2021
Filter
The product receives input that is expected to be of a certain type, but it does not validate or incorrectly validates that the input is actually of the expected type.
What the weakness is: CWE-1287 at MITRE. All weaknesses
Ask an AI about CWE-1287
Show the prompt
Explain CWE-1287: Improper Validation of Specified Type of Input and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/1287.html and https://cve.bz/cve/cwe/1287?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
- 9.8CVE-2021-32024blackberry qnx software development platformEPSS 1.8%
A remote code execution vulnerability in the BMP image codec of BlackBerry QNX SDP version(s) 6.4 to 7.1 could allow an attacker to potentially execute code in the context of the affected process.
- 8.8CVE-2021-43802etherpadEPSS 2.1%
Etherpad is a real-time collaborative editor. In versions prior to 1.8.16, an attacker can craft an `*.etherpad` file that, when imported, might allow the attacker to gain admin privileges for the Etherpad instance. This, in turn, can be u…
- 6.5CVE-2021-20329mongodb go driverEPSS 1.1%
Specific cstrings input may not be properly validated in the MongoDB Go Driver when marshalling Go objects into BSON. A malicious user could use a Go object with specific string to potentially inject additional fields into marshalled docum…