Flight-control crash via unbounded topic-name parsing
Published Jun 25, 2024 · Updated Aug 14, 2024
Buffer overflow in PX4 Autopilot 1.14.3 allows remote attackers to crash the flight-control software via a crafted logging topic name. LoggedTopics::add_topics_from_file passes each logger_topics.txt line to sscanf with an unbounded %s, copying the topic token into an 80-byte stack buffer without a field-width limit. The logger must process a crafted configuration entry at startup; the public report does not establish how a remote attacker can write that file and states that the proposed crash was not reproduced.
Summary
What happened
Buffer overflow in PX4 Autopilot 1.14.3 allows remote attackers to crash the flight-control software via a crafted logging topic name. LoggedTopics::add_topics_from_file passes each logger_topics.txt line to sscanf with an unbounded %s, copying the topic token into an 80-byte stack buffer without a field-width limit. The logger must process a crafted configuration entry at startup; the public report does not establish how a remote attacker can write that file and states that the proposed crash was not reproduced.
The record
- CVE
- CVE-2024-38952
- Published
- Jun 25, 2024
- Updated
- Aug 14, 2024
- Vendor
- PX4
- Product
- PX4 Autopilot
- Classifications
- CWE-120, T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 25, 2024CVE publishedPublication date reported by the CVE source.
- Aug 14, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.14.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Oversized logger topic reproduction procedureproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo