GitHub Advisoryadvisory · Go
GHSA-9rpw-2h95-666c Cloudflare GoFlow vulnerable to a Denial of Service in the sflow packet handling package
HIGH
Official page ↗
- Aliases
- CVE-2022-2529
- Ecosystem
- Go
- Packages
- github.com/cloudflare/goflow/v3
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-20, CWE-400
- Reviewed
- 2022-10-01
Affected packages
• Go github.com/cloudflare/goflow/v3: < 3.4.4 → fixed in 3.4.4
Description
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 ](mailto:[email protected])
Related
Alias · CVE (1)
- CVE-2022-2529 sflow decode package does not employ sufficient packet sanitisation which can lead to a denial of service attack. vulnerability
References
- https://github.com/cloudflare/goflow/security/advisories/GHSA-9rpw-2h95-666c web
- https://nvd.nist.gov/vuln/detail/CVE-2022-2529 advisory
- https://github.com/cloudflare/goflow/commit/2b94619a6204443e3ca1769f4e459f9f57039c51 web
- https://github.com/cloudflare/goflow/commit/c829ccd2c0aafdc9b886b20bf6f28095607f4998 web
- https://github.com/cloudflare/goflow package
- https://github.com/cloudflare/goflow/releases/tag/v3.4.4 web