Process crash via unchecked comment-buffer append
Published Aug 14, 2023 · Updated Oct 9, 2024
Heap-based buffer overflow in GNU indent 2.2.13 allows local users to crash the formatter by processing a crafted C source file. search_brace appends an end-of-line marker and opening brace to save_com without first growing the heap buffer for those two bytes. Execution requires a user to run indent on attacker-controlled input; the published impact is a process crash with no confidentiality or integrity loss.
Summary
What happened
Heap-based buffer overflow in GNU indent 2.2.13 allows local users to crash the formatter by processing a crafted C source file. search_brace appends an end-of-line marker and opening brace to save_com without first growing the heap buffer for those two bytes. Execution requires a user to run indent on attacker-controlled input; the published impact is a process crash with no confidentiality or integrity loss.
The record
- CVE
- CVE-2023-40305
- Published
- Aug 14, 2023
- Updated
- Oct 9, 2024
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-787, T1204.002, T1499.004
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 14, 2023CVE publishedPublication date reported by the CVE source.
- Oct 9, 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?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
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
- Crafted C input reproducer for search_braceproof of concept · demonstrated
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