GO-2022-0233

Source
https://pkg.go.dev/vuln/GO-2022-0233
Import Source
https://vuln.go.dev/ID/GO-2022-0233.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2022-0233
Aliases
Published
2022-07-01T20:18:04Z
Modified
2025-01-08T07:57:15.473535Z
Summary
Resource exhaustion in github.com/pires/go-proxyproto
Details

The PROXY protocol server does not impose a timeout on reading the header from new connections, allowing a malicious client to cause resource exhaustion and a denial of service by opening many connections and sending no data on them.

v0.6.0 of the proxyproto package adds support for a user-defined header timeout. v0.6.1 adds a default timeout of 200ms and v0.6.2 increases the default timeout to 10s.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2022-0233"
}
References

Affected packages

Go / github.com/pires/go-proxyproto

Package

Name
github.com/pires/go-proxyproto
View open source insights on deps.dev
Purl
pkg:golang/github.com/pires/go-proxyproto

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "symbols": [
                "Listener.Accept"
            ],
            "path": "github.com/pires/go-proxyproto"
        }
    ]
}