summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb
diff options
context:
space:
mode:
authoryanjun.zhu <yanjun.zhu@windriver.com>2012-12-11 18:00:32 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-14 15:19:52 +0000
commit54dd30e514412198734e8ddf56fca98f078e4fc1 (patch)
tree694276392c93e48679ee1c945dcef4c2f12a56eb /meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb
parent19f39c5d069a556c9b1c9af82cd9edd92772c0c5 (diff)
downloadpoky-54dd30e514412198734e8ddf56fca98f078e4fc1.tar.gz
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: 4493173c1ab7a0528e0c74935a105e474521ed1c) 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>
Diffstat (limited to 'meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb')
-rw-r--r--meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb b/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb
index 9922f1ef51..528efed1dd 100644
--- a/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb
+++ b/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb
@@ -8,12 +8,15 @@ LIC_FILES_CHKSUM = "file://../COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
8 file://../../7zC.txt;beginline=12;endline=16;md5=2056cd6d919ebc3807602143c7449a7c \ 8 file://../../7zC.txt;beginline=12;endline=16;md5=2056cd6d919ebc3807602143c7449a7c \
9 " 9 "
10DEPENDS = "attr zlib xz" 10DEPENDS = "attr zlib xz"
11PR = "1" 11PR = "r2"
12 12
13SRC_URI = "${SOURCEFORGE_MIRROR}/squashfs/squashfs${PV}.tar.gz;name=squashfs \ 13SRC_URI = "${SOURCEFORGE_MIRROR}/squashfs/squashfs${PV}.tar.gz;name=squashfs \
14 http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2;name=lzma \ 14 http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2;name=lzma \
15 " 15 "
16SRC_URI += "file://squashfs-4.2-fix-CVE-2012-4024.patch \ 16SRC_URI += "file://squashfs-4.2-fix-CVE-2012-4024.patch \
17 file://squashfs-add-a-commment-and-fix-some-other-comments.patch \
18 file://squashfs-fix-open-file-limit.patch \
19 file://squashfs-4.2-fix-CVE-2012-4025.patch \
17 " 20 "
18SRC_URI[squashfs.md5sum] = "1b7a781fb4cf8938842279bd3e8ee852" 21SRC_URI[squashfs.md5sum] = "1b7a781fb4cf8938842279bd3e8ee852"
19SRC_URI[squashfs.sha256sum] = "d9e0195aa922dbb665ed322b9aaa96e04a476ee650f39bbeadb0d00b24022e96" 22SRC_URI[squashfs.sha256sum] = "d9e0195aa922dbb665ed322b9aaa96e04a476ee650f39bbeadb0d00b24022e96"