-
Notifications
You must be signed in to change notification settings - Fork 6
Access violation near NULL on destination operand #4
Comments
Hi, I'd like to prepare a patch for all three CVEs. Could you please share POC files (malformed cue sheets)? |
I couldn't reproduce the crash (I'm on amd64?), but Valgrind isn't happy with that:
Here's a patch that solves this by rejecting malformed cue sheets:
|
Hi @yegortimoshenko , from my understanding, the issues cannot be reproduced on x64 machines. I discovered them on my test machine running Once again, really amazing how you fixed the bug before I can provide more information. Very elegant fixed to reject any malformed cue files there. Just to be sure, can also perform verification on the following payload, as attached. |
I've managed to trigger segfault on amd64 with this payload on unpatched bchunk v1.2.0:
Again, after patches it behaves as expected:
Thanks again @kongwenbin :-) |
I have discovered several malformed cue files that would cause bchunk to run into segmentation fault. With the help of gdb exploitable, it can be determined that there was an access violation near NULL on the destination operand.
The following is a full output:
The text was updated successfully, but these errors were encountered: