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.
History

Wed, 28 May 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 27 May 2025 21:30:00 +0000

Type Values Removed Values Added
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.
Title Net::CIDR::Set versions 0.10 through 0.13 for Perl does not properly consider leading zero characters in IP CIDR address strings, which could allow attackers to bypass access control that is based on IP addresses
Weaknesses CWE-1287
References

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published: 2025-05-27T21:17:42.238Z

Updated: 2025-05-28T13:56:12.480Z

Reserved: 2025-04-16T09:05:34.361Z

Link: CVE-2025-40911

cve-icon Vulnrichment

Updated: 2025-05-28T13:56:08.010Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-05-27T22:15:22.337

Modified: 2025-05-28T15:01:30.720

Link: CVE-2025-40911

cve-icon Redhat

No data.