Skip to contentSkip to conversation

go: Security Fix for CVE-2022-2879

PATCH New [email protected] 1 participant 1 message Nov 10, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 go: Security Fix for CVE-2022-2879

From: Sunil Kumar <[email protected]>

archive/tar: limit size of headers

Set a 1MiB limit on special file blocks (PAX headers, GNU long names, GNU link names), to avoid reading arbitrarily large amounts of data into memory.

---
 meta/recipes-devtools/go/go-1.14.inc               |   1 +
 .../go/go-1.14/CVE-2022-2879.patch                 | 111 +++++++++++++++++++++
 2 files changed, 112 insertions(+)
 create mode 100644 meta/recipes-devtools/go/go-1.14/CVE-2022-2879.patch
meta/recipes-devtools/go/go-1.14.inc +1 -0
index 3341beb..e8ff1c4 100644
@@ -42,6 +42,7 @@ SRC_URI += "\
     file://0003-CVE-2022-32190.patch \
     file://0004-CVE-2022-32190.patch \
     file://CVE-2022-2880.patch \
+    file://CVE-2022-2879.patch \
 "
 
 SRC_URI_append_libc-musl = " file://0009-ld-replace-glibc-dynamic-linker-with-musl.patch"
meta/recipes-devtools/go/go-1.14/CVE-2022-2879.patch new file +111 -0

111 lines not on this page · raw message

Signature · 1 line
2.7.4