-
-
Notifications
You must be signed in to change notification settings - Fork 373
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
Multiple heap out-of-bounds reads in asn1.c #2966
Milestone
Comments
wargio
added a commit
that referenced
this issue
Aug 22, 2022
wargio
added a commit
that referenced
this issue
Aug 23, 2022
wargio
added a commit
that referenced
this issue
Aug 23, 2022
Additional crashing sample: |
wargio
added a commit
that referenced
this issue
Aug 23, 2022
wargio
added a commit
that referenced
this issue
Aug 23, 2022
imbillow
pushed a commit
that referenced
this issue
Aug 24, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! We've been fuzzing your project and found the following errors in
/librz/util/asn1.c
Work environment
OS: Ubuntu 20.04
File format: -
rizin version: 4b38597
Bug description
Heap out-of-bounds read of size 1 in
/librz/util/asn1.c:81:38
and heap out-of-bounds read of size 21 inlibrz/util/asn1.c:165:2
Steps to reproduce
Build docker container from https://github.com/ispras/oss-sydr-fuzz/tree/master/projects/rizin:
sudo docker build -t oss-sydr-fuzz-rizin .
Run docker container:
sudo docker run --privileged --network host -v /etc/localtime:/etc/localtime:ro --rm -it -v $PWD:/fuzz oss-sydr-fuzz-rizin /bin/bash
Execute rizin with crashing input (1):
/rizin-fuzzing/libfuzzer-asan/bin/rizin -qq crash-39fe0fb1bab0551bbc4038ec30056824
You will see the following output:
Execute rizin with crashing input (2):
/rizin-fuzzing/libfuzzer-asan/bin/rizin -qq crash-2d4901d5033d609045e1deed56381ad5f109bcf8
You will see the following output:
Crashes:
The text was updated successfully, but these errors were encountered: