Skip to content

Commit 8e27223

Browse files
committed
data/reports: add GO-2024-2821.yaml
Aliases: CVE-2024-34084, GHSA-9c5w-9q3f-3hv7 Fixes #2821 Fixes #2823 Change-Id: Ic5e98e547b9fd17639416e03b164b11f6cbc1944 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/584256 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Tatiana Bradley <[email protected]>
1 parent a3ba6c6 commit 8e27223

File tree

2 files changed

+110
-0
lines changed

2 files changed

+110
-0
lines changed

data/osv/GO-2024-2821.json

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"schema_version": "1.3.1",
3+
"id": "GO-2024-2821",
4+
"modified": "0001-01-01T00:00:00Z",
5+
"published": "0001-01-01T00:00:00Z",
6+
"aliases": [
7+
"CVE-2024-34084",
8+
"GHSA-9c5w-9q3f-3hv7"
9+
],
10+
"summary": "Denial of Service from untrusted requests in github.com/stacklok/minder",
11+
"details": "HandleGithubWebhook is susceptible to a denial of service attack from an untrusted HTTP request. An untrusted request can cause the server to allocate large amounts of memory resulting in a denial of service.",
12+
"affected": [
13+
{
14+
"package": {
15+
"name": "github.com/stacklok/minder",
16+
"ecosystem": "Go"
17+
},
18+
"ranges": [
19+
{
20+
"type": "SEMVER",
21+
"events": [
22+
{
23+
"introduced": "0"
24+
},
25+
{
26+
"fixed": "0.0.48"
27+
}
28+
]
29+
}
30+
],
31+
"ecosystem_specific": {
32+
"imports": [
33+
{
34+
"path": "github.com/stacklok/minder/internal/controlplane",
35+
"symbols": [
36+
"Server.HandleGitHubWebHook",
37+
"Server.StartHTTPServer"
38+
]
39+
}
40+
]
41+
}
42+
}
43+
],
44+
"references": [
45+
{
46+
"type": "ADVISORY",
47+
"url": "https://github.com/stacklok/minder/security/advisories/GHSA-9c5w-9q3f-3hv7"
48+
},
49+
{
50+
"type": "FIX",
51+
"url": "https://github.com/stacklok/minder/commit/3e5a527d2f1b535159206161d1d519602c75bd0d"
52+
},
53+
{
54+
"type": "WEB",
55+
"url": "https://github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks.go#L213-L218"
56+
},
57+
{
58+
"type": "WEB",
59+
"url": "https://github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks.go#L337-L342"
60+
},
61+
{
62+
"type": "WEB",
63+
"url": "https://github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks.go#L367-L377"
64+
},
65+
{
66+
"type": "WEB",
67+
"url": "https://github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks_test.go#L278-L283"
68+
}
69+
],
70+
"credits": [
71+
{
72+
"name": "@AdamKorcz and @DavidKorczynski"
73+
}
74+
],
75+
"database_specific": {
76+
"url": "https://pkg.go.dev/vuln/GO-2024-2821"
77+
}
78+
}

data/reports/GO-2024-2821.yaml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
id: GO-2024-2821
2+
modules:
3+
- module: github.com/stacklok/minder
4+
versions:
5+
- fixed: 0.0.48
6+
vulnerable_at: 0.0.47
7+
packages:
8+
- package: github.com/stacklok/minder/internal/controlplane
9+
symbols:
10+
- Server.HandleGitHubWebHook
11+
- Server.StartHTTPServer
12+
summary: Denial of Service from untrusted requests in github.com/stacklok/minder
13+
description: |-
14+
HandleGithubWebhook is susceptible to a denial of service attack from an
15+
untrusted HTTP request. An untrusted request can cause the server to allocate
16+
large amounts of memory resulting in a denial of service.
17+
cves:
18+
- CVE-2024-34084
19+
ghsas:
20+
- GHSA-9c5w-9q3f-3hv7
21+
credits:
22+
- '@AdamKorcz and @DavidKorczynski'
23+
references:
24+
- advisory: https://github.com/stacklok/minder/security/advisories/GHSA-9c5w-9q3f-3hv7
25+
- fix: https://github.com/stacklok/minder/commit/3e5a527d2f1b535159206161d1d519602c75bd0d
26+
- web: https://github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks.go#L213-L218
27+
- web: https://github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks.go#L337-L342
28+
- web: https://github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks.go#L367-L377
29+
- web: https://github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks_test.go#L278-L283
30+
source:
31+
id: GHSA-9c5w-9q3f-3hv7
32+
created: 2024-05-08T14:06:25.679756-07:00

0 commit comments

Comments
 (0)