Skip to contentSkip to conversation

binutils: Fix CVE-2023-39128

PATCH In review Sanjana 2 participants 2 messages Sep 8, 2023 – Sep 11, 2023

lore
Share & tools
lore

Sanjana

author
#0 lore raw

PATCH 1/1 binutils: Fix CVE-2023-39128

Avoid buffer overflow in ada_decode.

---
 .../binutils/binutils-2.40.inc                |  1 +
 .../binutils/0017-CVE-2023-39128.patch        | 74 +++++++++++++++++++
 2 files changed, 75 insertions(+)
 create mode 100644 meta/recipes-devtools/binutils/binutils/0017-CVE-2023-39128.patch
meta/recipes-devtools/binutils/binutils-2.40.inc +1 -0
index 33e7f4198d..424cfc48fc 100644
@@ -35,5 +35,6 @@ SRC_URI = "\
      file://0015-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch \
      file://0016-CVE-2023-25586.patch \
      file://0001-Fix-an-illegal-memory-access-when-an-accessing-a-zer.patch \
+     file://0017-CVE-2023-39128.patch \
 "
 S  = "${WORKDIR}/git"
meta/recipes-devtools/binutils/binutils/0017-CVE-2023-39128.patch new file +74 -0

74 lines not on this page · raw message

Signature · 1 line
2.34.1
#1 lore raw

Hi Sanjana,

Thank-you for this patch.

But, i feel this is not the right way to patch this vulnerability. No doubts the patch is released for binutils-gdb, but that is because the sources are merged.

However, in our systems, the command gdb comes from gdb package and not from bintuils-gdb.

Additional confirmation can also be obtained from bintuils configuration where we are disabling gdb from bintuils.

So even after patching the vulnerability will exists as it not patched in gdb and where it is patched, the gdb is diasbled.