Three flaws in Perl HTTP::Message::Signature before 0.1.1
The issues cover uncapped key reads, uncapped downloads from a client-named host, and decompression of a signatures directory.
Unbounded decompression in Perl HTTP::Message::Signature before 0.1.1
HTTP::Message::Signature for Perl (0.1.0 before 0.1.1) fetches a signatures directory from the host named in a request's Signature-Agent header and decompresses it with no limit on the decoded size. A remote client can point the verifier at a server that returns a small compressed body which expands until memory is exhausted. Verifiers running those versions are affected.
What to do: Upgrade HTTP::Message::Signature to 0.1.1.
| Product | Affected | Fixed in |
|---|---|---|
| HTTP::Message::Signature | 0.1.0 before 0.1.1 | 0.1.1 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
HTTP::Message::Signature versions from 0.1.0 before 0.1.1 for Perl decompress a downloaded signatures directory without a size limit. The directory is fetched from the host named in the request's Signature-Agent header and decoded according to the response's Content-Encoding, with no limit on the decoded size. A remote client can name a server that returns a small compressed response which expands to exhaust the verifier's memory.
The issues cover uncapped key reads, uncapped downloads from a client-named host, and decompression of a signatures directory.
Today 2.5K readers · 5K views · 287 reads · all time 290K views