aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md8
-rw-r--r--REUSE.toml4
-rw-r--r--bugs/cve/2017/15020/reproducerbin0 -> 31248 bytes
-rw-r--r--loftix/bugs.scm10
4 files changed, 20 insertions, 2 deletions
diff --git a/README.md b/README.md
index 316e633..eb14e25 100644
--- a/README.md
+++ b/README.md
@@ -67,6 +67,13 @@ Then run `guix pull`.
guix shell binutils@2.29
objdump -d bugs/cve/2017/14745/crash_1
+### CVE-2017-15020
+
+[binutils: heap buffer overflow][sourceware-22202]
+
+ guix shell binutils@2.29
+ nm -l bugs/cve/2017/15020/reproducer
+
### CVE-2017-15025
[binutils: divide-by-zero][sourceware-22186]
@@ -97,5 +104,6 @@ Then run `guix pull`.
[jasper-d42b238]: https://blogs.gentoo.org/ago/2016/11/19/jasper-signed-integer-overflow-in-jas_image-c
[oss-sec-20161105-3]: https://www.openwall.com/lists/oss-security/2016/11/05/3
[sourceware-22148]: https://sourceware.org/bugzilla/show_bug.cgi?id=22148
+[sourceware-22202]: https://sourceware.org/bugzilla/show_bug.cgi?id=22202
[sourceware-22186]: https://sourceware.org/bugzilla/show_bug.cgi?id=22186
[mozjpeg-268]: https://github.com/mozilla/mozjpeg/issues/268
diff --git a/REUSE.toml b/REUSE.toml
index 221088c..fae9655 100644
--- a/REUSE.toml
+++ b/REUSE.toml
@@ -27,6 +27,10 @@ path = 'bugs/cve/2017/14745/crash_1'
SPDX-FileCopyrightText = '2017 Junchao Luan'
[[annotations]]
+path = 'bugs/cve/2017/15020/reproducer'
+SPDX-FileCopyrightText = '2017 Agostino Sarubbo'
+
+[[annotations]]
path = 'bugs/cve/2017/15025/3899.crashes.bin'
SPDX-FileCopyrightText = '2017 Agostino Sarubbo'
diff --git a/bugs/cve/2017/15020/reproducer b/bugs/cve/2017/15020/reproducer
new file mode 100644
index 0000000..be24631
--- /dev/null
+++ b/bugs/cve/2017/15020/reproducer
Binary files differ
diff --git a/loftix/bugs.scm b/loftix/bugs.scm
index fff543b..0ee9398 100644
--- a/loftix/bugs.scm
+++ b/loftix/bugs.scm
@@ -19,7 +19,7 @@
#:use-module (guix download)
#:use-module (guix packages))
-(define-public binutils-2.29
+(define-public binutils-2.29-asan
(package
(inherit binutils-2.33)
(version "2.29")
@@ -29,7 +29,13 @@
version ".tar.bz2"))
(sha256
(base32 "1gqfyksdnj3iir5gzyvlp785mnk60g1pll6zbzbslfchhr4rb8i9"))
- (patches '())))))
+ (patches '())))
+ (arguments '(#:phases (modify-phases %standard-phases
+ (add-before 'build 'set-env
+ (lambda _
+ (setenv "ASAN_OPTIONS" "detect_leaks=0"))))
+ #:make-flags '("CFLAGS=-O2 -g -fsanitize=address"
+ "LDFLAGS=-fsanitize=address")))))
(define-public jasper-1.900.19
(package