Paul Krill
Editor at Large

Golang adds vulnerability management tooling

news
Sep 7, 20222 mins

Go’s new support for vulnerability management pairs the Go vulnerability database with tooling that analyzes a codebase and surfaces known vulnerabilities.

Google’s Go programming language has added support for vulnerability management, which project developers said was an initial step toward helping Go developers learn about known vulnerabilities that could impact them.

In a blog post on September 6, the Go security team gave an overview of Go’s vulnerability management project, anchored by the Go vulnerability database, which contains data about vulnerabilities in importable packages in public Go modules. The database, which is curated by the security team, backs Go tools that will analyze a codebase and surface known vulnerabilities. These tools will only surface vulnerabilities in functions that the developer’s code is actually calling, thereby reducing noise in the results, the security team said.

Vulnerability data in the database comes from existing sources such as CVEs and GHSAs and direct reports from Go package maintainers. This information is reviewed by the Go security team and added to the database. The team is encouraging package maintainers to contribute information about public vulnerabilities in their projects and update existing information about vulnerabilities in Go packages.

A new <a href="https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck" rel="nofollow">govulnulcheck</a> command provides a low-noise mechanism for Go users to learn about vulnerabilities. The tool analyzes a codebase and surfaces vulnerabilities that could affect a project, based on which functions in code are transitively calling vulnerable functions. Also, vulnerability detection has been integrated into existing Go tools and services such as the Go package discovery site.

The Go vulnerability management project remains in active development; the Go security team cautions users to expect some limitations and bugs. Go developers are encouraged to contribute to the project and provide feedback. They also can take a survey on the effort.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author