CVE-2024-34079: octo-sts vulnerable to unauthenticated attacker causing unbounded CPU and memory usage
3.7
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.17498%
CWE
Published
5/13/2024
Updated
7/5/2024
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/octo-sts/app | go | < 0.1.0 | 0.1.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from uncontrolled resource consumption during OIDC discovery. The patch added response size limiting via a custom RoundTripper in provider.go's Get function. Prior to the fix, the call to oidc.NewProvider used a default HTTP client without size restrictions, making this function the entry point for processing unbounded responses. The vulnerability manifests when this function handles large responses from attacker-controlled issuer URLs during provider setup.