|
|
Message-ID: <a18dd0e3-271d-483b-b7e6-768f72e0aff8@cpansec.org> Date: Mon, 30 Nov 2026 23:59:00 +0000 From: Robert Rothenberg <rrwo@...nsec.org> To: oss-security@...ts.openwall.com Subject: Net-PublicSuffixList for Perl (4 CVEs) CVE-2026-129977 Net::PublicSuffixList versions before 0.99_01 for Perl return a public suffix one label too short for hosts under a wildcard rule CVE-2026-129978 Net::PublicSuffixList versions before 0.99_01 for Perl miss public suffixes in hosts that contain uppercase letters CVE-2026-129979 Net::PublicSuffixList versions before 0.99_01 for Perl miss internationalized public suffixes in hosts given in punycode form CVE-2026-129980 Net::PublicSuffixList versions before 0.99_03 for Perl allow CPU and memory exhaustion via hosts with many labels in suffixes_in ======================================================================== CVE-2026-129977 CPAN Security Group ======================================================================== CVE ID: CVE-2026-129977 Distribution: Net-PublicSuffixList Versions: before 0.99_01 MetaCPAN: https://metacpan.org/dist/Net-PublicSuffixList VCS Repo: https://github.com/briandfoy/net-publicsuffixlist Net::PublicSuffixList versions before 0.99_01 for Perl return a public suffix one label too short for hosts under a wildcard rule Description ----------- 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. Problem types ------------- - CWE-1023 Incomplete Comparison with Missing Factors Solutions --------- Upgrade to Net-PublicSuffixList 1.001 or later. References ---------- https://github.com/briandfoy/net-publicsuffixlist/commit/7b92f6aa0de2fecccdb7c9161c3bdc6cbdc80349.patch https://metacpan.org/release/BRIANDFOY/Net-PublicSuffixList-1.001/changes ======================================================================== CVE-2026-129978 CPAN Security Group ======================================================================== CVE ID: CVE-2026-129978 Distribution: Net-PublicSuffixList Versions: before 0.99_01 MetaCPAN: https://metacpan.org/dist/Net-PublicSuffixList VCS Repo: https://github.com/briandfoy/net-publicsuffixlist Net::PublicSuffixList versions before 0.99_01 for Perl miss public suffixes in hosts that contain uppercase letters Description ----------- Net::PublicSuffixList versions before 0.99_01 for Perl miss public suffixes in hosts that contain uppercase letters. Net::PublicSuffixList looks up host name suffixes from the Mozilla Public Suffix List. suffix_exists is an exact hash lookup, and neither the host nor the stored rules are folded to lowercase. With the rules "uk" and "co.uk" loaded, "example.CO.UK" has no public suffix and the public suffix of "sub.example.CO.uk" is "uk". An attacker who controls the case of a host name, such as a cookie domain, can have a public suffix like "CO.UK" pass a check that rejects "co.uk". Problem types ------------- - CWE-178 Improper Handling of Case Sensitivity Solutions --------- Upgrade to Net-PublicSuffixList 1.001 or later. References ---------- https://github.com/briandfoy/net-publicsuffixlist/commit/b64b0034ce1459aae743a15d4edffe5eefd29cd8.patch https://metacpan.org/release/BRIANDFOY/Net-PublicSuffixList-1.001/changes ======================================================================== CVE-2026-129979 CPAN Security Group ======================================================================== CVE ID: CVE-2026-129979 Distribution: Net-PublicSuffixList Versions: before 0.99_01 MetaCPAN: https://metacpan.org/dist/Net-PublicSuffixList VCS Repo: https://github.com/briandfoy/net-publicsuffixlist Net::PublicSuffixList versions before 0.99_01 for Perl miss internationalized public suffixes in hosts given in punycode form Description ----------- Net::PublicSuffixList versions before 0.99_01 for Perl miss internationalized public suffixes in hosts given in punycode form. Net::PublicSuffixList looks up host name suffixes from the Mozilla Public Suffix List. The Public Suffix List gives internationalized rules in Unicode form, and the module does no IDNA conversion before its exact-match lookup. For the listed suffix that is "xn--55qx5d.cn" in punycode, suffix_exists is false for that spelling and split_host reports the suffix of "a.xn--55qx5d.cn" as "cn". An attacker can have an internationalized public suffix in punycode form, the form used in DNS and HTTP, pass a check that rejects public suffixes, for example as a cookie domain. Problem types ------------- - CWE-172 Improper Encoding or Decoding of Data Solutions --------- Upgrade to Net-PublicSuffixList 1.001 or later. References ---------- https://github.com/briandfoy/net-publicsuffixlist/commit/7b92f6aa0de2fecccdb7c9161c3bdc6cbdc80349.patch https://metacpan.org/release/BRIANDFOY/Net-PublicSuffixList-1.001/changes ======================================================================== CVE-2026-129980 CPAN Security Group ======================================================================== CVE ID: CVE-2026-129980 Distribution: Net-PublicSuffixList Versions: before 0.99_03 MetaCPAN: https://metacpan.org/dist/Net-PublicSuffixList VCS Repo: https://github.com/briandfoy/net-publicsuffixlist Net::PublicSuffixList versions before 0.99_03 for Perl allow CPU and memory exhaustion via hosts with many labels in suffixes_in Description ----------- Net::PublicSuffixList versions before 0.99_03 for Perl allow CPU and memory exhaustion via hosts with many labels in suffixes_in. Net::PublicSuffixList looks up host name suffixes from the Mozilla Public Suffix List. suffixes_in builds one candidate suffix per label of the host, each a join of that label and every label to its right, and holds them all before any lookup. The work and the memory grow with the square of the label count, and nothing limits the host length. longest_suffix_in and split_host call suffixes_in. Version 0.99_01 limited the candidates to the depth of the deepest loaded rule. Version 0.99_03 added an early return for an object with no rules loaded. An attacker who supplies a host name with many labels can exhaust CPU and memory. Problem types ------------- - CWE-407 Inefficient Algorithmic Complexity Solutions --------- Upgrade to Net-PublicSuffixList 1.001 or later. References ---------- https://github.com/briandfoy/net-publicsuffixlist/commit/4f79889956a93d6dabe26ec4ab2d4556f978af40.patch https://github.com/briandfoy/net-publicsuffixlist/commit/f00bbe3274ecdf1f5d2f5d55132287d936a64366.patch https://metacpan.org/release/BRIANDFOY/Net-PublicSuffixList-1.001/changes
Powered by blists - more mailing lists
Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.