Multiple vulnerabilities in GNU Indent



| Updated: 2023-05-09
Risk High
Patch available YES
Number of vulnerabilities 3
CVE-ID N/A
CWE-ID CWE-119
CWE-125
CWE-416
Exploitation vector Network
Public exploit N/A
Vulnerable software
Indent
Universal components / Libraries / Software for developers

Vendor GNU

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Buffer overflow

EUVDB-ID: #VU75537

Risk: High

CVSSv4.0: 6.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: N/A

CWE-ID: CWE-119 - Memory corruption

Exploit availability: No

Description

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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Indent: 2.1.0 - 2.2.12

CPE2.3 External links

https://bugzilla.suse.com/show_bug.cgi?id=1209718
https://git.savannah.gnu.org/cgit/indent.git/commit/?id=02cd75a75903122c503bb6f43ef09c1e70b283eb


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Out-of-bounds read

EUVDB-ID: #VU75536

Risk: Low

CVSSv4.0: 1.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: N/A

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Indent: 2.1.0 - 2.2.12

CPE2.3 External links

https://bugzilla.suse.com/show_bug.cgi?id=1209718
https://git.savannah.gnu.org/cgit/indent.git/commit/?id=1af3c2f85bbd24aea4edfc9f92e2bb5a11f9f643


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Use-after-free

EUVDB-ID: #VU75535

Risk: High

CVSSv4.0: 6.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: N/A

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Indent: 2.1.0 - 2.2.12

CPE2.3 External links

https://bugzilla.suse.com/show_bug.cgi?id=1209718
https://git.savannah.gnu.org/cgit/indent.git/commit/?id=c2b74c05435c59225badaeeb2a5e40c20284528a


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###