scorecard/go.mod

135 lines
6.2 KiB
Modula-2
Raw Normal View History

2022-01-12 22:49:01 +03:00
module github.com/ossf/scorecard/v4
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
// TODO(go.mod): Is there a reason these deps are kept separately from the
// other `require`s?
require (
github.com/rhysd/actionlint v1.6.10
gotest.tools v2.2.0+incompatible
)
2020-10-09 17:47:59 +03:00
require (
cloud.google.com/go/bigquery v1.30.0
cloud.google.com/go/monitoring v0.1.0 // indirect
cloud.google.com/go/pubsub v1.19.0
cloud.google.com/go/trace v0.1.0 // indirect
contrib.go.opencensus.io/exporter/stackdriver v0.13.8
github.com/bombsimon/logrusr/v2 v2.0.1
github.com/bradleyfalzon/ghinstallation/v2 v2.0.4
github.com/go-git/go-git/v5 v5.4.2
github.com/go-logr/logr v1.2.2
github.com/golang/mock v1.6.0
github.com/google/go-cmp v0.5.7
github.com/google/go-containerregistry v0.8.0
github.com/google/go-github/v38 v38.1.0
github.com/h2non/filetype v1.1.3
github.com/jszwec/csvutil v1.6.0
:sparkles: Add check for Docker dependency pinning by hash (#469) * check pinning in docker files * Revert "check pinning in docker files" This reverts commit c05a5007b11badfe68e1ce8f8574356457a53f8f. * check pinning in docker files * Revert "check pinning in docker files" This reverts commit c05a5007b11badfe68e1ce8f8574356457a53f8f. * check pinning in docker files * Revert "check pinning in docker files" This reverts commit c05a5007b11badfe68e1ce8f8574356457a53f8f. * check pinning in docker files * Revert "check pinning in docker files" This reverts commit c05a5007b11badfe68e1ce8f8574356457a53f8f. * check pinning in docker files * Revert "check pinning in docker files" This reverts commit c05a5007b11badfe68e1ce8f8574356457a53f8f. * check dependencies pinning in docker files * check docker files hash pinning * remove logging * make keyword matches case-insensitive * remove log * update unit tests * check fix * check dependencies pinning in docker files * check docker files hash pinning * remove logging * remove log * check fix * comment * linter * commments * check pinning in docker files * Revert "check pinning in docker files" This reverts commit c05a5007b11badfe68e1ce8f8574356457a53f8f. * check pinning in docker files * Revert "check pinning in docker files" This reverts commit c05a5007b11badfe68e1ce8f8574356457a53f8f. * check pinning in docker files * Revert "check pinning in docker files" This reverts commit c05a5007b11badfe68e1ce8f8574356457a53f8f. * check dependencies pinning in docker files * check docker files hash pinning * check fix * check dependencies pinning in docker files * check docker files hash pinning * remove logging * make keyword matches case-insensitive * remove log * check fix * comment * commments * comments * check pinning in docker files * Revert "check pinning in docker files" This reverts commit c05a5007b11badfe68e1ce8f8574356457a53f8f. * check pinning in docker files * Revert "check pinning in docker files" This reverts commit c05a5007b11badfe68e1ce8f8574356457a53f8f. * check pinning in docker files * Revert "check pinning in docker files" This reverts commit c05a5007b11badfe68e1ce8f8574356457a53f8f. * check dependencies pinning in docker files * check docker files hash pinning * remove logging * make keyword matches case-insensitive * check fix * check dependencies pinning in docker files * check docker files hash pinning * check fix * commments * comments * comments * comments * update mod * remove continue keyword * linter * linter * linter * comments * cleanup * linter * typos * typos
2021-05-19 19:46:39 +03:00
github.com/moby/buildkit v0.8.3
github.com/olekukonko/tablewriter v0.0.5
github.com/onsi/gomega v1.18.1
github.com/shurcooL/githubv4 v0.0.0-20201206200315-234843c633fa
github.com/shurcooL/graphql v0.0.0-20200928012149-18c5c3165e3a // indirect
github.com/sirupsen/logrus v1.8.1
github.com/spf13/cobra v1.4.0
github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f
go.opencensus.io v0.23.0
gocloud.dev v0.24.0
golang.org/x/text v0.3.7
golang.org/x/tools v0.1.9
google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8
google.golang.org/protobuf v1.27.1
gopkg.in/yaml.v2 v2.4.0
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
mvdan.cc/sh/v3 v3.4.3
2020-10-09 17:47:59 +03:00
)
2021-09-02 01:13:04 +03:00
require (
github.com/caarlos0/env/v6 v6.9.1
github.com/onsi/ginkgo/v2 v2.1.3
sigs.k8s.io/release-utils v0.5.0
)
2021-09-02 01:13:04 +03:00
require (
cloud.google.com/go v0.100.2 // indirect
cloud.google.com/go/compute v1.5.0 // indirect
cloud.google.com/go/iam v0.3.0 // indirect
cloud.google.com/go/storage v1.21.0 // indirect
github.com/Microsoft/go-winio v0.5.1 // indirect
2021-09-02 01:13:04 +03:00
github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect
github.com/acomagu/bufpipe v1.0.3 // indirect
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/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be // indirect
github.com/containerd/stargz-snapshotter/estargz v0.10.1 // indirect
2021-09-02 01:13:04 +03:00
github.com/containerd/typeurl v1.0.2 // indirect
github.com/docker/cli v20.10.12+incompatible // indirect
2021-09-02 01:13:04 +03:00
github.com/docker/distribution v2.7.1+incompatible // indirect
github.com/docker/docker v20.10.12+incompatible // indirect
github.com/docker/docker-credential-helpers v0.6.4 // indirect
2021-09-02 01:13:04 +03:00
github.com/emirpasic/gods v1.12.0 // indirect
github.com/fatih/color v1.13.0 // 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
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
github.com/google/go-github/v41 v41.0.0 // indirect
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
github.com/googleapis/gax-go/v2 v2.1.1 // 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
github.com/klauspost/compress v1.13.6 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-isatty v0.0.14 // 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/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.0.2-0.20211117181255-693428a734f5 // indirect
2021-09-02 01:13:04 +03:00
github.com/pkg/errors v0.9.1 // indirect
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/spf13/pflag v1.0.5 // indirect
github.com/vbatts/tar-split v0.11.2 // indirect
2021-09-02 01:13:04 +03:00
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
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 // indirect
golang.org/x/net v0.0.0-20220225172249-27dd8689420f // indirect
golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b // indirect
2021-09-02 01:13:04 +03:00
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9 // indirect
2021-09-02 01:13:04 +03:00
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
google.golang.org/api v0.71.0 // indirect
2021-09-02 01:13:04 +03:00
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/grpc v1.45.0 // indirect
2021-09-02 01:13:04 +03:00
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
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
// This replace is for GHSA-qq97-vm5h-rrhg
github.com/docker/distribution => github.com/docker/distribution v2.8.0+incompatible
// https://go.googlesource.com/vulndb/+/refs/heads/master/reports/GO-2020-0020.yaml
github.com/gorilla/handlers => github.com/gorilla/handlers v1.3.0
// https://github.com/miekg/dns/issues/1037
github.com/miekg/dns => github.com/miekg/dns v1.1.25-0.20191211073109-8ebf2e419df7
//https://github.com/opencontainers/distribution-spec/security/advisories/GHSA-mc8v-mgrf-8f4m
github.com/opencontainers/image-spec => github.com/opencontainers/image-spec v1.0.2
// 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
// This replace is for https://github.com/advisories/GHSA-25xm-hr59-7c27
github.com/ulikunitz/xz => github.com/ulikunitz/xz v0.5.8
)