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-directory load DoS in Perl HTTP::Message::Signature before 0.0.4
HTTP::Message::Signature before 0.0.4 does not cap how many public keys it reads from a signatures directory. A remote client sets the request Signature-Agent header to a host whose directory holds a very large number of keys. The verifier fetches, decodes, and keeps every key, then searches them for the signature keyid, consuming memory and CPU on each verified request. Deployments that verify signatures with this Perl module are affected.
What to do: Upgrade HTTP::Message::Signature to 0.0.4. No workaround is stated.
| Product | Affected | Fixed in |
|---|---|---|
| HTTP::Message::Signature | before 0.0.4 | 0.0.4 |
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.0.4 for Perl do not limit the number of public keys read from a signatures directory. The directory is fetched from the host named in the request's Signature-Agent header. Every key in it is decoded and kept, and verify searches all of them for the signature's keyid. A remote client can point the verifier at a directory holding a very large number of keys, using memory and CPU for each request it verifies.
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