Skip to content

Commit

Permalink
data/reports: add GO-2022-0998.yaml
Browse files Browse the repository at this point in the history
Aliases: CVE-2022-36056, GHSA-8gw7-4j42-w388

Fixes #998

Change-Id: I8bdd3fa98dff3aa64c4e2ad4d010605b1932465a
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/540975
LUCI-TryBot-Result: Go LUCI <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
Reviewed-by: Tatiana Bradley <[email protected]>
Run-TryBot: Zvonimir Pavlinovic <[email protected]>
  • Loading branch information
zpavlinovic committed Nov 9, 2023
1 parent 4b9c218 commit c2e9c01
Show file tree
Hide file tree
Showing 3 changed files with 120 additions and 8 deletions.
8 changes: 0 additions & 8 deletions data/excluded/GO-2022-0998.yaml

This file was deleted.

81 changes: 81 additions & 0 deletions data/osv/GO-2022-0998.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"schema_version": "1.3.1",
"id": "GO-2022-0998",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2022-36056",
"GHSA-8gw7-4j42-w388"
],
"summary": "Improper blob verification in github.com/sigstore/cosign",
"details": "Improper blob verification in github.com/sigstore/cosign",
"affected": [
{
"package": {
"name": "github.com/sigstore/cosign",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.12.0"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "github.com/sigstore/cosign/cmd/cosign/cli/verify",
"symbols": [
"VerifyAttestationCommand.Exec",
"VerifyBlobCmd",
"VerifyCommand.Exec",
"signatures",
"verifyRekorBundle",
"verifyRekorEntry",
"verifySigByUUID"
]
},
{
"path": "github.com/sigstore/cosign/pkg/cosign",
"symbols": [
"TLogUpload",
"TLogUploadInTotoAttestation",
"VerifyBundle",
"VerifyImageAttestations",
"VerifyImageSignature",
"VerifyImageSignatures",
"VerifyLocalImageAttestations",
"VerifyLocalImageSignatures",
"VerifySET",
"VerifyTLogEntry"
]
}
]
}
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/sigstore/cosign/security/advisories/GHSA-8gw7-4j42-w388"
},
{
"type": "FIX",
"url": "https://github.com/sigstore/cosign/commit/80b79ed8b4d28ccbce3d279fd273606b5cddcc25"
},
{
"type": "WEB",
"url": "https://github.com/sigstore/cosign/releases/tag/v1.12.0"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0998"
}
}
39 changes: 39 additions & 0 deletions data/reports/GO-2022-0998.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
id: GO-2022-0998
modules:
- module: github.com/sigstore/cosign
versions:
- fixed: 1.12.0
vulnerable_at: 1.11.1
packages:
- package: github.com/sigstore/cosign/cmd/cosign/cli/verify
symbols:
- VerifyBlobCmd
- verifySigByUUID
- signatures
- verifyRekorEntry
- verifyRekorBundle
derived_symbols:
- VerifyAttestationCommand.Exec
- VerifyCommand.Exec
- package: github.com/sigstore/cosign/pkg/cosign
symbols:
- VerifySET
derived_symbols:
- TLogUpload
- TLogUploadInTotoAttestation
- VerifyBundle
- VerifyImageAttestations
- VerifyImageSignature
- VerifyImageSignatures
- VerifyLocalImageAttestations
- VerifyLocalImageSignatures
- VerifyTLogEntry
summary: Improper blob verification in github.com/sigstore/cosign
cves:
- CVE-2022-36056
ghsas:
- GHSA-8gw7-4j42-w388
references:
- advisory: https://github.com/sigstore/cosign/security/advisories/GHSA-8gw7-4j42-w388
- fix: https://github.com/sigstore/cosign/commit/80b79ed8b4d28ccbce3d279fd273606b5cddcc25
- web: https://github.com/sigstore/cosign/releases/tag/v1.12.0

0 comments on commit c2e9c01

Please sign in to comment.