-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CVE-2018-17229: AddressSanitizer: heap-buffer-overflow in Exiv2::d2Data #453
Comments
This issue is no longer present on master. |
CVE-2018-17229 was assigned to this issue. |
A bisect of the issue seem to indicate the issue is adressed by afb98cb ("Allocate correct amount of memory for the ICC profile") |
Issue was introduced possibly later than 3d57bbc ("#1074 Work in progress. ICC Jpeg/Png/Tiff exiv2 -eC foo.xxx writes good foo.icc profiles. icc-test.sh is broken and to be investigated."). That is I was not able to determine exactly where the issue has been introduced. The issue should be seen as well with the v0.26 tagged version if one cherry-picks (depending on used compiler) 04052ce on top and builds. |
Commit afb98cb introduces CVE-2018-17282, which was #457 |
Tested in Ubuntu 16.04, 64bit, Exiv2(master b6a8d39)
$ exiv2 $POC
https://github.com/Marsman1996/pocs/blob/master/exiv2/CVE-2018-17229/poc4-d2Data
Addition: This bug was found with mem-AFL, which is based on AFL. Mem-AFL is developed by Yanhao(unfuzzable123@gmail.com) & Marsman1996(lqliuyuwei@outlook.com)
The text was updated successfully, but these errors were encountered: