Граф коммитов

1068 Коммитов

Автор SHA1 Сообщение Дата
Filippo Valsorda 68e64dc8d4 README: add provisional GCS bucket link
Change-Id: I6a8e08cb89341e33dba0c9cee94cc26e93a1ac59
Reviewed-on: https://team-review.git.corp.google.com/c/golang/vulndb/+/1061625
Reviewed-by: Roland Shoemaker <bracewell@google.com>
2021-04-19 18:20:25 +00:00
Filippo Valsorda aca001ad4f all: go mod tidy
Change-Id: I9a21ef4bab1014d3b074152b0accaa58ba3f3a8d
Reviewed-on: https://team-review.git.corp.google.com/c/golang/vulndb/+/1061624
Reviewed-by: Roland Shoemaker <bracewell@google.com>
2021-04-19 18:20:21 +00:00
Roland Shoemaker bcd0039f11 all: add script for deploying to GCS bucket
Change-Id: Id11633d0b20c0a45b4d56756ddda0725ae1a73af
Reviewed-on: https://team-review.git.corp.google.com/c/golang/vulndb/+/1055927
Reviewed-by: Roland Shoemaker <bracewell@google.com>
2021-04-15 15:37:03 +00:00
Roland Shoemaker a3a17c9816 all: switch from toml to yaml
Change-Id: I9fb36a246d0d532e44a28903998b9750cf794a85
Reviewed-on: https://team-review.git.corp.google.com/c/golang/vulndb/+/1055925
Reviewed-by: Roland Shoemaker <bracewell@google.com>
2021-04-14 20:04:52 +00:00
Roland Shoemaker 29b7148a1c reports: add back additional_packages for go-yaml with no verions
Blergh, all incompatible version of github.com/go-yaml/yaml are vulnerable,
so add it back with an empty versions list.

Change-Id: I881192ea57e4be02fb534d7a1f2951a004c7e648
Reviewed-on: https://team-review.git.corp.google.com/c/golang/vulndb/+/1055920
Reviewed-by: Roland Shoemaker <bracewell@google.com>
2021-04-14 18:57:23 +00:00
Roland Shoemaker 8b1e4d6fb8 reports: remove additional packages for go-yaml/yaml
Change-Id: I33523cc454b1280462b888e16a93e8b401864948
Reviewed-on: https://team-review.git.corp.google.com/c/golang/vulndb/+/1055919
Reviewed-by: Roland Shoemaker <bracewell@google.com>
2021-04-14 18:51:54 +00:00
Roland Shoemaker 66107ed5cd all: switch to the new shared vuln schema
Change-Id: Ibbbf153cc8078884bf9ac5a3a8b01a75894abb17
Reviewed-on: https://team-review.git.corp.google.com/c/golang/vulndb/+/1055915
Reviewed-by: Roland Shoemaker <bracewell@google.com>
2021-04-14 18:10:57 +00:00
Roland Shoemaker 3cd20f4809 reports: add remaining triaged CVEs
And add the false-positives to the triaged-cve-list.

Change-Id: I64188841372d99d6b91bb1dc602f6312c9b6b5ce
Reviewed-on: https://team-review.git.corp.google.com/c/golang/vulndb/+/1054739
Reviewed-by: Roland Shoemaker <bracewell@google.com>
2021-04-14 00:37:40 +00:00
Filippo Valsorda 087c0613c0 all: add license headers and CONTRIBUTING.md
Change-Id: Icb46b1d9d8f3f1db6066b729e511cbd0ff94f113
Reviewed-on: https://team-review.git.corp.google.com/c/golang/vulndb/+/1054184
Reviewed-by: Filippo Valsorda <valsorda@google.com>
2021-04-13 21:05:53 +00:00
Filippo Valsorda 988b93d5f1 all: add licensing boilerplate and update README
Change-Id: I79bcdc1d868fccbb778ccdef23a4ad7389cf5bfe
Reviewed-on: https://team-review.git.corp.google.com/c/golang/vulndb/+/1054183
Reviewed-by: Filippo Valsorda <valsorda@google.com>
2021-04-13 20:32:20 +00:00
Roland Shoemaker 91bf12f5f8 reports: add a handful of CVEs
Results of testing new CVE triaging tooling. Also adds a file which
tracks which CVEs have been triaged. Still need to add all of the
false positives, but would like to fine tune the triage tooling first
to hopefully cut down the number of them.

Change-Id: I7591b10f5abc5e73b6a3291beeaedca0032ad02f
Reviewed-on: https://team-review.git.corp.google.com/c/golang/vulndb/+/1053804
Reviewed-by: Roland Shoemaker <bracewell@google.com>
2021-04-13 18:22:00 +00:00
Zvonimir Pavlinovic 0cb7a210b0 client: adds unit tests and addresses minor issues.
Change-Id: I9151991794618c11cca9dffb3b79ebbb42989d16
Reviewed-on: https://team-review.git.corp.google.com/c/golang/vulndb/+/1036403
Reviewed-by: Roland Shoemaker <bracewell@google.com>
2021-04-13 16:18:34 +02:00
Roland Shoemaker 3455efa778 all: use consistent index type across packages
All reports still need to have their published fields set.

Change-Id: I64feda32742bb5f85e310211f8da270e4346ad6b
Reviewed-on: https://team-review.git.corp.google.com/c/golang/vulndb/+/1036000
Reviewed-by: Roland Shoemaker <bracewell@google.com>
2021-04-13 16:18:34 +02:00
Zvonimir Pavlinovic b88680fc68 client: allows fsCache to be publicly accessable for go audit.
fsCache is the only cache implementation available. In order to be
integrated in goaudit, it needs to be made publicly accessable as
go audit and cache do not live in the same repo. fsCache will be made
private again once go audit and client live in the same space in the
near future.

Change-Id: I4dd86f407ce83f2162e8a1921f86643bbefdd456
Reviewed-on: https://team-review.git.corp.google.com/c/golang/vulndb/+/1033548
Reviewed-by: Roland Shoemaker <bracewell@google.com>
2021-04-13 16:18:34 +02:00
Roland Shoemaker 2992f259b8 all: use the proxy for report linting
Check the proxy to determine valid versions and canonical module
import paths. This should provent rogue database entries that
do not cleanly apply to real go.mod files.

Change-Id: Iea1b531fe5bed7a0825102c6ac877a515f24c0f5
Reviewed-on: https://team-review.git.corp.google.com/c/golang/vulndb/+/1032616
Reviewed-by: Roland Shoemaker <bracewell@google.com>
2021-04-13 16:18:34 +02:00
Zvonimir Pavlinovic 4d3e0cc221 reports: sets github.com/dgrijalva/jwt-go as incompatible.
github.com/dgrijalva/jwt-go is not module per se. Hence, its pkg
versions require +incompatible annotation. Also, corresponding pkgs do
not have /vX suffixes.

Change-Id: I434b1a6af7ecd22b161d344a2ffe115fa9b883e9
Reviewed-on: https://team-review.git.corp.google.com/c/golang/vulndb/+/1027982
Reviewed-by: Roland Shoemaker <bracewell@google.com>
2021-04-13 16:18:34 +02:00
Zvonimir Pavlinovic 42b5a4503a report: fixes a nil dereference when accessing vuln cve metadata.
Some vulnerabilities, such as GO-2020-0002.toml, do not have CVE
metadata. Accessing CVEMetadata.ID without checking if CVEMetadata is
nil can lead to a nil dereference.

Change-Id: I06a24a7d80a0e8be768af198a1b6254f15de98d3
Reviewed-on: https://team-review.git.corp.google.com/c/golang/vulndb/+/1026682
Reviewed-by: Roland Shoemaker <bracewell@google.com>
2021-04-13 16:18:34 +02:00
Roland Shoemaker abe7a418ae all: initial commit 2021-04-13 16:18:02 +02:00