repo_id stringclasses 927
values | file_path stringlengths 99 214 | content stringlengths 2 4.15M |
|---|---|---|
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/no_vulnerable_at_or_skip_fix.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Test: TestLintOffline/no_vulnerable_at_or_skip_fix
Description: At least one of module.vulnerable_at and module.package.skip_fix must be set.
-- data/reports/GO-0000-00... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/skip_fix_ok.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Test: TestLintOffline/skip_fix_ok
Description: The vulnerable_at field can be blank if skip_fix is set.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/no_package_path.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Test: TestLintOffline/no_package_path
Description: All packages must have a path.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
- module: golang.or... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/invalid_package_path.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Test: TestLintOffline/invalid_package_path
Description: In third party reports, package paths must pass validity checks in x/mod/module.CheckImportPath.
-- data/reports... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/references_unfixed.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Test: TestLintOffline/references_unfixed
Description: References should not contain non-canonical link formats (that can be auto-fixed).
-- data/reports/GO-0000-0000.ya... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/no_package_path_stdlib.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Test: TestLintOffline/no_package_path_stdlib
Description: All packages must have a path.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
- module: st... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/references_redundant_web_advisories.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Test: TestLintOffline/references_redundant_web_advisories
Description: Reports should not contain redundant web-type references linking to CVEs/GHSAs listed in the cves/... |
TestLint | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLint/module_version_ok.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Test: TestLint/module_version_ok
Description: Module-version pairs that exist are OK.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
- module: golan... |
TestLint | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLint/multiple_problems.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Test: TestLint/multiple_problems
Description: A test for a report with multiple module-version issues at once.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
mod... |
TestLint | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLint/module_version_invalid.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Test: TestLint/module_version_invalid
Description: Version@module must exist.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
- module: golang.org/x/... |
TestLint | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLint/no_proxy_client.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Test: TestLint/no_proxy_client
Description: A non-nil proxy client must be provided.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
- module: golang... |
TestLint | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLint/module_non_canonical.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Test: TestLint/module_non_canonical
Description: Module names must be canonical.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
- module: golang.org... |
pkgsite | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/pkgsite/TestCheckPackages.json | {
"/golang.org/x/vulndb/internal/cveschema3@v0.0.0-20240515145110-57274b497de9": false,
"/mod/cmd/go": true,
"/mod/golang.org/x/vulndb/cmd/vulnreport": true,
"/mod/golang.org/x/vulndb/internal/cveschema": true,
"/mod/golang.org/x/vulndb/internal/cveschema3": false,
"/mod/net/http": true
} |
proxy | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/proxy/TestLint.json | {
"github.com/golang/vuln/@latest": {
"body": "{\"Version\":\"v1.1.2\",\"Time\":\"2024-06-06T14:46:51Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/golang/vuln\",\"Ref\":\"refs/tags/v1.1.2\",\"Hash\":\"3740f5cb12a3f93b18dbe200c4bcb6256f8586e2\"}}",
"status_code": 200
},
"github.com/golang/vuln/@v/v... |
proxy | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/proxy/TestGuessVulnerableAt.json | {
"golang.org/x/tools/@latest": {
"body": "{\"Version\":\"v0.22.0\",\"Time\":\"2024-06-04T17:56:46Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://go.googlesource.com/tools\",\"Ref\":\"refs/tags/v0.22.0\",\"Hash\":\"bc6931db37c33e064504346d9259b3b6d20e13f6\"}}",
"status_code": 200
},
"golang.org/x/tools/@v/list... |
proxy | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/proxy/TestFix.json | {
"golang.org/x/vulndb/@latest": {
"body": "{\"Version\":\"v0.0.0-20240626230022-4408037c1739\",\"Time\":\"2024-06-26T23:00:22Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://go.googlesource.com/vulndb\",\"Hash\":\"4408037c1739cc5a078d9d0d410162ee4f336c09\"}}",
"status_code": 200
},
"golang.org/x/vulndb/@v/0cbf... |
TestFixModules | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/proxy/TestFixModules/ok.json | {
"github.com/influxdata/influxdb/@latest": {
"body": "{\"Version\":\"v1.11.5\",\"Time\":\"2024-01-23T17:07:52Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/influxdata/influxdb\",\"Ref\":\"refs/tags/v1.11.5\",\"Hash\":\"8b9a9c63c5b792e0d589873dc87dbda86a84c983\"}}",
"status_code": 200
},
"github.co... |
TestFixModules | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/proxy/TestFixModules/bad_versions.json | {
"github.com/hashicorp/go-getter/@latest": {
"body": "{\"Version\":\"v1.7.5\",\"Time\":\"2024-06-21T21:06:48Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/hashicorp/go-getter\",\"Hash\":\"5a63fd9c0d5b8da8a6805e8c283f46f0dacb30b3\",\"Ref\":\"refs/tags/v1.7.5\"}}",
"status_code": 200
},
"github.com/... |
TestFixModules | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/proxy/TestFixModules/canonicalize.json | {
"github.com/golang/vulndb/@latest": {
"body": "{\"Version\":\"v0.0.0-20240626230022-4408037c1739\",\"Time\":\"2024-06-26T23:00:22Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/golang/vulndb\",\"Hash\":\"4408037c1739cc5a078d9d0d410162ee4f336c09\"}}",
"status_code": 200
},
"github.com/golang/vulndb... |
TestFixModules | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/proxy/TestFixModules/ok2.json | {
"golang.org/x/crypto/@latest": {
"body": "{\"Version\":\"v0.24.0\",\"Time\":\"2024-06-04T16:30:12Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://go.googlesource.com/crypto\",\"Ref\":\"refs/tags/v0.24.0\",\"Hash\":\"332fd656f4f013f66e643818fe8c759538456535\"}}",
"status_code": 200
}
} |
TestFixModules | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/proxy/TestFixModules/preserve_major.json | {
"github.com/mattermost/mattermost-server/@latest": {
"body": "{\"Version\":\"v9.9.1+incompatible\",\"Time\":\"2024-06-26T16:43:22Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/mattermost/mattermost-server\",\"Hash\":\"c758cecaf30c2dabaf31b7e38b6679c2a4552502\",\"Ref\":\"refs/tags/v9.9.1\"}}",
"stat... |
TestFixModules | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/proxy/TestFixModules/add_incompatible.json | {
"github.com/docker/docker/@latest": {
"body": "{\"Version\":\"v27.0.2+incompatible\",\"Time\":\"2024-06-26T18:30:43Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/docker/docker\",\"Hash\":\"e953d76450b64bd64b2374137b0580223a114fdb\",\"Ref\":\"refs/tags/v27.0.2\"}}",
"status_code": 200
},
"github.c... |
TestFixModules | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/proxy/TestFixModules/merge_modules.json | {
"github.com/hashicorp/go-getter/@latest": {
"body": "{\"Version\":\"v1.7.5\",\"Time\":\"2024-06-21T21:06:48Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/hashicorp/go-getter\",\"Hash\":\"5a63fd9c0d5b8da8a6805e8c283f46f0dacb30b3\",\"Ref\":\"refs/tags/v1.7.5\"}}",
"status_code": 200
},
"github.com/... |
TestFixModules | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/proxy/TestFixModules/ok_no_versions.json | {
"github.com/influxdata/influxdb/@latest": {
"body": "{\"Version\":\"v1.11.5\",\"Time\":\"2024-01-23T17:07:52Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/influxdata/influxdb\",\"Ref\":\"refs/tags/v1.11.5\",\"Hash\":\"8b9a9c63c5b792e0d589873dc87dbda86a84c983\"}}",
"status_code": 200
}
} |
TestFixModules | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/proxy/TestFixModules/import_path.json | {
"github.com/influxdata/influxdb/@latest": {
"body": "{\"Version\":\"v1.11.5\",\"Time\":\"2024-01-23T17:07:52Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/influxdata/influxdb\",\"Ref\":\"refs/tags/v1.11.5\",\"Hash\":\"8b9a9c63c5b792e0d589873dc87dbda86a84c983\"}}",
"status_code": 200
},
"github.co... |
TestFixModules | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/proxy/TestFixModules/split_major.json | {
"github.com/hashicorp/go-getter/@latest": {
"body": "{\"Version\":\"v1.7.5\",\"Time\":\"2024-06-21T21:06:48Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/hashicorp/go-getter\",\"Hash\":\"5a63fd9c0d5b8da8a6805e8c283f46f0dacb30b3\",\"Ref\":\"refs/tags/v1.7.5\"}}",
"status_code": 200
},
"github.com/... |
TestFixModules | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/proxy/TestFixModules/major_version.json | {
"github.com/nats-io/nats-server/@latest": {
"body": "{\"Version\":\"v1.4.1\",\"Time\":\"2019-02-07T23:30:30Z\"}",
"status_code": 200
},
"github.com/nats-io/nats-server/v2/@latest": {
"body": "{\"Version\":\"v2.10.16\",\"Time\":\"2024-05-21T18:43:13Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/... |
TestFixModules | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/proxy/TestFixModules/mattermost.json | {
"github.com/mattermost/mattermost-server/@latest": {
"body": "{\"Version\":\"v9.9.1+incompatible\",\"Time\":\"2024-06-26T16:43:22Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/mattermost/mattermost-server\",\"Hash\":\"c758cecaf30c2dabaf31b7e38b6679c2a4552502\",\"Ref\":\"refs/tags/v9.9.1\"}}",
"stat... |
TestFixModules | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/proxy/TestFixModules/sort_major.json | {
"github.com/evmos/evmos/@latest": {
"body": "{\"Version\":\"v1.1.3\",\"Time\":\"2022-07-13T15:43:34Z\"}",
"status_code": 200
},
"github.com/evmos/evmos/v10/@latest": {
"body": "{\"Version\":\"v10.0.1\",\"Time\":\"2023-01-03T20:26:16Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/evmos/evmos\",\"... |
ghsa | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/ghsa/ghsa_test.go | // Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package ghsa
import (
"context"
"flag"
"os"
"reflect"
"strings"
"testing"
"time"
)
var githubTokenFile = flag.String("ghtokenfile", "",
"path to file ... |
ghsa | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/ghsa/ghsa.go | // Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package ghsa supports GitHub security advisories.
package ghsa
import (
"context"
"fmt"
"time"
"github.com/shurcooL/githubv4"
"golang.org/x/oauth2"
)
... |
ghsa | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/ghsa/ghsa2report.go | // Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package ghsa
import (
"context"
"fmt"
"strings"
"golang.org/x/vulndb/internal/report"
)
var _ report.Source = &SecurityAdvisory{}
func (sa *SecurityAdvi... |
ghsa | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/ghsa/ghsa2report_test.go | // Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package ghsa
import (
"flag"
"testing"
"time"
"github.com/google/go-cmp/cmp"
"golang.org/x/vulndb/internal/proxy"
"golang.org/x/vulndb/internal/report"
... |
proxy | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/ghsa/testdata/proxy/TestGHSAToReport.json | {
"golang.org/x/tools/@latest": {
"body": "{\"Version\":\"v0.22.0\",\"Time\":\"2024-06-04T17:56:46Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://go.googlesource.com/tools\",\"Ref\":\"refs/tags/v0.22.0\",\"Hash\":\"bc6931db37c33e064504346d9259b3b6d20e13f6\"}}",
"status_code": 200
},
"golang.org/x/tools/@v/list... |
cve4 | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve4/report.go | // Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package cve4
import (
"golang.org/x/vulndb/internal/report"
"golang.org/x/vulndb/internal/stdlib"
)
var _ report.Source = &CVE{}
func (c *CVE) ToReport(mod... |
cve4 | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve4/cveschema_test.go | // Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package cve4
import (
"encoding/json"
"testing"
"github.com/google/go-cmp/cmp"
)
func TestDecodeCVE(t *testing.T) {
for _, test := range []struct {
nam... |
cve4 | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve4/cveschema.go | // Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// package cve4 contains the schema for a CVE, as derived from
// https://github.com/CVEProject/automation-working-group/tree/master/cve_json_schema.
package cv... |
cve4 | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve4/report_test.go | // Copyright 2023 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package cve4
import (
"context"
"flag"
"testing"
"golang.org/x/vulndb/internal/cvelistrepo"
)
var (
updateTxtarRepo = flag.Bool("update-repo", false, "u... |
proxy | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve4/testdata/proxy/TestCVEToReport.json | {
"github.com/!consensys/gnark/@latest": {
"body": "{\"Version\":\"v0.9.1\",\"Time\":\"2023-10-16T18:27:07Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/Consensys/gnark\",\"Ref\":\"refs/tags/v0.9.1\",\"Hash\":\"3421eaa7d544286abf3de8c46282b8d4da6d5da0\"}}",
"status_code": 200
},
"github.com/!consen... |
proxy | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve4/testdata/proxy/TestToReport.json | {
"github.com/!consensys/gnark/@latest": {
"body": "{\"Version\":\"v0.10.0\",\"Time\":\"2024-04-22T13:57:16Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/Consensys/gnark\",\"Ref\":\"refs/tags/v0.10.0\",\"Hash\":\"b2dfec74eae2578fdebd2c63be6da390f2aad564\"}}",
"status_code": 200
},
"github.com/go-re... |
cve | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve4/testdata/cve/cvelist.txtar | Copyright 2023 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Repo in the shape of "https://github.com/CVEProject/cvelist".
Updated with real data 2023-12-05T19:00:00-05:00.
Auto-generated; do not edit directly.
-- README.md --
ig... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve4/testdata/cve/TestToReport/CVE-2023-45141.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2023-45141.
-- CVE-2023-45141 --
id: GO-ID-PENDING
modules:
- module: github.com/gofiber/fiber
vulnerable_at: 1.14.6
summa... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve4/testdata/cve/TestToReport/CVE-2023-45283.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2023-45283.
-- CVE-2023-45283 --
id: GO-ID-PENDING
modules:
- module: std
packages:
- package: path/filepath
summa... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve4/testdata/cve/TestToReport/CVE-2023-45285.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2023-45285.
-- CVE-2023-45285 --
id: GO-ID-PENDING
modules:
- module: std
packages:
- package: cmd/go
summary: CVE... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve4/testdata/cve/TestToReport/CVE-2023-29407.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2023-29407.
-- CVE-2023-29407 --
id: GO-ID-PENDING
modules:
- module: golang.org/x/image
vulnerable_at: 0.18.0
summary: CV... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve4/testdata/cve/TestToReport/CVE-2021-3115.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2021-3115.
-- CVE-2021-3115 --
id: GO-ID-PENDING
modules:
- module: std
packages:
- package: cmd/go
summary: CVE-2... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve4/testdata/cve/TestToReport/CVE-2023-45286.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2023-45286.
-- CVE-2023-45286 --
id: GO-ID-PENDING
modules:
- module: github.com/go-resty/resty
vulnerable_at: 1.12.0
... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve4/testdata/cve/TestToReport/CVE-2021-27919.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2021-27919.
-- CVE-2021-27919 --
id: GO-ID-PENDING
modules:
- module: std
packages:
- package: archive/zip
summary... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve4/testdata/cve/TestToReport/CVE-2022-39213.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2022-39213.
-- CVE-2022-39213 --
id: GO-ID-PENDING
modules:
- module: github.com/pandatix/go-cvss
vulnerable_at: 0.6.2
sum... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve4/testdata/cve/TestToReport/CVE-2020-9283.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2020-9283.
-- CVE-2020-9283 --
id: GO-ID-PENDING
modules:
- module: golang.org/x/crypto
vulnerable_at: 0.24.0
summary: CVE... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve4/testdata/cve/TestToReport/CVE-2023-44378.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2023-44378.
-- CVE-2023-44378 --
id: GO-ID-PENDING
modules:
- module: github.com/Consensys/gnark
vulnerable_at: 0.10.0
sum... |
proxy | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/proxy/proxy_test.go | // Copyright 2023 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package proxy
import (
"errors"
"flag"
"net/http"
"testing"
"github.com/google/go-cmp/cmp"
)
var realProxy = flag.Bool("proxy", false, "if true, contact... |
proxy | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/proxy/test_framework.go | // Copyright 2023 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package proxy
import (
"encoding/json"
"net/http"
"net/http/httptest"
"os"
"path/filepath"
"sync"
"testing"
)
// NewTestClient creates a new client for... |
proxy | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/proxy/proxy.go | // Copyright 2023 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package proxy provides a client and utilities for accessing the Go module proxy.
// Queries about the Go standard library and toolchain are not supported.
pa... |
proxy | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/proxy/testdata/proxy/TestCanonicalModulePath.json | {
"github.com/!robots!and!pencils/go-saml/@v/v0.0.0-20230606195814-29020529affc.mod": {
"body": "module github.com/RobotsAndPencils/go-saml\n",
"status_code": 200
},
"github.com/golang/vulndb/@v/v0.0.0-20230522180520-0cbf4ffdb4e7.mod": {
"body": "module golang.org/x/vulndb\n\ngo 1.18\n\nrequire (\n\tgolang.org... |
proxy | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/proxy/testdata/proxy/TestVersions.json | {
"github.com/!robots!and!pencils/go-saml/@v/list": {
"status_code": 200
},
"golang.org/x/vuln/@v/list": {
"body": "v1.0.0\nv0.1.0\nv1.0.1\nv0.2.0\n",
"status_code": 200
},
"golang.org/x/vulndb/@v/list": {
"status_code": 200
}
} |
proxy | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/proxy/testdata/proxy/TestModuleExists.json | {
"example.com/not/a/module/@latest": {
"status_code": 404
},
"github.com/!robots!and!pencils/go-saml/@latest": {
"body": "{\"Version\":\"v0.0.0-20230606195814-29020529affc\",\"Time\":\"2023-06-06T19:58:14Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/RobotsAndPencils/go-saml\",\"Hash\":\"29020529a... |
proxy | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/proxy/testdata/proxy/TestFindModule.json | {
"example.co.io/@latest": {
"status_code": 404
},
"example.co.io/module/@latest": {
"status_code": 404
},
"example.co.io/module/package/@latest": {
"status_code": 404
},
"example.co.io/module/package/src/@latest": {
"status_code": 404
},
"example.co.io/module/package/src/versions/@latest": {
"status... |
proxy | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/proxy/testdata/proxy/TestModuleExistsAtTaggedVersion.json | {
"github.com/!masterminds/squirrel/@v/list": {
"body": "v1.3.0\nv1.5.1\nv1.5.0\nv1.5.2\nv1.5.4\nv1.4.0\nv1.2.0\nv1.5.3\nv1.1.0\n",
"status_code": 200
},
"github.com/golang/vuln/@v/list": {
"body": "v1.0.2\nv1.0.0\nv1.1.1\nv1.0.3\nv1.1.2\nv1.0.4\nv0.1.0\nv1.0.1\nv1.1.0\nv0.2.0\n",
"status_code": 200
},
"go... |
proxy | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/proxy/testdata/proxy/TestLatest.json | {
"github.com/!robots!and!pencils/go-saml/@latest": {
"body": "{\"Version\":\"v0.0.0-20230606195814-29020529affc\",\"Time\":\"2023-06-06T19:58:14Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/RobotsAndPencils/go-saml\",\"Hash\":\"29020529affcd0311cd1db1f517819ae8e12d6a5\"}}",
"status_code": 200
},
... |
proxy | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/proxy/testdata/proxy/TestCanonicalModuleVersion.json | {
"github.com/!robots!and!pencils/go-saml/@v/v0.0.0-20230606195814-29020529affc.info": {
"body": "{\"Version\":\"v0.0.0-20230606195814-29020529affc\",\"Time\":\"2023-06-06T19:58:14Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/RobotsAndPencils/go-saml\",\"Hash\":\"29020529affcd0311cd1db1f517819ae8e12d6... |
stdlib | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/stdlib/stdlib.go | // Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package stdlib contains functionality relevant to the Go Standard Library.
package stdlib
import (
"strings"
"golang.org/x/mod/module"
)
const (
// Mod... |
stdlib | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/stdlib/stdlib_test.go | // Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package stdlib
import "testing"
func TestContains(t *testing.T) {
for _, test := range []struct {
in string
want bool
}{
{"", false},
{"math/crypt... |
cve5 | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/cveschema5.go | // Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// package cve5 contains the schema for a CVE Record in CVE JSON 5.0
// format. The package implements a subset of the schema needed to
// publish reports for t... |
cve5 | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/fetch.go | // Copyright 2023 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package cve5
import (
"context"
"golang.org/x/vulndb/internal/report"
)
// Fetch returns the CVE record associated with the ID.
// It is intended one-off (... |
cve5 | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/report.go | // Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package cve5
import (
"errors"
"fmt"
"regexp"
"slices"
"strings"
"golang.org/x/vulndb/internal/derrors"
"golang.org/x/vulndb/internal/idstr"
"golang.o... |
cve5 | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/cveclient.go | // Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package cve5
import (
"bytes"
"encoding/json"
"fmt"
"io"
"net/http"
"net/url"
"strconv"
"strings"
"time"
)
const (
// ProdEndpoint is the production... |
cve5 | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/cveschema5_test.go | // Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package cve5
import (
"reflect"
"testing"
)
var basicExampleRecord = &CVERecord{
DataType: "CVE_RECORD",
DataVersion: "5.0",
Metadata: Metadata{
ID:... |
cve5 | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/cveclient_test.go | // Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package cve5
import (
"encoding/json"
"fmt"
"net/http"
"net/http/httptest"
"net/url"
"reflect"
"strconv"
"strings"
"testing"
"time"
)
const (
testA... |
cve5 | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/report_test.go | // Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package cve5
import (
"context"
"flag"
"reflect"
"testing"
"github.com/google/go-cmp/cmp"
"golang.org/x/vulndb/internal/cvelistrepo"
"golang.org/x/vuln... |
testdata | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/testdata/basic-example.json | {
"dataType": "CVE_RECORD",
"dataVersion": "5.0",
"cveMetadata": {
"cveId": "CVE-2022-0000",
"assignerOrgId": "b3476cb9-2e3d-41a6-98d0-0f47421a65b6",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "b3476cb9-2e3d-41a6-98d0-0f4... |
testdata | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/testdata/std-report.yaml | # Copyright 2022 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
id: std-report
modules:
- module: std
versions:
- fixed: 1.17.11
- introduced: 1.18.0
- fixed: 1.18.3
packages:
- package: crypto/... |
testdata | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/testdata/unknown-field.yaml | id: unknown-field
module: github.com/gin-gonic/gin
unknown: 1
|
testdata | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/testdata/no-versions.yaml | id: no-versions
modules:
- module: github.com/gin-gonic/gin
packages:
- package: github.com/gin-gonic/gin
symbols:
- defaultLogFormatter
description: |
The default Formatter for the Logger middleware (LoggerConfig.Formatter),
which is included in the Default engine, allows attacker... |
testdata | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/testdata/report.yaml | id: report
modules:
- module: github.com/gin-gonic/gin
versions:
- fixed: 1.6.0
packages:
- package: github.com/gin-gonic/gin
symbols:
- defaultLogFormatter
description: |
The default Formatter for the Logger middleware (LoggerConfig.Formatter),
which is inc... |
proxy | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/testdata/proxy/TestToReport.json | {
"github.com/!consensys/gnark/@latest": {
"body": "{\"Version\":\"v0.10.0\",\"Time\":\"2024-04-22T13:57:16Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/Consensys/gnark\",\"Ref\":\"refs/tags/v0.10.0\",\"Hash\":\"b2dfec74eae2578fdebd2c63be6da390f2aad564\"}}",
"status_code": 200
},
"github.com/!cons... |
cve | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/testdata/cve/cvelist.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Repo in the shape of "https://github.com/CVEProject/cvelistV5".
Updated with real data 2024-06-05T20:00:00-04:00.
Auto-generated; do not edit directly.
-- README.md --
... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/testdata/cve/TestToReport/CVE-2023-45141.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2023-45141.
-- CVE-2023-45141 --
id: GO-ID-PENDING
modules:
- module: github.com/gofiber/fiber
vulnerable_at: 1.14.6
-... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/testdata/cve/TestToReport/CVE-2023-45283.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2023-45283.
-- CVE-2023-45283 --
id: GO-ID-PENDING
modules:
- module: std
versions:
- fixed: 1.20.11
- int... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/testdata/cve/TestToReport/CVE-2023-45285.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2023-45285.
-- CVE-2023-45285 --
id: GO-ID-PENDING
modules:
- module: cmd
versions:
- fixed: 1.20.12
- int... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/testdata/cve/TestToReport/CVE-2023-29407.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2023-29407.
-- CVE-2023-29407 --
id: GO-ID-PENDING
modules:
- module: golang.org/x/image
versions:
- fixed: 0.10.0... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/testdata/cve/TestToReport/CVE-2024-3094.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2024-3094.
-- CVE-2024-3094 --
id: GO-ID-PENDING
modules:
- module: github.com/amlweems/xzbot
unsupported_versions:
... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/testdata/cve/TestToReport/CVE-2021-3115.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2021-3115.
-- CVE-2021-3115 --
id: GO-ID-PENDING
modules:
- module: cmd
packages:
- package: cmd/go
summary: CVE-2... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/testdata/cve/TestToReport/CVE-2023-45286.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2023-45286.
-- CVE-2023-45286 --
id: GO-ID-PENDING
modules:
- module: github.com/go-resty/resty
vulnerable_at: 1.12.0
... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/testdata/cve/TestToReport/CVE-2024-33522.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2024-33522.
-- CVE-2024-33522 --
id: GO-ID-PENDING
modules:
- module: github.com/projectcalico/calico
non_go_versions:
... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/testdata/cve/TestToReport/CVE-2024-2056.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2024-2056.
-- CVE-2024-2056 --
id: GO-ID-PENDING
modules:
- module: github.com/gvalkov/tailon
unsupported_versions:
... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/testdata/cve/TestToReport/CVE-2021-27919.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2021-27919.
-- CVE-2021-27919 --
id: GO-ID-PENDING
modules:
- module: std
packages:
- package: archive/zip
summary... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/testdata/cve/TestToReport/CVE-2022-39213.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2022-39213.
-- CVE-2022-39213 --
id: GO-ID-PENDING
modules:
- module: github.com/pandatix/go-cvss
versions:
- intr... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/testdata/cve/TestToReport/CVE-2020-9283.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2020-9283.
-- CVE-2020-9283 --
id: GO-ID-PENDING
modules:
- module: golang.org/x/crypto
vulnerable_at: 0.24.0
summary: CVE... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/cve5/testdata/cve/TestToReport/CVE-2023-44378.txtar | Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Expected output of TestToReport/CVE-2023-44378.
-- CVE-2023-44378 --
id: GO-ID-PENDING
modules:
- module: github.com/consensys/gnark
versions:
- fixed... |
derrors | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/derrors/derrors.go | // Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package derrors defines internal error values to categorize the different
// types error semantics supported by x/vulndb.
package derrors
import (
"fmt"
... |
symbols | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/symbols/populate_test.go | // Copyright 2024 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package symbols
import (
"context"
"fmt"
"testing"
"github.com/go-git/go-git/v5"
"github.com/google/go-cmp/cmp"
"golang.org/x/vulndb/internal/osv"
"gol... |
symbols | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/symbols/patched_functions.go | // Copyright 2023 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package symbols
import (
"bytes"
"errors"
"fmt"
"go/ast"
"go/parser"
"go/printer"
"go/token"
"io/fs"
"os"
"path"
"path/filepath"
"reflect"
"string... |
symbols | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/symbols/slicing.go | // Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package symbols
// This file is a subset of golang.org/x/vuln/internal/vulncheck/slicing.go.
import (
"golang.org/x/tools/go/callgraph"
"golang.org/x/tools/... |
symbols | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/symbols/populate.go | // Copyright 2024 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package symbols
import (
"context"
"errors"
"fmt"
"os"
"path/filepath"
"strings"
"github.com/go-git/go-git/v5"
"golang.org/x/exp/slices"
"golang.org/... |
symbols | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/symbols/exported_functions.go | // Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package symbols
import (
"bytes"
"errors"
"fmt"
"go/types"
"os"
"os/exec"
"sort"
"strings"
"golang.org/x/exp/slices"
"golang.org/x/tools/go/packages... |
symbols | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/symbols/entries.go | // Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package symbols
// This file is a subset of golang.org/x/vuln/internal/vulncheck/entries.go.
import (
"strings"
"golang.org/x/tools/go/ssa"
)
func entryPo... |
symbols | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/symbols/vuln_entries.go | // Copyright 2023 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package symbols
import (
"context"
"fmt"
"go/token"
"golang.org/x/tools/go/callgraph"
"golang.org/x/tools/go/packages"
"golang.org/x/tools/go/ssa"
"gol... |
symbols | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/symbols/utils.go | // Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package symbols
// This file is a subset of golang.org/x/vuln/internal/vulncheck/utils.go.
import (
"context"
"errors"
"fmt"
"go/build"
"go/token"
"go/t... |
symbols | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/symbols/exported_functions_test.go | // Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package symbols
import (
"path"
"testing"
"github.com/google/go-cmp/cmp"
"golang.org/x/tools/go/packages/packagestest"
"golang.org/x/vulndb/internal/repo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.