mirror of
git://git.yoctoproject.org/poky
synced 2026-10-02 17:25:46 +00:00
Source: https://github.com/argoheyard/lang-net
MR: 114874
Type: Security Fix
Disposition: Backport from 701957006e
ChangeID: bd3c4f9f44dd1c45e810172087004778522d28eb
Description:
CVE-2021-31525 golang: net/http: panic in ReadRequest and ReadResponse when reading a very large header.
(From OE-Core rev: 2850ef58f2a39a5ab19b1062d1b50160fec4daa8)
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
38 lines
1.5 KiB
PHP
38 lines
1.5 KiB
PHP
require go-common.inc
|
|
|
|
GO_BASEVERSION = "1.14"
|
|
GO_MINOR = ".15"
|
|
PV .= "${GO_MINOR}"
|
|
FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
|
|
|
|
SRC_URI += "\
|
|
file://0001-allow-CC-and-CXX-to-have-multiple-words.patch \
|
|
file://0002-cmd-go-make-content-based-hash-generation-less-pedan.patch \
|
|
file://0003-allow-GOTOOLDIR-to-be-overridden-in-the-environment.patch \
|
|
file://0004-ld-add-soname-to-shareable-objects.patch \
|
|
file://0005-make.bash-override-CC-when-building-dist-and-go_boot.patch \
|
|
file://0006-cmd-dist-separate-host-and-target-builds.patch \
|
|
file://0007-cmd-go-make-GOROOT-precious-by-default.patch \
|
|
file://0008-use-GOBUILDMODE-to-set-buildmode.patch \
|
|
file://CVE-2021-34558.patch \
|
|
file://CVE-2021-33196.patch \
|
|
file://CVE-2021-33197.patch \
|
|
file://CVE-2021-38297.patch \
|
|
file://CVE-2022-23806.patch \
|
|
file://CVE-2022-23772.patch \
|
|
file://CVE-2021-44717.patch \
|
|
file://CVE-2022-24675.patch \
|
|
file://CVE-2021-31525.patch \
|
|
"
|
|
|
|
SRC_URI_append_libc-musl = " file://0009-ld-replace-glibc-dynamic-linker-with-musl.patch"
|
|
SRC_URI[main.sha256sum] = "7ed13b2209e54a451835997f78035530b331c5b6943cdcd68a3d815fdc009149"
|
|
|
|
# Upstream don't believe it is a signifiant real world issue and will only
|
|
# fix in 1.17 onwards where we can drop this.
|
|
# https://github.com/golang/go/issues/30999#issuecomment-910470358
|
|
CVE_CHECK_WHITELIST += "CVE-2021-29923"
|
|
|