-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Memory Corruption Vulnerabilities in Version 1.94 #78
Comments
Thank you for your comment. I unzipped the ZIP file, but the file could not be read. Please send it again. |
Hi @sasagawa888 Similar to #75, if you unzip the file it should have a folder inside named reproduction:
The contents of the script may not be human readable, because the actual bytes were modified by the fuzzer. The scripts can still be executed by running the following:
For example:
Let me know if that helps. Thanks! |
I see. I will try. |
Most of the bugs have been fixed. |
Hi @sasagawa888!
I compiled the most recent version of nprolog (Ver 1.94) and added it to my fuzz tests. It looks like there are a couple memory corruption issues at various locations. I have attached a zip archive named reproduction.zip for replication:
reproduction.zip
Note: Here is the Makefile I used to compile npl with address sanitizer for debugging
Out-of-bounds read in add_data at data.c
Reproduction
GDB Output
GDB Backtrace
ASAN Output
Out of bounds read in prove_all at main.c
Reproduction
GDB Output
GDB Backtrace
ASAN Output
Stack overflow in deref at data.c
Reproduction
GDB Output
GDB Backtrace
ASAN Output
Null pointer dereference in prove at main.c
Reproduction
GDB Output
GDB Backtrace
ASAN Output
Null pointer dereference in b_consult at builtin.c
Reproduction
GDB Output
GDB Backtrace
ASAN Output
Out-of-bounds read in o_define at builtin.c
Reproduction
GDB Output
GDB Backtrace
ASAN Output
The text was updated successfully, but these errors were encountered: