CVE-2024-40427: Px4 Unbounded Struct Write
A structure length field is used in a write() operation alongside its expected data buffer without checking if the length is bounded by the buffer's true size. Doing so allows an attacker to control the struct fields and write out-of-bounds stack memory, causing a buffer overflow (CWE-120/CWE-121). Verify that the length field is checked against the maximum
greprules fetch cve-2024-40427-px4-unbounded-struct-write --engine opengrepDescription
A structure length field is used in a write() operation alongside its expected data buffer without checking if the length is bounded by the buffer's true size. Doing so allows an attacker to control the struct fields and write out-of-bounds stack memory, causing a buffer overflow (CWE-120/CWE-121). Verify that the length field is checked against the maximum
Community feedback
0 rule-level signals from signed-in users.
- Useful reports
- 0
- Context false positives
- 0
- Metadata suggestions
- 0
Contextual precision
Aggregated from approved scan feedback. False-positive reports describe observed scan contexts, not a global rule verdict.
- Findings observed
- 0
- Projects
- 0
- Reporters
- 0
Precision details are collecting more signed-in reports before verdict counts or ratios are emphasized.
No approved finding verdicts yet.
No scan diagnostics reported yet.