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.
Metrics
Affected Vendors & Products
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-16304 | 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. |
Solution
Update to version 0.14, or apply the patch provided by the module author.
Workaround
No workaround given by the vendor.
Wed, 28 May 2025 14:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
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 |
|
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2025-05-28T13:56:12.480Z
Reserved: 2025-04-16T09:05:34.361Z
Link: CVE-2025-40911
Updated: 2025-05-28T13:56:08.010Z
Status : Awaiting Analysis
Published: 2025-05-27T22:15:22.337
Modified: 2025-05-28T15:01:30.720
Link: CVE-2025-40911
No data.
OpenCVE Enrichment
No data.
EUVD