2021-10-08 02:16:01 +03:00
|
|
|
module github.com/ossf/scorecard/v3
|
2020-10-09 17:47:59 +03:00
|
|
|
|
2021-09-02 01:13:04 +03:00
|
|
|
go 1.17
|
2020-10-09 17:47:59 +03:00
|
|
|
|
|
|
|
require (
|
2021-09-30 22:16:23 +03:00
|
|
|
cloud.google.com/go/bigquery v1.24.0
|
2021-08-30 05:00:18 +03:00
|
|
|
cloud.google.com/go/monitoring v0.1.0 // indirect
|
2021-09-13 17:57:32 +03:00
|
|
|
cloud.google.com/go/pubsub v1.17.0
|
2021-08-30 05:00:18 +03:00
|
|
|
cloud.google.com/go/trace v0.1.0 // indirect
|
2021-06-29 07:21:12 +03:00
|
|
|
contrib.go.opencensus.io/exporter/stackdriver v0.13.8
|
2021-09-30 21:07:28 +03:00
|
|
|
github.com/bradleyfalzon/ghinstallation/v2 v2.0.3
|
2021-06-09 02:55:43 +03:00
|
|
|
github.com/go-git/go-git/v5 v5.4.2
|
2021-08-26 22:48:39 +03:00
|
|
|
github.com/golang/mock v1.6.0
|
2021-06-28 23:44:15 +03:00
|
|
|
github.com/google/go-cmp v0.5.6
|
2021-08-11 19:43:35 +03:00
|
|
|
github.com/google/go-containerregistry v0.6.0
|
2021-08-13 03:43:22 +03:00
|
|
|
github.com/google/go-github/v38 v38.1.0
|
2021-06-21 18:49:31 +03:00
|
|
|
github.com/h2non/filetype v1.1.1
|
2021-08-30 20:30:08 +03:00
|
|
|
github.com/jszwec/csvutil v1.5.1
|
2021-05-19 19:46:39 +03:00
|
|
|
github.com/moby/buildkit v0.8.3
|
2021-07-07 00:11:20 +03:00
|
|
|
github.com/olekukonko/tablewriter v0.0.5
|
2021-10-12 11:40:07 +03:00
|
|
|
github.com/onsi/ginkgo v1.16.5
|
2021-08-23 19:18:46 +03:00
|
|
|
github.com/onsi/gomega v1.16.0
|
2021-05-17 23:03:39 +03:00
|
|
|
github.com/shurcooL/githubv4 v0.0.0-20201206200315-234843c633fa
|
2020-11-07 00:28:26 +03:00
|
|
|
github.com/shurcooL/graphql v0.0.0-20200928012149-18c5c3165e3a // indirect
|
2021-07-05 11:25:42 +03:00
|
|
|
github.com/spf13/cobra v1.2.1
|
2021-08-26 04:42:34 +03:00
|
|
|
github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f
|
2021-05-21 09:47:49 +03:00
|
|
|
go.opencensus.io v0.23.0
|
2021-09-12 23:14:20 +03:00
|
|
|
go.uber.org/zap v1.19.1
|
2021-09-03 18:46:28 +03:00
|
|
|
gocloud.dev v0.24.0
|
2021-09-29 11:39:11 +03:00
|
|
|
golang.org/x/tools v0.1.7
|
2021-09-30 22:16:23 +03:00
|
|
|
google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0
|
2021-06-29 18:42:40 +03:00
|
|
|
google.golang.org/protobuf v1.27.1
|
2021-05-02 22:04:04 +03:00
|
|
|
gopkg.in/yaml.v2 v2.4.0
|
2021-08-30 20:03:45 +03:00
|
|
|
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
|
2021-10-05 02:58:03 +03:00
|
|
|
mvdan.cc/sh/v3 v3.4.0
|
2020-10-09 17:47:59 +03:00
|
|
|
)
|
2021-09-02 01:13:04 +03:00
|
|
|
|
2021-11-08 21:57:03 +03:00
|
|
|
require (
|
|
|
|
github.com/rhysd/actionlint v1.6.7
|
|
|
|
gotest.tools v2.2.0+incompatible
|
|
|
|
)
|
2021-11-08 21:26:59 +03:00
|
|
|
|
2021-09-02 01:13:04 +03:00
|
|
|
require (
|
2021-09-30 22:16:23 +03:00
|
|
|
cloud.google.com/go v0.94.1 // indirect
|
2021-09-03 18:46:28 +03:00
|
|
|
cloud.google.com/go/storage v1.16.1 // indirect
|
2021-09-02 01:13:04 +03:00
|
|
|
github.com/Microsoft/go-winio v0.5.0 // indirect
|
|
|
|
github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect
|
|
|
|
github.com/acomagu/bufpipe v1.0.3 // indirect
|
2021-09-03 18:46:28 +03:00
|
|
|
github.com/aws/aws-sdk-go v1.40.34 // indirect
|
2021-09-02 01:13:04 +03:00
|
|
|
github.com/census-instrumentation/opencensus-proto v0.3.0 // indirect
|
|
|
|
github.com/containerd/stargz-snapshotter/estargz v0.7.0 // indirect
|
|
|
|
github.com/containerd/typeurl v1.0.2 // indirect
|
|
|
|
github.com/docker/cli v20.10.7+incompatible // indirect
|
|
|
|
github.com/docker/distribution v2.7.1+incompatible // indirect
|
|
|
|
github.com/docker/docker v20.10.7+incompatible // indirect
|
|
|
|
github.com/docker/docker-credential-helpers v0.6.3 // indirect
|
|
|
|
github.com/emirpasic/gods v1.12.0 // indirect
|
2021-11-08 21:57:03 +03:00
|
|
|
github.com/fatih/color v1.12.0 // indirect
|
2021-09-03 18:46:28 +03:00
|
|
|
github.com/fsnotify/fsnotify v1.5.1 // indirect
|
2021-09-02 01:13:04 +03:00
|
|
|
github.com/go-git/gcfg v1.5.0 // indirect
|
|
|
|
github.com/go-git/go-billy/v5 v5.3.1 // indirect
|
|
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
2021-09-30 21:07:28 +03:00
|
|
|
github.com/golang-jwt/jwt/v4 v4.0.0 // indirect
|
2021-09-02 01:13:04 +03:00
|
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
|
|
github.com/golang/protobuf v1.5.2 // indirect
|
2021-09-30 21:07:28 +03:00
|
|
|
github.com/google/go-github/v39 v39.0.0 // indirect
|
2021-09-08 19:01:34 +03:00
|
|
|
github.com/google/go-querystring v1.1.0 // indirect
|
2021-09-02 01:13:04 +03:00
|
|
|
github.com/google/wire v0.5.0 // indirect
|
2021-09-03 18:46:28 +03:00
|
|
|
github.com/googleapis/gax-go/v2 v2.1.0 // indirect
|
2021-09-02 01:13:04 +03:00
|
|
|
github.com/imdario/mergo v0.3.12 // indirect
|
|
|
|
github.com/inconshreveable/mousetrap v1.0.0 // indirect
|
|
|
|
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
|
|
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
|
|
|
github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 // indirect
|
2021-09-03 18:46:28 +03:00
|
|
|
github.com/klauspost/compress v1.13.5 // indirect
|
2021-11-08 21:57:03 +03:00
|
|
|
github.com/mattn/go-colorable v0.1.8 // indirect
|
|
|
|
github.com/mattn/go-isatty v0.0.13 // indirect
|
|
|
|
github.com/mattn/go-runewidth v0.0.13 // indirect
|
2021-09-02 01:13:04 +03:00
|
|
|
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
|
|
|
github.com/nxadm/tail v1.4.8 // indirect
|
|
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
|
|
|
github.com/opencontainers/image-spec v1.0.1 // indirect
|
|
|
|
github.com/pkg/errors v0.9.1 // indirect
|
2021-11-08 21:57:03 +03:00
|
|
|
github.com/rivo/uniseg v0.2.0 // indirect
|
|
|
|
github.com/robfig/cron v1.2.0 // indirect
|
2021-09-02 01:13:04 +03:00
|
|
|
github.com/sergi/go-diff v1.1.0 // indirect
|
|
|
|
github.com/sirupsen/logrus v1.8.1 // indirect
|
|
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
|
|
github.com/xanzy/ssh-agent v0.3.0 // indirect
|
|
|
|
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
|
|
|
|
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
|
2021-09-03 18:46:28 +03:00
|
|
|
go.uber.org/atomic v1.9.0 // indirect
|
|
|
|
go.uber.org/multierr v1.7.0 // indirect
|
|
|
|
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 // indirect
|
|
|
|
golang.org/x/net v0.0.0-20210825183410-e898025ed96a // indirect
|
|
|
|
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f // indirect
|
2021-09-02 01:13:04 +03:00
|
|
|
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
|
2021-10-05 02:58:03 +03:00
|
|
|
golang.org/x/sys v0.0.0-20210925032602-92d5a993a665 // indirect
|
2021-09-03 18:46:28 +03:00
|
|
|
golang.org/x/text v0.3.7 // indirect
|
2021-09-02 01:13:04 +03:00
|
|
|
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
|
2021-09-30 22:16:23 +03:00
|
|
|
google.golang.org/api v0.57.0 // indirect
|
2021-09-02 01:13:04 +03:00
|
|
|
google.golang.org/appengine v1.6.7 // indirect
|
|
|
|
google.golang.org/grpc v1.40.0 // indirect
|
|
|
|
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
|
|
|
|
gopkg.in/warnings.v0 v0.1.2 // indirect
|
|
|
|
)
|
:seedling: Fix GO-2021-0089 vulnerability
The github.com/buger/jsonparser has this vulnerability.
"vulns": [
{
"id": "GO-2021-0089",
"package": {
"name": "github.com/buger/jsonparser",
"ecosystem": "Go"
},
"details": "Parsing malformed JSON which contain opening brackets, but not closing brackes,\nleads to an infinite loop. If operating on untrusted user input this can be\nused as a denial of service vector.\n",
"affects": {
"ranges": [
{
"type": "SEMVER",
"fixed": "0.0.0-20200321185410-91ac96899e49"
}
]
},
"aliases": [
"CVE-2020-10675"
],
"modified": "2021-04-14T12:00:00Z",
"published": "2021-04-14T12:00:00Z",
"ecosystem_specific": {
"symbols": [
"findKeyStart"
]
},
"database_specific": {
"source": "https://storage.googleapis.com/go-vulndb/github.com/buger/jsonparser.json",
"url": "https://go.googlesource.com/vulndb/+/refs/heads/master/reports/GO-2021-0089.yaml"
},
"references": [
{
"type": "FIX",
"url": "https://github.com/buger/jsonparser/pull/192"
},
{
"type": "FIX",
"url": "https://github.com/buger/jsonparser/commit/91ac96899e492584984ded0c8f9a08f10b473717"
},
{
"type": "WEB",
"url": "https://github.com/buger/jsonparser/issues/188"
}
],
"affected": [
{
"package": {
"name": "github.com/buger/jsonparser",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.0.0-20200321185410-91ac96899e49"
}
]
}
],
"ecosystem_specific": {
"symbols": [
"findKeyStart"
]
},
"database_specific": {
"source": "https://storage.googleapis.com/go-vulndb/github.com/buger/jsonparser.json",
"url": "https://go.googlesource.com/vulndb/+/refs/heads/master/reports/GO-2021-0089.yaml"
}
}
]
},
{
"id": "GO-2021-0057",
"package": {
"name": "github.com/buger/jsonparser",
"ecosystem": "Go"
},
"details": "Due to improper bounds checking, maliciously crafted JSON objects\ncan cause an out-of-bounds panic. If parsing user input, this may\nbe used as a denial of service vector.\n",
"affects": {
"ranges": [
{
"type": "SEMVER",
"fixed": "1.1.1"
}
]
},
"aliases": [
"CVE-2020-35381"
],
"modified": "2021-04-14T12:00:00Z",
"published": "2021-04-14T12:00:00Z",
"ecosystem_specific": {
"symbols": [
"searchKeys"
]
},
"database_specific": {
"source": "https://storage.googleapis.com/go-vulndb/github.com/buger/jsonparser.json",
"url": "https://go.googlesource.com/vulndb/+/refs/heads/master/reports/GO-2021-0057.yaml"
},
"references": [
{
"type": "FIX",
"url": "https://github.com/buger/jsonparser/pull/221"
},
{
"type": "FIX",
"url": "https://github.com/buger/jsonparser/commit/df3ea76ece10095374fd1c9a22a4fb85a44efc42"
},
{
"type": "WEB",
"url": "https://github.com/buger/jsonparser/issues/219"
}
],
"affected": [
{
"package": {
"name": "github.com/buger/jsonparser",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.1"
}
]
}
],
"ecosystem_specific": {
"symbols": [
"searchKeys"
]
},
"database_specific": {
"url": "https://go.googlesource.com/vulndb/+/refs/heads/master/reports/GO-2021-0057.yaml",
"source": "https://storage.googleapis.com/go-vulndb/github.com/buger/jsonparser.json"
}
}
]
}
]
}
2021-09-21 20:46:31 +03:00
|
|
|
|
2021-09-22 00:31:16 +03:00
|
|
|
replace (
|
|
|
|
// https://deps.dev/advisory/OSV/GO-2021-0057?from=%2Fgo%2Fgithub.com%252Fbuger%252Fjsonparser%2Fv1.0.0
|
|
|
|
github.com/buger/jsonparser => github.com/buger/jsonparser v1.1.1
|
|
|
|
// https://deps.dev/advisory/OSV/GO-2020-0017?from=%2Fgo%2Fk8s.io%252Fclient-go%2Fv0.0.0-20200207030105-473926661c44
|
|
|
|
github.com/dgrijalva/jwt-go v0.0.0-20170104182250-a601269ab70c => github.com/golang-jwt/jwt v3.2.1+incompatible
|
|
|
|
github.com/dgrijalva/jwt-go v3.2.0+incompatible => github.com/golang-jwt/jwt v3.2.1+incompatible
|
2021-09-22 05:01:01 +03:00
|
|
|
// https://go.googlesource.com/vulndb/+/refs/heads/master/reports/GO-2020-0020.yaml
|
|
|
|
github.com/gorilla/handlers => github.com/gorilla/handlers v1.3.0
|
2021-10-04 20:16:52 +03:00
|
|
|
// https://github.com/miekg/dns/issues/1037
|
|
|
|
github.com/miekg/dns => github.com/miekg/dns v1.1.25-0.20191211073109-8ebf2e419df7
|
2021-10-04 21:15:41 +03:00
|
|
|
// This replace is for https://nvd.nist.gov/vuln/detail/CVE-2021-3538
|
|
|
|
github.com/satori/go.uuid => github.com/satori/go.uuid v1.2.1-0.20181016170032-d91630c85102
|
2021-10-04 20:55:08 +03:00
|
|
|
// This replace is for https://github.com/advisories/GHSA-25xm-hr59-7c27
|
|
|
|
github.com/ulikunitz/xz => github.com/ulikunitz/xz v0.5.8
|
2021-09-22 00:31:16 +03:00
|
|
|
)
|