Skip to content

Commit

Permalink
data/reports: add GO-2022-1180.yaml
Browse files Browse the repository at this point in the history
Aliases: CVE-2022-47633, GHSA-m3cq-xcx9-3gvm

Fixes #1180

Change-Id: Ie791f119c1e01319c4178674006703ca3174909d
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/459316
Run-TryBot: Tim King <taking@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
  • Loading branch information
timothy-king committed Dec 27, 2022
1 parent db27d7d commit 38d73a0
Show file tree
Hide file tree
Showing 2 changed files with 93 additions and 0 deletions.
68 changes: 68 additions & 0 deletions data/osv/GO-2022-1180.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"id": "GO-2022-1180",
"published": "0001-01-01T00:00:00Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2022-47633",
"GHSA-m3cq-xcx9-3gvm"
],
"details": "`verifyImages` rules can be bypassed by a malicious proxy/registry.",
"affected": [
{
"package": {
"name": "github.com/kyverno/kyverno",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.8.3"
},
{
"fixed": "1.8.5"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-1180"
},
"ecosystem_specific": {
"imports": [
{
"path": "github.com/kyverno/kyverno/pkg/engine",
"symbols": [
"imageVerifier.verifyAttestation",
"imageVerifier.verifyAttestations",
"imageVerifier.verifyAttestorSet",
"imageVerifier.verifyAttestors",
"imageVerifier.verifyImage"
]
}
]
}
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/kyverno/kyverno/security/advisories/GHSA-m3cq-xcx9-3gvm"
},
{
"type": "FIX",
"url": "https://github.com/kyverno/kyverno/pull/5713"
},
{
"type": "WEB",
"url": "https://kyverno.io/policies/best-practices/restrict_image_registries/restrict_image_registries"
}
],
"credits": [
{
"name": "@slashben"
}
],
"schema_version": "1.3.1"
}
25 changes: 25 additions & 0 deletions data/reports/GO-2022-1180.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
modules:
- module: github.com/kyverno/kyverno
versions:
- introduced: 1.8.3
fixed: 1.8.5
vulnerable_at: 1.8.4
packages:
- package: github.com/kyverno/kyverno/pkg/engine
symbols:
- imageVerifier.verifyAttestation
- imageVerifier.verifyAttestations
- imageVerifier.verifyAttestors
- imageVerifier.verifyAttestorSet
- imageVerifier.verifyImage
description: |
`verifyImages` rules can be bypassed by a malicious proxy/registry.
cves:
- CVE-2022-47633
ghsas:
- GHSA-m3cq-xcx9-3gvm
credit: '@slashben'
references:
- advisory: https://github.com/kyverno/kyverno/security/advisories/GHSA-m3cq-xcx9-3gvm
- fix: https://github.com/kyverno/kyverno/pull/5713
- web: https://kyverno.io/policies/best-practices/restrict_image_registries/restrict_image_registries

0 comments on commit 38d73a0

Please sign in to comment.