internal/genericosv: canonicalize module paths in ToReport

If there is a consistent canonical module path with respect to all
versions mentioned in a Module, replace the module path (and edit package
paths) to use the canonical module.

Change-Id: Id62b18fffd9dc3715edb9d09a6e50b1dedc51d36
LUCI-TryBot-Result: Go LUCI <>
Reviewed-by: Damien Neil <>
7 files changed
tree: 6840e89e6254b7b3f2a8d5f777b4b2a9bf4a6e6a
  1. .github/
  2. cmd/
  3. data/
  4. deploy/
  5. devtools/
  6. doc/
  7. internal/
  8. terraform/
  9. webconfig/
  10. .gitignore
  11. all_test.go
  12. checks.bash
  14. go.mod
  15. go.sum
  19. tools_test.go

The Go Vulnerability Database

Go Reference

This repository contains the infrastructure and internal reports to create the Go Vulnerability Database.

Check out for more information about the Go vulnerability management system.

Reporting a vulnerability or feedback

Click here to report a public vulnerability in the Go ecosystem, or give feedback about the project.

Privacy Policy

The privacy policy for govulncheck can be found at


Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.

Database entries are distributed under the terms of the CC-BY-4.0 license. See for information on how to access these entries.