diff options
author | Nguyễn Gia Phong <cnx@loang.net> | 2025-03-31 00:33:12 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <cnx@loang.net> | 2025-03-31 00:33:12 +0900 |
commit | 5d1c99539782593cb3f0a1deaa6f8aa639561dab (patch) | |
tree | 1cc116399000abcf428543d37d808af31dd27da4 | |
parent | f5d0b18d5b6a1a3228293ffa12a9a75d88c1c1c4 (diff) | |
download | loftix-5d1c99539782593cb3f0a1deaa6f8aa639561dab.tar.gz |
Add libtiff 4.0.3 for CVE-2014-8128
Also add PoC for libtiff BZ#2633 and fix its BZ URL
-rw-r--r-- | REUSE.toml | 8 | ||||
-rw-r--r-- | bugs/README.md | 46 | ||||
-rw-r--r-- | bugs/cve/2014/8128/03_thumbnail.tiff | bin | 0 -> 243 bytes | |||
-rw-r--r-- | bugs/maptools/2633/heapoverflow.tiff | bin | 0 -> 284 bytes | |||
-rw-r--r-- | loftix/bugs.scm | 12 |
5 files changed, 48 insertions, 18 deletions
diff --git a/REUSE.toml b/REUSE.toml index 5c6d23c..5a87aad 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -22,6 +22,11 @@ path = 'bugs/cve/2013/7437/2.bmp' SPDX-FileCopyrightText = 'Stefan Cornelius' [[annotations]] +path = 'bugs/cve/2014/8128/03_thumbnail.tiff' +SPDX-FileCopyrightText = 'William Robinet' +SPDX-License-Identifier = 'CC0-1.0' + +[[annotations]] path = [ 'bugs/cve/2016/1838/attachment_316158', 'bugs/cve/2016/1839/asan_heap-oob' ] SPDX-FileCopyrightText = 'Mateusz Jurczyk' @@ -55,7 +60,8 @@ path = [ 'bugs/cve/2016/8691/11.crash', 'bugs/cve/2017/7600/outside-unsigned-char.tiff', 'bugs/cve/2017/7601/shift-long.tiff', 'bugs/cve/2017/15020/reproducer', - 'bugs/cve/2017/15025/3899.crashes.bin' ] + 'bugs/cve/2017/15025/3899.crashes.bin', + 'bugs/maptools/2633/heapoverflow.tiff' ] SPDX-FileCopyrightText = 'Agostino Sarubbo' SPDX-License-Identifier = 'CC0-1.0' diff --git a/bugs/README.md b/bugs/README.md index 97943fc..02dce59 100644 --- a/bugs/README.md +++ b/bugs/README.md @@ -106,6 +106,16 @@ ## libtiff +- BZ#2633: [heap buffer overflow][maptools-2633]: + + guix shell -e '(@@ (loftix bugs) libtiff-4.0.7-asan)' + tiff2ps maptools/2633/heapoverflow.tiff + +- CVE-2014-8128: [buffer overflow][maptools-2489] + + guix shell -e '(@@ (loftix bugs) libtiff-4.0.3)' + thumbnail cve/2014/8128/03_thumbnail.tiff /dev/null + - CVE-2016-3186: [buffer overflow][redhat-1319503] guix shell -e '(@@ (loftix bugs) libtiff-4.0.6)' @@ -239,23 +249,25 @@ [libjpeg-turbo-305]: https://github.com/libjpeg-turbo/libjpeg-turbo/issues/305 [libming-128]: https://github.com/libming/libming/issues/128 [libming-130]: https://github.com/libming/libming/issues/130 -[maptools-2554]: https://bugzilla.maptools.org/show_bug.cgi?id=2554 -[maptools-2558]: https://bugzilla.maptools.org/show_bug.cgi?id=2558 -[maptools-2587]: https://bugzilla.maptools.org/show_bug.cgi?id=2587 -[maptools-2592]: https://bugzilla.maptools.org/show_bug.cgi?id=2592 -[maptools-2596]: https://bugzilla.maptools.org/show_bug.cgi?id=2596 -[maptools-2598]: https://bugzilla.maptools.org/show_bug.cgi?id=2598 -[maptools-2610]: https://bugzilla.maptools.org/show_bug.cgi?id=2610 -[maptools-2611]: https://bugzilla.maptools.org/show_bug.cgi?id=2611 -[maptools-2620]: https://bugzilla.maptools.org/show_bug.cgi?id=2620 -[maptools-2622]: https://bugzilla.maptools.org/show_bug.cgi?id=2622 -[maptools-2624]: https://bugzilla.maptools.org/show_bug.cgi?id=2624 -[maptools-2640]: https://bugzilla.maptools.org/show_bug.cgi?id=2640 -[maptools-2646]: https://bugzilla.maptools.org/show_bug.cgi?id=2646 -[maptools-2647]: https://bugzilla.maptools.org/show_bug.cgi?id=2647 -[maptools-2648]: https://bugzilla.maptools.org/show_bug.cgi?id=2648 -[maptools-2653]: https://bugzilla.maptools.org/show_bug.cgi?id=2653 -[maptools-2656]: https://bugzilla.maptools.org/show_bug.cgi?id=2656 +[maptools-2489]: http://bugzilla.maptools.org/show_bug.cgi?id=2489 +[maptools-2554]: http://bugzilla.maptools.org/show_bug.cgi?id=2554 +[maptools-2558]: http://bugzilla.maptools.org/show_bug.cgi?id=2558 +[maptools-2587]: http://bugzilla.maptools.org/show_bug.cgi?id=2587 +[maptools-2592]: http://bugzilla.maptools.org/show_bug.cgi?id=2592 +[maptools-2596]: http://bugzilla.maptools.org/show_bug.cgi?id=2596 +[maptools-2598]: http://bugzilla.maptools.org/show_bug.cgi?id=2598 +[maptools-2610]: http://bugzilla.maptools.org/show_bug.cgi?id=2610 +[maptools-2611]: http://bugzilla.maptools.org/show_bug.cgi?id=2611 +[maptools-2620]: http://bugzilla.maptools.org/show_bug.cgi?id=2620 +[maptools-2622]: http://bugzilla.maptools.org/show_bug.cgi?id=2622 +[maptools-2624]: http://bugzilla.maptools.org/show_bug.cgi?id=2624 +[maptools-2633]: http://bugzilla.maptools.org/show_bug.cgi?id=2633 +[maptools-2640]: http://bugzilla.maptools.org/show_bug.cgi?id=2640 +[maptools-2646]: http://bugzilla.maptools.org/show_bug.cgi?id=2646 +[maptools-2647]: http://bugzilla.maptools.org/show_bug.cgi?id=2647 +[maptools-2648]: http://bugzilla.maptools.org/show_bug.cgi?id=2648 +[maptools-2653]: http://bugzilla.maptools.org/show_bug.cgi?id=2653 +[maptools-2656]: http://bugzilla.maptools.org/show_bug.cgi?id=2656 [mozjpeg-268]: https://github.com/mozilla/mozjpeg/issues/268 [oss-sec-20161105-3]: https://www.openwall.com/lists/oss-security/2016/11/05/3 [oss-sec-20161110-9]: https://www.openwall.com/lists/oss-security/2016/11/10/9 diff --git a/bugs/cve/2014/8128/03_thumbnail.tiff b/bugs/cve/2014/8128/03_thumbnail.tiff new file mode 100644 index 0000000..368733b --- /dev/null +++ b/bugs/cve/2014/8128/03_thumbnail.tiff Binary files differdiff --git a/bugs/maptools/2633/heapoverflow.tiff b/bugs/maptools/2633/heapoverflow.tiff new file mode 100644 index 0000000..04af49a --- /dev/null +++ b/bugs/maptools/2633/heapoverflow.tiff Binary files differdiff --git a/loftix/bugs.scm b/loftix/bugs.scm index 12239e2..3621ac6 100644 --- a/loftix/bugs.scm +++ b/loftix/bugs.scm @@ -262,6 +262,18 @@ It can be used from PHP, Perl, Ruby, Python, C, C++ and Java.") (patches (search-patches "patches/libming-parallel-make.patch")))))) +(define-public libtiff-4.0.3 + (package + (inherit libtiff) + (version "4.0.3") + (source (origin + (method url-fetch) + (uri (string-append "ftp://ftp.remotesensing.org/pub/libtiff/tiff-" + version ".tar.gz")) + (sha256 + (base32 "0wj8d1iwk9vnpax2h29xqc2hwknxg3s0ay2d5pxkg59ihbifn6pa")))) + (outputs '("out")))) + (define-public libtiff-4.0.6 (package (inherit libtiff) |