Skip to contentSkip to conversation

binutils: Fix CVE-2024-53589

PATCH New [email protected] 1 participant 1 message Dec 12, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 binutils: Fix CVE-2024-53589

From: Yash Shinde <[email protected]>

A buffer overflow vulnerability exists in GNU Binutils’ objdump utility when processing tekhex format files. The vulnerability occurs in the
Binary File Descriptor (BFD) library’s tekhex parser during format identification. Specifically, the issue manifests when attempting to read 8 bytes at an address that precedes the global variable ‘_bfd_std_section’, resulting in an out-of-bounds read.

Backport a patch from upstream to fix CVE-2024-53589.
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=e0323071916878e0634a6e24d8250e4faff67e88]

---
 .../binutils/binutils-2.43.1.inc              |  1 +
 .../binutils/0015-CVE-2024-53589.patch        | 92 +++++++++++++++++++
 2 files changed, 93 insertions(+)
 create mode 100644 meta/recipes-devtools/binutils/binutils/0015-CVE-2024-53589.patch
meta/recipes-devtools/binutils/binutils-2.43.1.inc +1 -0
index 1ce19fbdc6..94e7d7f7e6 100644
@@ -35,5 +35,6 @@ SRC_URI = "\
      file://0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \
      file://0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \
      file://0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch \
+     file://0015-CVE-2024-53589.patch \
 "
 S  = "${WORKDIR}/git"
meta/recipes-devtools/binutils/binutils/0015-CVE-2024-53589.patch new file +92 -0

92 lines not on this page · raw message

Signature · 1 line
2.43.0