Net::PublicSuffixList versions before 0.99_01 for Perl return a public suffix one label too short for hosts under a wildcard rule
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANNet-PublicSuffixList |
< 0.99_01→ 0.99_01 |
0.99_01 |
Original description The description as published by the source.
Net::PublicSuffixList versions before 0.99_01 for Perl return a public suffix one label too short for hosts under a wildcard rule.
Net::PublicSuffixList looks up host name suffixes from the Mozilla Public Suffix List.
parse_list and add_suffix strip the leading "." from a wildcard rule and store only the rest, so the rule ".ck" makes "ck" the public suffix. In the Public Suffix List format the wildcard matches exactly one label, which makes "test.ck" the public suffix of "b.test.ck".
An application that derives registrable domains from the result treats hosts of different registrants, such as "b.test.ck" and "c.test.ck", as one domain, for example when scoping cookies.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory metacpan.org
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web cpan.org