-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
DoS analysing ELF64 binary for MIPS architecture #19436
Comments
Note: we confirmed that this issue is also present in the lastest commit on the main branch at the time of writing |
Seems like this binary is creating a large virtual map that is filled with nops (aka zeros) so the analysis goes on for a very looong time trying to reach the end of it. so one solution could be to consider a limit in basic block size or just avoid analyzing after N nops 🤔 |
Just to let you know, I got in touch with the security team at Red Hat about this issue, and they've assigned it CVE-2021-4021 |
Environment
Description
We found with @OctavioGalland an ELF64 binary for MIPS architecture that hangs when analysed.
We think this is caused by mapping a huge section that is interpreted as NOPs. If we modify the size of the section, the analysis doesn't hang. While this is not an infinite loop, it can be very long. And this has been acknowledged as a DoS in the past (see #18923).
Test
The text was updated successfully, but these errors were encountered: