HTTP::Message::Signature versions before 0.1.1 for Perl download public keys from a client-named...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANHTTP-Message-Signature |
< 0.1.1→ 0.1.1 |
0.1.1 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package github.com
- web github.com
- web github.com
- web metacpan.org
- web cpan.org
- web nvd.nist.gov
- web github.com