Ce mail provient de l'extérieur, restons vigilants

=====================================================================

                            CERT-Renater

                Note d'Information No. 2026/VULN597
_____________________________________________________________________

DATE                : 05/06/2026

HARDWARE PLATFORM(S): /

OPERATING SYSTEM(S): Systems running Net::CIDR::Set versions prior to
                                             0.21.

=====================================================================
https://lists.security.metacpan.org/cve-announce/msg/40702749/
https://lists.security.metacpan.org/cve-announce/msg/40702781/
https://lists.security.metacpan.org/cve-announce/msg/40702816/
_____________________________________________________________________

CVE-2026-49940: Net::CIDR::Set versions through 0.20 for Perl accept
non-ASCII IP addresses and netmasks Robert Rothenberg
04 Jun 2026 16:09 UTC

========================================================================
CVE-2026-49940                                       CPAN Security Group
========================================================================

         CVE ID:  CVE-2026-49940
   Distribution:  Net-CIDR-Set
       Versions:  through 0.20

       MetaCPAN:  https://metacpan.org/dist/Net-CIDR-Set
       VCS Repo:  https://github.com/robrwo/perl-Net-CIDR-Set

Net::CIDR::Set versions through 0.20 for Perl accept non-ASCII IP
addresses and netmasks

Description
-----------
Net::CIDR::Set versions through 0.20 for Perl accept non-ASCII IP
addresses and netmasks.

Unicode digits such as the Arabic-Indic One (U+0661) were accepted but
not properly parsed as numbers.  This could allow network masks to
accept larger networks.

Problem types
-------------
- CWE-1289 Improper Validation of Unsafe Equivalence in Input

Solutions
---------
Upgrade to version 0.21.

References
----------
https://metacpan.org/release/RRWO/Net-CIDR-Set-0.21/changes
https://nvd.nist.gov/vuln/detail/CVE-2025-40911

Timeline
--------
- 2026-05-13: Issue reported to CPANSec
- 2026-06-02: Net::CIDR::Set version 0.21 released with fix

_____________________________________________________________________

CVE-2026-49941: Net::CIDR::Set versions through 0.20 for Perl did not
validate IP addresses Robert Rothenberg 04 Jun 2026 16:10 UTC

========================================================================
CVE-2026-49941                                       CPAN Security Group
========================================================================

         CVE ID:  CVE-2026-49941
   Distribution:  Net-CIDR-Set
       Versions:  through 0.20

       MetaCPAN:  https://metacpan.org/dist/Net-CIDR-Set
       VCS Repo:  https://github.com/robrwo/perl-Net-CIDR-Set

Net::CIDR::Set versions through 0.20 for Perl did not validate IP
addresses

Description
-----------
Net::CIDR::Set versions through 0.20 for Perl did not validate IP
addresses.

The add method called the _encode method to parse addresses. If the
addresses did not look like netmasks or network ranges, then they were
assumed to single IP addresses and passed back to itself as a 32-bit or
128-bit netmask.

If the argument was not a well-formed IP address, then this would lead
to indefinite recursion.

An attacker could use this to cause a denial of service.

Problem types
-------------
- CWE-1287 Improper Validation of Specified Type of Input
- CWE-674 Uncontrolled Recursion

Solutions
---------
Upgrade to version 0.21 of later.

References
----------
https://metacpan.org/release/RRWO/Net-CIDR-Set-0.21/changes

Timeline
--------
- 2026-05-13: Issue reported to CPANSec
- 2026-06-02: Net::CIDR::Set version 0.21 released with fix

_____________________________________________________________________

 CVE-2026-49942: Net::CIDR::Set versions through 0.20 for Perl did
not validate network masks Robert Rothenberg 04 Jun 2026 16:11 UTC

========================================================================
CVE-2026-49942                                       CPAN Security Group
========================================================================

         CVE ID:  CVE-2026-49942
   Distribution:  Net-CIDR-Set
       Versions:  through 0.20

       MetaCPAN:  https://metacpan.org/dist/Net-CIDR-Set
       VCS Repo:  https://github.com/robrwo/perl-Net-CIDR-Set

Net::CIDR::Set versions through 0.20 for Perl did not validate network
masks

Description
-----------
Net::CIDR::Set versions through 0.20 for Perl did not validate network
masks.

The mask portion of a network mask could contain Unicode digits such as
the Arabic-Indic One (U+0661), or non-digits, which were ignored.
This could allow network masks to accept larger networks.

Leading zeros were also accepted, but treated as decimal instead of
octal.    This could lead to confusion about what networks are
acceptable.

Problem types
-------------
- CWE-1289 Improper Validation of Unsafe Equivalence in Input

Solutions
---------
Upgrade to version 0.21.

References
----------
https://metacpan.org/release/RRWO/Net-CIDR-Set-0.21/changes
https://nvd.nist.gov/vuln/detail/CVE-2025-40911
https://nvd.nist.gov/vuln/detail/CVE-2026-45191

Timeline
--------
- 2026-05-13: Issue reported to CPANSec
- 2026-06-02: Net::CIDR::Set version 0.21 released with fix



=========================================================
+ CERT-RENATER        |    tel : 01-53-94-20-44         +
+ 23/25 Rue Daviel    |    fax : 01-53-94-20-41         +
+ 75013 Paris         |   email:cert@support.renater.fr +
=========================================================




