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

Question: Incorrect Sonatype version reference #15910

Open
jmdacruz opened this issue May 9, 2024 · 2 comments
Open

Question: Incorrect Sonatype version reference #15910

jmdacruz opened this issue May 9, 2024 · 2 comments
Labels
Component: General Changes throughout the code base Type: Question

Comments

@jmdacruz
Copy link

jmdacruz commented May 9, 2024

Question

Sonatype index is using incorrect versions for recommended fixes (e.g., v18.0.5 instead of v0.18.5): https://ossindex.sonatype.org/vulnerability/CVE-2024-32886?component-type=golang&component-name=vitess.io%2Fvitess&utm_source=nancy-client&utm_medium=integration&utm_content=1.0.41

This means that even when updating to v0.18.5 in a project's go.mod, tools such as nancy will still report the vulnerability. I've sent an email to the sonartype OSS index, pointing to this issue/question.

@jmdacruz jmdacruz added Needs Triage This issue needs to be correctly labelled and triaged Type: Question labels May 9, 2024
@deepthi
Copy link
Member

deepthi commented May 11, 2024

Thank you for raising this.
cc @systay @dbussink:
The background to this is that go module versioning doesn't play nice with the way we do our SemVer. So whenever we do a release, we tag it with two versions e.g 18.0.5 and 0.18.5. This allows people to import vitess as a dependency in go.mod using 0.18.5 as the version.

@dbussink
Copy link
Contributor

Fwiw, it looks like Dependabot does handle this correctly and does the correct version inference. I've seen it open correct PRs to update a Vitess dependency to resolve this issue. So not sure really what the expectation here is and if this is more something for Sonatype to handle, or if we need to change what we publish?

@frouioui frouioui added Component: General Changes throughout the code base and removed Needs Triage This issue needs to be correctly labelled and triaged labels May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: General Changes throughout the code base Type: Question
Projects
None yet
Development

No branches or pull requests

4 participants