Bugzilla – Bug 1028079
VUL-1: CVE-2017-6500: GraphicsMagick: An issue was discovered in ImageMagick 6.9.7. A specially crafted sun filetriggers a heap-based buf...
Last modified: 2017-06-14 19:24:18 UTC
CVE-2017-6500 An issue was discovered in ImageMagick 6.9.7. A specially crafted sun file triggers a heap-based buffer over-read. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-6500 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856879 https://github.com/ImageMagick/ImageMagick/issues/376 https://github.com/ImageMagick/ImageMagick/issues/375 https://github.com/ImageMagick/ImageMagick/commit/3007531bfd326c5c1e29cd41d2cd80c166de8528
Created attachment 716411 [details] bug1 QA REPRODUCER: convert bug1 /dev/null should not crash valgrind convert bug1 /dev/null should not show out of bounds reads (NOTE: can not reproduce currently)
We have several patches touching this code already in ImageMagick, one of them probably has fixed it already. similar to CVE-2016-7518 in bug 1000694. GraphicsMagic in SLE11 seems to still have the buggy code.
QA REPRODUCER (GraphicsMagick): gm convert bug1 /dev/null should not show a backtrace
bugbot adjusting priority
I get no crash nor valgrind errors anywhere.
I bet the bug does not affect GraphicsMagick: bytes_per_line += sun_info.width % 8 ? 1 : 0;
SUSE-RU-2017:0843-1: An update that has two recommended fixes can now be installed. Category: recommended (low) Bug References: 1027480,1028079 CVE References: Sources used: SUSE Linux Enterprise Software Development Kit 11-SP4 (src): ImageMagick-6.4.3.6-7.70.1 SUSE Linux Enterprise Server 11-SP4 (src): ImageMagick-6.4.3.6-7.70.1 SUSE Linux Enterprise Debuginfo 11-SP4 (src): ImageMagick-6.4.3.6-7.70.1