# CVE-2021-47154: The Net::CIDR::Lite module before 0.22 for Perl does not properly consider extraneous zero characters at the beginning of an IP address str…

- Severity: Medium 6.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2024-03-18T00:00:00.000Z
- Modified: 2026-06-17T04:16:40.813Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

The Net::CIDR::Lite module before 0.22 for Perl does not properly consider extraneous zero characters at the beginning of an IP address string, which (in some situations) allows attackers to bypass access control that is based on IP addresses.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://blog.urth.org/2021/03/29/security-issues-in-perl-ip-address-distros/>
- <https://metacpan.org/pod/Net::CIDR::Lite>
- <https://github.com/stigtsp/Net-CIDR-Lite/commit/23b6ff0590dc279521863a502e890ef19a5a76fc>
- <https://metacpan.org/dist/Net-CIDR-Lite/changes>
- <https://lists.debian.org/debian-lts-announce/2024/03/msg00023.html> (mailing-list)

## Sources

- CVE List: [CVE-2021-47154](https://www.cve.org/CVERecord?id=CVE-2021-47154), CVE Terms of Use, modified 2024-11-15
- NVD: [CVE-2021-47154](https://nvd.nist.gov/vuln/detail/CVE-2021-47154), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47154 · Whole record: https://cve.day/CVE-2021-47154.json · Rebuilt by cve.day 2026-11-25T22:58:08.679Z
