Bugzilla – Bug 1219210
VUL-0: CVE-2024-0911: indent: heap-based buffer overflow in set_buf_break()
Last modified: 2024-04-19 08:31:34 UTC
GNU Indent 2.2.13 has a heap-based buffer overflow in set_buf_break via a crafted file. Originally reported at: https://bugzilla.redhat.com/show_bug.cgi?id=2259883 References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-0911 https://bugzilla.redhat.com/show_bug.cgi?id=2260399 https://bugzilla.redhat.com/show_bug.cgi?id=2259883
Tracking as affected: - SUSE:SLE-12:Update/indent 2.2.10 - SUSE:SLE-15:Update/indent 2.2.11 - openSUSE:Factory/indent 2.2.13
BEFORE TW,15,12/indent $ printf '/*a*/(' | valgrind -q indent - ==30218== Invalid read of size 2 ==30218== at 0x11017A: set_buf_break (output.c:319) ==30218== by 0x116BB5: indent_main_loop (indent.c:640) ==30218== by 0x1196DF: indent.isra.0 (indent.c:759) ==30218== by 0x10EC93: UnknownInlinedFun (indent.c:1004) ==30218== by 0x10EC93: UnknownInlinedFun (indent.c:1042) ==30218== by 0x10EC93: main (indent.c:1123) ==30218== Address 0x4a6249c is 4 bytes before a block of size 16 alloc'd ==30218== at 0x484C7BF: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==30218== by 0x10FE6F: xmalloc (globs.c:42) ==30218== by 0x10E461: UnknownInlinedFun (parse.c:73) ==30218== by 0x10E461: main (indent.c:1101) ==30218== /*a*/ ( $ PATCH see comment 2 AFTER TW,15,12/indent :/ # printf '/*a*/(' | valgrind -q indent - /*a*/ ( :/ #
Submitted into devel project: https://build.opensuse.org/request/show/1147061 Submitted also into 15,12/indent. I believe all fixed.
SUSE-SU-2024:0965-1: An update that solves one vulnerability can now be installed. Category: security (moderate) Bug References: 1219210 CVE References: CVE-2024-0911 Maintenance Incident: [SUSE:Maintenance:32636](https://smelt.suse.de/incident/32636/) Sources used: Development Tools Module 15-SP5 (src): indent-2.2.11-150000.3.9.1 openSUSE Leap 15.5 (src): indent-2.2.11-150000.3.9.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2024:1134-1: An update that solves one vulnerability can now be installed. Category: security (moderate) Bug References: 1219210 CVE References: CVE-2024-0911 Maintenance Incident: [SUSE:Maintenance:32637](https://smelt.suse.de/incident/32637/) Sources used: SUSE Linux Enterprise Software Development Kit 12 SP5 (src): indent-2.2.10-38.9.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
All done, closing.