Description (CNA)
PX4 Autopilot through 1.17.0 contains a NULL pointer dereference vulnerability in the sd_stress command where the -b byte count parameter is parsed without validation before being passed to malloc() and memset(). Attackers with shell access, including through MAVLink, can supply invalid byte count values to crash the flight controller.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| PX4 / PX4-Autopilot | affected 0 through 1.17.0 |
CWE
CWE-476
References
- https://github.com/PX4/PX4-Autopilot/pull/28795
- https://github.com/PX4/PX4-Autopilot/commit/c865dc9fde14d1391916775153aa271603c3c592
- https://github.com/PX4/PX4-Autopilot/blob/d6f12ad1c4f70ad3230afd7d86e971421e02fef4/src/systemcmds/sd_stress/sd_stress.cpp#L186-L204
- https://github.com/PX4/PX4-Autopilot
- https://www.vulncheck.com/advisories/px4-autopilot-through-1.17.0-null-pointer-dereference-via-sd-stress
ADP enrichment
No English description supplied.
No references supplied.