Sourced from golang.org/x/vuln's releases.
v1.1.0
This release brings minor improvements to govulncheck inner workings and a few bug fixes (#66139, #65590).
Integration
Govulncheck JSON now also contains scan mode as part of the
Config
message.Further, the
Position
in trace frames now contains only paths relative to their enclosing module. This could potentially break some existing clients, hence the bump of the minor version.Note that this change is made to allow for easier preservation of privacy by the clients as now the file positions do not contain information about the local machine. This is also a portable solution. Clients can reconstruct full paths for their local machine by joining the
Position
relative paths with paths of the enclosing modules on the local machine.v1.0.4
This release brings an improved overhaul of the govulncheck textual output. Findings at each detected level of precision (
symbol, package, or module
) are communicated in their own section.By default, only the section with the user-specified precision mode is shown followed by a summary of other sections. A detailed description with all of the sections can be obtained using a newly introduced
-show verbose
option.This release also brings improvements and fixes for error messages and binaries (#59731).
Integration
govulncheck (streaming) JSON now includes the code position of the vulnerable symbol. Where applicable, the
.Position
of the last entry of a finding's trace is the code location defining the.Function
.v1.0.3
The major feature brought by this release is govulncheck
-mode extract
option. It enables users to extract a blob abstraction of a binary whose size is typically much smaller than the binary itself. The blob can be passed to govulncheck for analysis with the-mode binary
option. The users should not rely on the contents or the representation of the blob.This release also brings several bug fixes (#65124, #65155, and #65130).
v1.0.2
This release brings minor improvements to the govulncheck textual output and fixes for error messages (#59623, #64681), fixed version suggestion (#62276), documentation (e.g., #60166), and issues in dependencies (e.g., #64112).
Support for analyzing stripped darwin binaries in govulncheck is added as well (#61051).
Integration
govulncheck (streaming) JSON now emits an OSV message for each vulnerability associated with user modules and its transitive dependencies, regardless of the module version.
As usual, govulncheck emits a module-level Finding if a vulnerability for a module applies to the current module version.
a7188c6
internal/openvex: add vex types4b737a9
internal/sarif: compute relative paths for findings7bf0c05
internal/sarif: remove unused field7b0e650
go.mod: update golang.org/x dependenciesf1b1098
internal/sarif,internal/scan,internal/traces: clean up tests33791bc
internal/sarif: add region part of the physical locationd00c170
internal/sarif: add code flows9fbf042
cmd/govulncheck: clean up testefaa3ce
cmd/govulncheck: make test case config data7838670
cmd/govulncheck: add comment capability to fixups