-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information
1 parent
a3ba6c6
commit 8e27223
Showing
2 changed files
with
110 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |