J-Security Center

Latest Attack Object Updates
  • IDP Daily Update #1545
    posted: 11/19/09
  • NSM Daily Update #1545
    posted: 11/19/09
  • Deep Inspection 5.3r5 and above, 5.4, 6.0 #1545
    posted: 11/19/09
  • Deep Inspection 5.1 and 5.2 #1435
    posted: 11/19/09
  • Deep Inspection 5.0, 5.3r4 and below #1132
    posted: 03/28/08 (04/01/08 for 5.0)
  • Antivirus
    posted: 11/19/09

Title: GNU Indent Local Heap Overflow Vulnerability

Severity: MODERATE

Description:

GNU Indent is an application used to improve the syntax of C, making it easier to read source code.

An overflow condition has been identified in the software that may allow an attacker to execute arbitrary code on a vulnerable system.

The issue has been reported to exist in the handle_token_colon() function of the software. The problem is reported to present itself when the application attempts to a parse a C source file (*.c). 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 may be triggered, potentially causing heap memory management structures to be corrupted. This can result in critical memory being overwritten and, ultimately, code execution with the privileges of the user running indent.

GNU Indent version 2.2.9 has been reported to be prone this issue, however, other versions may be affected as well.

Affected Products:

  • GNU Indent 2.2.9

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.