Advisory

GO-2022-0525

Also known as: BIT-golang-2022-1705, CVE-2022-1705

Summary

Improper sanitization of Transfer-Encoding headers in net/http

Details

The HTTP/1 client accepted some invalid Transfer-Encoding headers as indicating a "chunked" encoding. This could potentially allow for request smuggling, but only if combined with an intermediate server that also improperly failed to reject the header as invalid.

Severity

Not rated by the source.

Dates

Published
2022-07-25 17:34 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 0, fixed 1.17.12, introduced 1.18.0-0, fixed 1.18.4 (semver)

Fixed versions

1.17.12, 1.18.4

Fix

The export has no generic command for this ecosystem.

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