CVE-2022-2529 Multiple DoS Attack Vectors in sflow packet handling
Attackers can cause denial of service in the goflow library by sending malformed sflow packets that trigger excessive memory consumption.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-2529?
CVE-2022-2529 is a high-severity denial of service vulnerability in Cloudflare goflow, published on 30 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
sflow decode package 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 large amounts of memory resulting in a denial of service.
Which versions are affected by CVE-2022-2529?
4 open source packages ship an affected version, including github.com/cloudflare/goflow/v3 and github.com/cloudflare/goflow. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/cloudflare/goflow/v3 Go | All versions | 3.4.4 |
github.com/cloudflare/goflow/v3 Go | All versions | 3.4.4 |
github.com/cloudflare/goflow/v3 Go | All versions | 3.4.4 |
github.com/cloudflare/goflow Go | All versions | None |
Products include Cloudflare Goflow.
How do I fix CVE-2022-2529?
Upgrade github.com/cloudflare/goflow/v3 to 3.4.4 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-2529 being exploited?
There is no known exploitation of CVE-2022-2529 in the wild and no public exploit code.
Sources
Also known as GHSA-9rpw-2h95-666c, GO-2022-1032.