-
Notifications
You must be signed in to change notification settings - Fork 102
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
Assertion failure in calcstepsizes (unfixed #57) #83
Comments
There's no assertion on 1.900.26 and later due to max samples limit. The use of |
There was CVE-2016-9399 assigned for this via @asarubbo , see: https://blogs.gentoo.org/ago/2016/11/16/jasper-multiple-assertion-failure/ There is now another report from @owl337 triggering the same assertion, and with other CVE - CVE-2017-13751. Reporters have not provided any reasoning to explain why separate CVE is justified. They reported in Red Hat bugzilla and I can't find matching report here in the upstream issue tracker, so I'm attaching their test case here. https://bugzilla.redhat.com/show_bug.cgi?id=1485283 Test case: POC6.zip (Note that this POC6 triggers the issue without needing |
The assertion is not triggered for either of the reproducers after applying patch from @MaxKellermann's pull request #158. |
.. now if only this project wasn't dead! All of these well-known vulnerabilities have been reported long ago, but were never fixed, nor were my pull requests considered. |
The provided PoC in Bugzilla #1485283 triggered assertions in both the versions 1.900.22 and 2.0.12 $ jasper --input POC6 --output pocdup.jp2 I've applied the patch from @MaxKellermann PR 158, seems like it solves the issue. Still we are not sure why the reporter requested two CVE's for similar issue |
You're not reading my comments correctly (likely because of poor wording of my first comment). I mentioned that the reproducer 00044-jasper-assert-calcstepsizes that is in the first comment of this issue does not trigger assertion in 1.900.26 or later in
prior to reaching the assertion. I also noted that running it with The other reproducer - POC6 - trigger the assert without needing to override samples limit.
@owl337's report does not indicate which version they fuzzed, but AFAICT they did not use the version in Red Hat Enterprise Linux 7 they reported the bug against. At least one of the issues they reported in Red Hat Bugzilla did not affect the version of jasper as used in RHEL 7. I assume they used the upstream version that was the latest at the time, something around 2.0.12 is my guess. |
Re-reading your question again - there is no single reporter behind those two CVEs. The 2016 one was requested by @asarubbo, while the 2017 one by @owl337. |
Fixed in 84d00fb |
On 1.900.22
Testcase: https://github.com/asarubbo/poc/blob/master/00044-jasper-assert-calcstepsizes
The text was updated successfully, but these errors were encountered: