Package: unadf / 0.7.11a-7
Metadata
Package | Version | Patches format |
---|---|---|
unadf | 0.7.11a-7 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
source code fixes | (download) |
Lib/Generic/adf_nativ.c |
1 0 1 - 0 ! |
fix header files |
64 bit fixes | (download) |
Demo/Makefile |
2 1 1 - 0 ! |
--- |
add hardening flags in compiler options | (download) |
Demo/Makefile |
3 3 0 - 0 ! |
add hardening flags in compiler options |
privacy breach.patch | (download) |
Faq/adf_info.html |
12 0 12 - 0 ! |
remove monitoring from faq |
CVE 2016 1243_CVE 2016 1244 | (download) |
Demo/unadf.c |
41 22 19 - 0 ! |
fix unsafe extraction by using mkdir() instead of shell command This commit fixes following vulnerabilities: - CVE-2016-1243: stack buffer overflow caused by blindly trusting on pathname lengths of archived files Stack allocated buffer sysbuf was filled with sprintf() without any bounds checking in extracTree() function. - CVE-2016-1244: execution of unsanitized input Shell command used for creating directory paths was constructed by concatenating names of archived files to the end of the command string. So, if the user was tricked to extract a specially crafted .adf file, the attacker was able to execute arbitrary code with privileges of the user. This commit fixes both issues by 1) replacing mkdir shell commands with mkdir() function calls 2) removing redundant sysbuf buffer |