Skip to content
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

Security issues in the parser and bootloader code #17

Open
mjurczak opened this issue Apr 2, 2020 · 2 comments
Open

Security issues in the parser and bootloader code #17

mjurczak opened this issue Apr 2, 2020 · 2 comments

Comments

@mjurczak
Copy link

mjurczak commented Apr 2, 2020

Hello,

I'm worried the input validation and pointer operations in the code may be insufficient for security critical code such as secure-bootloaders at the moment.

More comments and sample inputs exploiting found issues can be found at:
mjurczak#1

I believe the code is a great candidate for static code analysis and perhaps fuzz testing, which may reveal further issues.
It would be great to employ and encourage defensive programming techniques by default in secure bootloader code samples.

@bremoran
Copy link
Collaborator

@mjurczak
Copy link
Author

The warning is absolutely clear! The trick seems to be to find all the known and yet unknown issues.

I did a quick exercise with static analyzers: mjurczak@05092b1 to see what issues can be found with such approach.
I think that, apart from code review, fuzzing seems to be most promising in automated finding of such problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants