GitHub Advisoryadvisory · Go

GHSA-9rpw-2h95-666c Cloudflare GoFlow vulnerable to a Denial of Service in the sflow packet handling package

HIGH Published 2022-10-01 Modified 2023-10-02 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

Weakness · CWE (2)

  • CWE-20 Improper Input Validation weakness
  • CWE-400 Uncontrolled Resource Consumption weakness

References