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

Missing fixed attribute in libucl bug #2353

Open
inferno-chromium opened this issue Jun 30, 2024 · 14 comments
Open

Missing fixed attribute in libucl bug #2353

inferno-chromium opened this issue Jun 30, 2024 · 14 comments
Assignees
Labels
data quality Issues with data quality

Comments

@inferno-chromium
Copy link
Collaborator

Describe the bug
https://osv.dev/vulnerability/OSV-2024-22 is missing fixed attribute field.

Expected behaviour
As per https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65868, this bug is fixed and should point to this fixed commit
vstakhov/libucl@d6e62ca

@cuixq cuixq added the data quality Issues with data quality label Jul 1, 2024
Copy link

github-actions bot commented Jul 1, 2024

✨ Thank you for your interest in OSV.dev's data quality! ✨

Please review our FAQ entry on how to most efficiently have this addressed.

@inferno-chromium
Copy link
Collaborator Author

@andrewpollock
Copy link
Contributor

@jonathanmetzman are you able to provide any insights here into what happens from OSS-Fuzz's side?

@jonathanmetzman
Copy link

Is there something you noticed that oss-fuzz did wrong? To me everything appears normal, it has a fixed revision.

@cuixq
Copy link
Contributor

cuixq commented Jul 4, 2024

I searched for the logs related to bug 6726871018438656 and only saw regressed bisect performed on Jan 18, but I cannot find any logs related to fixed bisect.

However, for bugs with fix available for example this one: https://osv.dev/vulnerability/OSV-2024-504, I can see both regressed and fixed bisect performed.

@inferno-chromium
Copy link
Collaborator Author

I searched for the logs related to bug 6726871018438656 and only saw regressed bisect performed on Jan 18, but I cannot find any logs related to fixed bisect.

However, for bugs with fix available for example this one: https://osv.dev/vulnerability/OSV-2024-504, I can see both regressed and fixed bisect performed.

Yes that seems like a bug. This does not seem like an issue on OSS-Fuzz side, but on the bisection side of OSV.

@andrewpollock
Copy link
Contributor

@jonathanmetzman are you able to confirm that a request to bisect the fixed version was made from OSS-Fuzz? We have no evidence of one ever being received. Is it possible to repeat that request?

@jonathanmetzman
Copy link

jonathanmetzman commented Jul 9, 2024

I don't think oss-fuzz makes these sorts of requests. I'm not really sure what's being asked of me here.
As far as I know, osv is a consumer of OSS-Fuzz not the other way around.

@inferno-chromium
Copy link
Collaborator Author

Lets check with @oliverchang once he is back from vacation. It feels like OSV bisector should be periodically checking for unfixed bugs by looking at testcase.fixed attribute and then triggering a fixed bisection. I don't think we should be rely on OSS-Fuzz, but will let Oliver check on this.

@oliverchang
Copy link
Collaborator

OSS-Fuzz does actually request a bisection via https://github.com/google/clusterfuzz/blob/aeec8a904ab50ec4169ebcc6667b5505d037fce0/src/clusterfuzz/_internal/base/bisection.py#L47.

There have been repeated cases in the past where this doesn't come through for some reason.

There's a bunch of improvements that need to be made here (mainly #2043 being the architectural one). This would enable us to e.g. do the more reliable periodic check rather than rely on OSS-Fuzz to be reliably sending requests, in addition to better decoupling some of the OSS-Fuzz infra from osv.dev. I think we need to do this in late Q3/Q4 this year. I'll write something up in more detail.

@oliverchang
Copy link
Collaborator

In the meantime, I'll run a manual backfill tomorrow (didn't get to this today).

@oliverchang
Copy link
Collaborator

https://osv.dev/vulnerability/OSV-2024-22 and https://osv.dev/vulnerability/OSV-2024-551 now both have fixed attributes. The backfill is still running in case there are any other recent entries with this issue.

@inferno-chromium
Copy link
Collaborator Author

https://osv.dev/vulnerability/OSV-2024-22 and https://osv.dev/vulnerability/OSV-2024-551 now both have fixed attributes. The backfill is still running in case there are any other recent entries with this issue.

apart from the longer architectural change and manual backfills, is there any intermediate solution that can send multiple bisections (tasks distributed over days, like send 3 - one now, one scheduled after a day, one scheduled after 2 days) so even if one fails, other goes through. This is a pretty bad quality issue, so thought for an intermediate solution (extra bisections shouldn't hurt, and data will be complete most of the time?)

@oliverchang
Copy link
Collaborator

https://osv.dev/vulnerability/OSV-2024-22 and https://osv.dev/vulnerability/OSV-2024-551 now both have fixed attributes. The backfill is still running in case there are any other recent entries with this issue.

apart from the longer architectural change and manual backfills, is there any intermediate solution that can send multiple bisections (tasks distributed over days, like send 3 - one now, one scheduled after a day, one scheduled after 2 days) so even if one fails, other goes through. This is a pretty bad quality issue, so thought for an intermediate solution (extra bisections shouldn't hurt, and data will be complete most of the time?)

Pub/Sub should already do this via its own retry mechanism. It's possible that something is preventing OSS-fuzz from sending the request in the first place in these cases -- I'll take a closer look.

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

No branches or pull requests

5 participants