Skip to content

Commit 5cd46f7

Browse files
tatianabTatiana Bradley
authored and
Tatiana Bradley
committed
data/reports: add GO-2022-1045.yaml for CVE-2022-39237
Fixes #1045 Change-Id: I34f0537be66067e8b28d74a581ae1553ac341e85 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/443639 Reviewed-by: Damien Neil <[email protected]> Reviewed-by: Tatiana Bradley <[email protected]>
1 parent e4bd1e5 commit 5cd46f7

File tree

2 files changed

+87
-0
lines changed

2 files changed

+87
-0
lines changed

data/osv/GO-2022-1045.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"id": "GO-2022-1045",
3+
"published": "0001-01-01T00:00:00Z",
4+
"modified": "0001-01-01T00:00:00Z",
5+
"aliases": [
6+
"CVE-2022-39237",
7+
"GHSA-m5m3-46gj-wch8"
8+
],
9+
"details": "The Singularity Image Format (SIF) reference implementation does not verify\nthat the hash algorithm(s) used are cryptographically secure when verifying\ndigital signatures.",
10+
"affected": [
11+
{
12+
"package": {
13+
"name": "github.com/sylabs/sif/v2",
14+
"ecosystem": "Go"
15+
},
16+
"ranges": [
17+
{
18+
"type": "SEMVER",
19+
"events": [
20+
{
21+
"introduced": "0"
22+
},
23+
{
24+
"fixed": "2.8.1"
25+
}
26+
]
27+
}
28+
],
29+
"database_specific": {
30+
"url": "https://pkg.go.dev/vuln/GO-2022-1045"
31+
},
32+
"ecosystem_specific": {
33+
"imports": [
34+
{
35+
"path": "github.com/sylabs/sif/v2/pkg/integrity",
36+
"symbols": [
37+
"Signer.Sign",
38+
"Verifier.Verify",
39+
"digest.MarshalJSON",
40+
"digest.UnmarshalJSON",
41+
"newDigest",
42+
"signAndEncodeJSON",
43+
"verifyAndDecode"
44+
]
45+
}
46+
]
47+
}
48+
}
49+
],
50+
"references": [
51+
{
52+
"type": "ADVISORY",
53+
"url": "https://github.com/sylabs/sif/security/advisories/GHSA-m5m3-46gj-wch8"
54+
},
55+
{
56+
"type": "FIX",
57+
"url": "https://github.com/sylabs/sif/commit/07fb86029a12e3210f6131e065570124605daeaa"
58+
}
59+
]
60+
}

data/reports/GO-2022-1045.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
modules:
2+
- module: github.com/sylabs/sif/v2
3+
versions:
4+
- fixed: 2.8.1
5+
vulnerable_at: 2.8.0
6+
packages:
7+
- package: github.com/sylabs/sif/v2/pkg/integrity
8+
symbols:
9+
- signAndEncodeJSON
10+
- verifyAndDecode
11+
- newDigest
12+
- digest.MarshalJSON
13+
derived_symbols:
14+
- Signer.Sign
15+
- Verifier.Verify
16+
- digest.UnmarshalJSON
17+
description: |-
18+
The Singularity Image Format (SIF) reference implementation does not verify
19+
that the hash algorithm(s) used are cryptographically secure when verifying
20+
digital signatures.
21+
cves:
22+
- CVE-2022-39237
23+
ghsas:
24+
- GHSA-m5m3-46gj-wch8
25+
references:
26+
- advisory: https://github.com/sylabs/sif/security/advisories/GHSA-m5m3-46gj-wch8
27+
- fix: https://github.com/sylabs/sif/commit/07fb86029a12e3210f6131e065570124605daeaa

0 commit comments

Comments
 (0)