http://www.cgsecurity.org/wiki/TestDisk_7.0_Release
Created attachment 157232 [details] Proposed patch
Personally I don't see this as a huge threat but it's nice to get it fixed.
Created attachment 157361 [details] Poudriere Build Logs from 10.1-RELEASE-p10 amd64 On the 'needs-qa' front for this PR, no Poudriere warnings noted. Log from 10.1-RELEASE-p10 jail is attached for sanity check. Tested at buildtime via 'poudriere testport' on the following releases (info from `poudriere jail -l`) 8.4-RELEASE-p28 amd64 8.4-RELEASE-p28 i386 9.3-RELEASE-p14 amd64 9.3-RELEASE-p14 i386 10.1-RELEASE-p10 amd64 10.1-RELEASE-p10 i386 11.0-CURRENT r282869 amd64 11.0-CURRENT r282869 i386
Created attachment 157387 [details] security/vuxml entry for testdisk security/vuxml entry with blockquote from CGSecurity's changelog and blockquote from Description security of the Security Assessment writeup. # make validate /bin/sh /usr/ports/security/vuxml/files/tidy.sh "/usr/ports/security/vuxml/files/tidy.xsl" "/usr/ports/security/vuxml/vuln.xml" > "/usr/ports/security/vuxml/vuln.xml.tidy" >>> Validating... /usr/local/bin/xmllint --valid --noout /usr/ports/security/vuxml/vuln.xml >>> Successful. Checking if tidy differs... ... seems okay Checking for space/tab... ... seems okay /usr/local/bin/python2.7 /usr/ports/security/vuxml/files/extra-validation.py /usr/ports/security/vuxml/vuln.xml # env PKG_DBDIR=/usr/ports/security/vuxml pkg audit testdisk-6.14 testdisk-6.14 is vulnerable: testdisk -- buffer overflow with malicious disk image WWW: http://vuxml.FreeBSD.org/freebsd/c67069dc-0986-11e5-bb90-002590263bf5.html 1 problem(s) in the installed packages found. # env PKG_DBDIR=/usr/ports/security/vuxml pkg audit testdisk-7.0 0 problem(s) in the installed packages found.
A commit references this bug: Author: delphij Date: Wed Jun 17 00:23:00 UTC 2015 New revision: 389893 URL: https://svnweb.freebsd.org/changeset/ports/389893 Log: Update to 7.0 (contains various security fixes) PR: ports/200250 Approved by: maintainer timeout Changes: head/sysutils/testdisk/Makefile head/sysutils/testdisk/distinfo
A commit references this bug: Author: delphij Date: Wed Jun 17 00:24:47 UTC 2015 New revision: 389894 URL: https://svnweb.freebsd.org/changeset/ports/389894 Log: Document testdisk multiple vulnerabilities. PR: ports/200250 Submitted by: Jason Unovitch Changes: head/security/vuxml/vuln.xml
Patches applied after maintainer timeout.