scorecard icon indicating copy to clipboard operation
scorecard copied to clipboard

"Vulnerabilities" check: unclear description ("open vulnerabilities")

Open Chealer opened this issue 1 year ago • 9 comments

The Vulnerabilities check has the following description:

This check determines whether the project has open, unfixed vulnerabilities in its own codebase or its dependencies using the OSV (Open Source Vulnerabilities) service.

It would greatly clarify to define what this calls an "open vulnerability".

Chealer avatar Apr 03 '24 03:04 Chealer

This issue has been marked stale because it has been open for 60 days with no activity.

github-actions[bot] avatar Jul 11 '24 01:07 github-actions[bot]

Hey @Chealer, what do you think of our PR #4271 for this issue?

klbynum avatar Jul 31 '24 19:07 klbynum

Hi @klbynum The concern was not identifying vulnerabilities, but to explain what the quoted sentence refers to as "open vulnerabilities". In other words, the description should explain which sense the term "open" has when it qualifies vulnerabilities.

To make an analogy, if there are 5 doors in my home, I am not asking to list that doors #2 and #4 are the ones which are open. What this asks is to define which characteristic(s) these open doors share.

Chealer avatar Aug 01 '24 02:08 Chealer

Thank you for this clarification @Chealer. From what we found, the "open" in "open vulnerabilities" refers to "open source" as the scanner used for this check detects "vulnerabilities in open source packages" as found here. Do you agree with this? If so, would clarifying this in the documentation resolve the issue?

klbynum avatar Aug 01 '24 17:08 klbynum

Thank you for this clarification @Chealer. From what we found, the "open" in "open vulnerabilities" refers to "open source" as the scanner used for this check detects "vulnerabilities in open source packages" as found here. Do you agree with this? If so, would clarifying this in the documentation resolve the issue?

I think that is the wrong definition for this context. My thoughts are that the "open" is being used as a synonym to the "unfixed" portion that follows it. It was added in #628, and the summary added to the README simply says:

Does the project have unfixed vulnerabilities?

It may be easier to just remove the word open from the checks.yaml to match that phrasing

spencerschrock avatar Aug 01 '24 20:08 spencerschrock

@klbynum: Scorecard is dedicated to open source packages. Given that all checks only find issues in open source software, it is hard to believe that the author would have wasted energy in specifying that and phrased it in such a poor way.

Thank you very much for your research @spencerschrock

@oliverchang : can you explain what you meant by "open vulnerabilities"?

Chealer avatar Aug 01 '24 23:08 Chealer

Yes, the intent of "open vulnerability" in this context was "unfixed vulnerability".

oliverchang avatar Aug 07 '24 04:08 oliverchang

Thanks @oliverchang

In that case, I recommend determining how exactly the tool works to clarify what "unfixed" means and to fix the text accordingly, in a way which reflects that OSV only checks for known vulnerabilities. Depending on the result, this could lead to something like:

This check determines whether the project's latest stable version is publically known to be vulnerable―either due to flaws directly in its own codebase, or via dependencies on other vulnerable projects whose latest stable version is vulnerable―using the OSV (Open Source Vulnerabilities) database.

Chealer avatar Aug 07 '24 09:08 Chealer

This issue has been marked stale because it has been open for 60 days with no activity.

github-actions[bot] avatar Nov 09 '24 01:11 github-actions[bot]