SB2023042702 - Multiple vulnerabilities in GNU Indent



SB2023042702 - Multiple vulnerabilities in GNU Indent

Published: April 27, 2023 Updated: May 9, 2023

Security Bulletin ID SB2023042702
Severity
High
Patch available
YES
Number of vulnerabilities 3
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 67% Low 33%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 3 secuirty vulnerabilities.


1) Buffer overflow (CVE-ID: N/A)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the print_comment() function in src/comments.c. A remote attacker can trick the victim into opening a processing crafted file, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


2) Out-of-bounds read (CVE-ID: N/A)

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition within the found_keyword() function in src/lexi.c. A remote attacker can create a specially crafted file, trick the victim into processing it, trigger an out-of-bounds read error and read contents of memory on the system.


3) Use-after-free (CVE-ID: N/A)

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error within the handle_token_preesc() function in src/handletoken.c. A remote attacker can trick the victim to run the application against a malicious code, trigger a use-after-free error and execute arbitrary code on the system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


Remediation

Install update from vendor's website.