-
Notifications
You must be signed in to change notification settings - Fork 282
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-20099 infinite loop in Exiv2::Jp2Image::encodeJp2Header of jp2image.cpp #950
Comments
Thank you for bringing this to our attention! The issue is relatively simple: the length of the generated |
Thanks @zjuchenyuan for insisting on this. I have reproduced the issue and @D4N seems to be on the right track. |
This is an important matter. It may already be fixed in the code base. I've opened an issue for v1.00 to investigate replacing jp2image.cpp with bmffimage.cpp #1525 |
This was fixed by #1591. |
Describe the bug
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20099
There is an infinite loop in Exiv2::Jp2Image::encodeJp2Header of jp2image.cpp in Exiv2 0.27-RC3. A crafted input will lead to a remote denial of service attack.
This has been reported in #590 , but @piponazo ignored due to not
cp CVE-2018-20099 CVE-2018-20099.exv
This CVE has not been fixed on current commit
1de8e734
To Reproduce
Steps to reproduce the behaviour:
Expected behavior
infinite loop
Desktop (please complete the following information):
Additional context
press
Ctrl+Break
to let gdb breakThe text was updated successfully, but these errors were encountered: