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

OSV: fixed_in not in database #1139

Open
celek opened this issue Nov 7, 2023 · 1 comment
Open

OSV: fixed_in not in database #1139

celek opened this issue Nov 7, 2023 · 1 comment

Comments

@celek
Copy link

celek commented Nov 7, 2023

Looking at this
https://api.osv.dev/v1/vulns/GHSA-25pr-6pr6-68v7

      "ranges": [
        {
          "type": "SEMVER",
          "events": [{ "introduced": "0" }, { "fixed": "1.1.9" }]
        }
      ],

yet I do not see the fixed_in_version in the DB - is that because I do not have the latest version of the DB ?
The code seems to attempt to read the right info

case ev.Fixed != "": // less than
ver, err = semver.NewVersion(ev.Fixed)
@celek
Copy link
Author

celek commented Nov 9, 2023

Not (yet) an expert but I see the value in the struct when I run a test locally - Not sure where I can continue to debug - pointers to where I can put my breakpoint ?
image
Oh I noticed FixedInVersion is "" where upper range contains the 1.1.9

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

No branches or pull requests

1 participant