vendor:
Indent
by:
SecurityFocus
7.2
CVSS
HIGH
Heap Overflow
119
CWE
Product Name: Indent
Affected Version From: 2.2.2009
Affected Version To: 2.2.2009
Patch Exists: YES
Related CWE: N/A
CPE: 2.2.2009
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Linux
2003
GNU Indent Local Heap Overflow Vulnerability
It has been reported that GNU Indent may be prone to a local heap overflow vulnerability that can be exploited through a malicious C source input file. It has been reported that indent copies data from the file to a 1000 byte long buffer without sufficient boundary checking. A heap overflow condition can be triggered, which may result in memory being overwritten and, ultimately, malicious code execution with the privileges of the user running indent.
Mitigation:
Ensure that all user input is validated and sanitized before being used.