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 key fetch in HTTP::Message::Signature before 0.1.1
HTTP::Message::Signature before 0.1.1 downloads public keys from the host named in a request's Signature-Agent header and reads the full response into memory because the default user agent sets no size limit. A remote client can send a signed request that names its own server, which returns an arbitrarily large body and exhausts the verifier's memory. Perl applications that use the module to verify requests are affected.
What to do: Upgrade HTTP::Message::Signature to 0.1.1.
| Product | Affected | Fixed in |
|---|---|---|
| HTTP-Message-Signature HTTP::Message::Signature | 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 before 0.1.1 for Perl download public keys from a client-named host without a response size limit. To verify a request, the module fetches the signatures directory from the host named in the Signature-Agent header. The default user agent sets no maximum response size, so the whole response is read into memory. A remote client can send a signed request naming its own server, which then returns an arbitrarily large response and exhausts 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