CPANSA-Net-CIDR-Set-2025-40911: Net-CIDR-Set vulnerability

Publisher giterlizzi Document category csaf_security_advisory
Initial release date 2025-05-27T00:00:00 Engine CSAF Perl Toolkit 0.25
Current release date 2025-05-27T00:00:00 Build Date
Current version 1 Status final
CVSS v3.1 Base Score 6.5 Severity
Original language Language en
Also referred to

Vulnerability Description

Net::CIDR::Set versions 0.10 through 0.13 for Perl does not properly handle leading zero characters in IP CIDR address strings, which could allow attackers to bypass access control that is based on IP addresses. Leading zeros are used to indicate octal numbers, which can confuse users who are intentionally using octal notation, as well as users who believe they are using decimal notation. Net::CIDR::Set used code from Net::CIDR::Lite, which had a similar vulnerability CVE-2021-47154.

Vulnerabilities

CVE-2025-40911

Vulnerability Description

Net::CIDR::Set versions 0.10 through 0.13 for Perl does not properly handle leading zero characters in IP CIDR address strings, which could allow attackers to bypass access control that is based on IP addresses.

Leading zeros are used to indicate octal numbers, which can confuse users who are intentionally using octal notation, as well as users who believe they are using decimal notation.

Net::CIDR::Set used code from Net::CIDR::Lite, which had a similar vulnerability CVE-2021-47154.

Weakness CWE-1287 : Improper Validation of Specified Type of Input

Product status

Known affected
Product Score
Net-CIDR-Set greater than or equal 0.10 and less than or equal 0.13
CVSS Version CVSS Vector CVSS Base Score CVSS Base Severity
3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N 6.5 Medium
Fixed

giterlizzi

Namespace: https://github.com/giterlizzi/

gdt@cpan.org

References

Revision history

Version Date of the revision Summary of the revision
1 Tue May 27 00:00:00 2025 First release

Sharing rules

TLP:WHITE
For the TLP version see: https://www.first.org/tlp/