Skip to content

Commit

Permalink
data/reports: add GO-2024-2821.yaml
Browse files Browse the repository at this point in the history
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 <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
  • Loading branch information
timothy-king committed May 10, 2024
1 parent a3ba6c6 commit 8e27223
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 0 deletions.
78 changes: 78 additions & 0 deletions data/osv/GO-2024-2821.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"schema_version": "1.3.1",
"id": "GO-2024-2821",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2024-34084",
"GHSA-9c5w-9q3f-3hv7"
],
"summary": "Denial of Service from untrusted requests in github.com/stacklok/minder",
"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.",
"affected": [
{
"package": {
"name": "github.com/stacklok/minder",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.0.48"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "github.com/stacklok/minder/internal/controlplane",
"symbols": [
"Server.HandleGitHubWebHook",
"Server.StartHTTPServer"
]
}
]
}
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/stacklok/minder/security/advisories/GHSA-9c5w-9q3f-3hv7"
},
{
"type": "FIX",
"url": "https://github.com/stacklok/minder/commit/3e5a527d2f1b535159206161d1d519602c75bd0d"
},
{
"type": "WEB",
"url": "https://github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks.go#L213-L218"
},
{
"type": "WEB",
"url": "https://github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks.go#L337-L342"
},
{
"type": "WEB",
"url": "https://github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks.go#L367-L377"
},
{
"type": "WEB",
"url": "https://github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks_test.go#L278-L283"
}
],
"credits": [
{
"name": "@AdamKorcz and @DavidKorczynski"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2024-2821"
}
}
32 changes: 32 additions & 0 deletions data/reports/GO-2024-2821.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
id: GO-2024-2821
modules:
- module: github.com/stacklok/minder
versions:
- fixed: 0.0.48
vulnerable_at: 0.0.47
packages:
- package: github.com/stacklok/minder/internal/controlplane
symbols:
- Server.HandleGitHubWebHook
- Server.StartHTTPServer
summary: Denial of Service from untrusted requests in github.com/stacklok/minder
description: |-
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.
cves:
- CVE-2024-34084
ghsas:
- GHSA-9c5w-9q3f-3hv7
credits:
- '@AdamKorcz and @DavidKorczynski'
references:
- advisory: https://github.com/stacklok/minder/security/advisories/GHSA-9c5w-9q3f-3hv7
- fix: https://github.com/stacklok/minder/commit/3e5a527d2f1b535159206161d1d519602c75bd0d
- web: https://github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks.go#L213-L218
- web: https://github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks.go#L337-L342
- web: https://github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks.go#L367-L377
- web: https://github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks_test.go#L278-L283
source:
id: GHSA-9c5w-9q3f-3hv7
created: 2024-05-08T14:06:25.679756-07:00

0 comments on commit 8e27223

Please sign in to comment.