Advisory

GO-2022-0233

Also known as: CVE-2021-23409, GHSA-xcf7-q56x-78gh

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.

Severity

Not rated by the source.

Dates

Published
2022-07-01 20:18 UTC
Modified
2026-03-13 22:10 UTC

Affected packages and fixes

github.com/pires/go-proxyproto

Go · All systems

Affected

  • introduced 0, fixed 0.6.1 (semver)

Fixed versions

0.6.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences