Skip to content
OpenAdvisories
Unscored CVE-2023-40305 EUVD-2023-44897GHSA-9rpm-p244-mjrf

GNU indent 2.2.13 has a heap-based buffer overflow in search_brace in indent.c via a crafted file.

Published Aug 14, 2023 · Updated Oct 9, 2024 · Assigned by mitre

Description

GNU indent 2.2.13 has a heap-based buffer overflow in search_brace in indent.c via a crafted file.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 indent 2.2.13-3 —
Debian 13 indent 2.2.13-3 —
Debian 12 indent 2.2.12-4+deb12u2 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS indent 2.2.12-1ubuntu0.22.04.1 USN-6389-1
Ubuntu 20.04 LTS indent 2.2.12-1ubuntu0.20.04.1 USN-6389-1
Ubuntu 18.04 LTS indent No fix yet —
Ubuntu 16.04 LTS indent No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP5 indent 2.2.11-150000.3.6.1 SUSE-SU-2023:3433-1
SLES 15 SP4 indent 2.2.11-150000.3.6.1 SUSE-SU-2023:3433-1
SLES 12 SP5 indent 2.2.10-38.6.1 SUSE-SU-2023:3432-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed indent 2.2.13-2.1 openSUSE-SU-2024:13149-1
openSUSE Leap 15.5 indent 2.2.11-150000.3.6.1 SUSE-SU-2023:3433-1
openSUSE Leap 15.4 indent 2.2.11-150000.3.6.1 SUSE-SU-2023:3433-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 indent 2.2.12-7.amzn2023.0.5 ALAS2023-2023-318
Amazon Linux 2 indent 2.2.11-13.amzn2.0.3 ALAS2-2023-2358

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 indent 2.2.13-1 —
Azure Linux 2 (CBL-Mariner) indent No fix yet —

Advisories 7

References