mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 06:49:32 +02:00
squashfs: fix CVE-2012-4025
CQID:WIND00366813 Reference: http://squashfs.git.sourceforge.net/git/gitweb.cgi? p=squashfs/squashfs;a=patch;h=8515b3d420f502c5c0236b86e2d6d7e3b23c190e Integer overflow in the queue_init function in unsquashfs.c in unsquashfs in Squashfs 4.2 and earlier allows remote attackers to execute arbitrary code via a crafted block_log field in the superblock of a .sqsh file, leading to a heap-based buffer overflow. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-4025 (From OE-Core rev: bb1611d4830bb7aff2371afdb2a77a4ca7298c7d) Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com> [YOCTO #3564] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f023d05898
commit
5b3ffcea5e
@@ -8,12 +8,15 @@ LIC_FILES_CHKSUM = "file://../COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
|
||||
file://../../7zC.txt;beginline=12;endline=16;md5=2056cd6d919ebc3807602143c7449a7c \
|
||||
"
|
||||
DEPENDS = "attr zlib xz"
|
||||
PR = "1"
|
||||
PR = "r2"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/squashfs/squashfs${PV}.tar.gz;name=squashfs \
|
||||
http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2;name=lzma \
|
||||
"
|
||||
SRC_URI += "file://squashfs-4.2-fix-CVE-2012-4024.patch \
|
||||
file://squashfs-add-a-commment-and-fix-some-other-comments.patch \
|
||||
file://squashfs-fix-open-file-limit.patch \
|
||||
file://squashfs-4.2-fix-CVE-2012-4025.patch \
|
||||
"
|
||||
SRC_URI[squashfs.md5sum] = "1b7a781fb4cf8938842279bd3e8ee852"
|
||||
SRC_URI[squashfs.sha256sum] = "d9e0195aa922dbb665ed322b9aaa96e04a476ee650f39bbeadb0d00b24022e96"
|
||||
|
||||
Reference in New Issue
Block a user