GHSA-9rpw-2h95-666c

Suggest an improvement
Source
https://github.com/advisories/GHSA-9rpw-2h95-666c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-9rpw-2h95-666c/GHSA-9rpw-2h95-666c.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-9rpw-2h95-666c
Aliases
Related
Published
2022-10-01T15:52:23Z
Modified
2024-08-21T16:28:55.766877Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Cloudflare GoFlow vulnerable to a Denial of Service in the sflow packet handling package
Details

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

Database specific
{
    "nvd_published_at": "2022-09-30T11:15:00Z",
    "cwe_ids": [
        "CWE-20",
        "CWE-400"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-10-01T15:52:23Z"
}
References

Affected packages

Go / github.com/cloudflare/goflow/v3

Package

Name
github.com/cloudflare/goflow/v3
View open source insights on deps.dev
Purl
pkg:golang/github.com/cloudflare/goflow/v3

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.4