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

Error while running make db-build command #487

Open
leloscheidt opened this issue Jan 22, 2025 · 1 comment
Open

Error while running make db-build command #487

leloscheidt opened this issue Jan 22, 2025 · 1 comment

Comments

@leloscheidt
Copy link

leloscheidt commented Jan 22, 2025

Getting this error while running make db-build

time=2025-01-22T15:19:21.439Z level=ERROR msg="[osv] Version comparison error" ecosystem=Maven package=org.jenkins-ci.plugins:credentials error="failed to parse version constraint:\n    github.com/aquasecurity/trivy-db/pkg/vulnsrc/osv.(*MavenVersionRange).Contains\n        /home/ubuntu/trivy-db/pkg/vulnsrc/osv/range.go:186\n  - improper constraint: >=1087.v16065d268466, <1087.1089.v2f1b_9a_b_040e4:\n    github.com/masahiro331/go-mvn-version.NewConstraints\n        /home/ubuntu/go/pkg/mod/github.com/masahiro331/[email protected]/constraint.go:66"

time=2025-01-22T15:19:31.743Z level=ERROR msg="[osv] Version comparison error" ecosystem=Go package=github.com/canonical/lxd error="failed to parse version:\n    github.com/aquasecurity/trivy-db/pkg/vulnsrc/osv.(*SemVerRange).Contains\n        /home/ubuntu/trivy-db/pkg/vulnsrc/osv/range.go:119\n  - invalid semantic version:\n    github.com/aquasecurity/go-version/pkg/semver.init\n        <autogenerated>:1"

time=2025-01-22T15:19:34.693Z level=ERROR msg="[osv] Version comparison error" ecosystem=npm package=joplin error="failed to parse version:\n    github.com/aquasecurity/trivy-db/pkg/vulnsrc/osv.(*NpmVersionRange).Contains\n        /home/ubuntu/trivy-db/pkg/vulnsrc/osv/range.go:137\n  - invalid semantic version:\n    github.com/aquasecurity/go-version/pkg/semver.init\n        <autogenerated>:1"

Someone could help me on that?

@gshanbhag525
Copy link
Contributor

looks like lib which check for versions is not supporting this kind of version.
masahiro331/go-mvn-version#10

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

No branches or pull requests

2 participants