Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS05cnB3LTJoOTUtNjY2Y84AAvJs
Cloudflare GoFlow vulnerable to a Denial of Service in the sflow packet handling package
Impact
The sflow decode package prior to version 3.4.4 does not employ sufficient packet sanitisation which can lead to a denial of service attack. Attackers can craft malformed packets causing the process to consume huge amounts of memory resulting in a denial of service.
Specific Go Packages Affected
github.com/cloudflare/goflow/v3/decoders/sflow
Patches
Version 3.4.4 contains patches fixing this.
Workarounds
A possible workaround is to not have your goflow collector publicly reachable.
For more information
If you have any questions or comments about this advisory:
- Open an issue in goflow repo
- Email us netdev[@]cloudflare.com
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS05cnB3LTJoOTUtNjY2Y84AAvJs
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 2 years ago
Updated: about 1 year ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Percentage: 0.00089
EPSS Percentile: 0.39516
Identifiers: GHSA-9rpw-2h95-666c, CVE-2022-2529
References:
- https://github.com/cloudflare/goflow/security/advisories/GHSA-9rpw-2h95-666c
- https://nvd.nist.gov/vuln/detail/CVE-2022-2529
- https://github.com/cloudflare/goflow/commit/2b94619a6204443e3ca1769f4e459f9f57039c51
- https://github.com/cloudflare/goflow/commit/c829ccd2c0aafdc9b886b20bf6f28095607f4998
- https://github.com/cloudflare/goflow/releases/tag/v3.4.4
- https://github.com/advisories/GHSA-9rpw-2h95-666c
Blast Radius: 5.8
Affected Packages
go:github.com/cloudflare/goflow/v3
Dependent packages: 12Dependent repositories: 6
Downloads:
Affected Version Ranges: < 3.4.4
Fixed in: 3.4.4
All affected versions: 3.0.1, 3.0.2, 3.0.3, 3.1.0, 3.2.0, 3.3.0, 3.4.0, 3.4.1, 3.4.2, 3.4.3
All unaffected versions: 3.4.4, 3.4.5