-
Notifications
You must be signed in to change notification settings - Fork 129
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
Early results for vulnerability analysis and remediation for OSS-Fuzz bugs #458
Comments
Example: LLM output below:
|
Hi, would you please share the meta data of the 5 cases or give any references so that I can dig out? |
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=<bug_number> where bug_number is 69527, 65777, 64337, 69497 |
Hi, when I tried to reproduce the vulnerability of qpdf. I got this issue. Is this due to base image change?
and in another project libical.
|
@Jarvx Sorry for the slow response. Yes, these look like they're using an older base image that doesn't have the required script. Is this https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65777 ? If so, this is a little surprising because it's quite recent. Can you check if you're building this image with an up to date base image from oss-fuzz? |
@oliverchang Thanks for the information I have managed to reproduce this one after setting it up again. |
Sharing some early results from trying out vulnerability analysis and remediation for OSS-Fuzz bugs (see script here, enclosed llm output for 5 vulns). This is using Gemini 1.5 Pro with the 1M context window. The high level idea is OSS-Fuzz vulnerabilities have a precise regression range on where the issue was introduced (and sometimes even exact changeset, but a range of few commits works fine as well) and a detailed sanitizer crash stacktrace with the source files (where the issue most probably exists). If we feed Gemini the crash sanitizer stacktrace, the regression changeset git diff and source code of the files for every sanitizer stack frame (at crash revision), we see:
This is early work, there can be a lot of improvements that can be done:
69527.libical.rawoutput.txt
69527.stacktrace.txt
65777.qpdf.rawoutput.txt
65777.stacktrace.txt
64337.pcre2.rawoutput.txt
64337.stacktrace.txt
69497.ArduinoJson.rawoutput.txt
69497.stacktrace.txt
The text was updated successfully, but these errors were encountered: