# CVE-2021-29424: The Net::Netmask module before 2.0000 for Perl does not properly consider extraneous zero characters at the beginning of an IP address stri…

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- 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): 1.80%, higher than 79% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-03-29T23:02:41.000Z
- Modified: 2026-06-17T03:47:36.420Z
- Weaknesses: CWE-704
- Assigned by: mitre

## Description

The Net::Netmask module before 2.0000 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
- net::netmask_project net::netmask: before 2.0000
- fedoraproject fedora: 32; 33; 34

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://blog.urth.org/2021/03/29/security-issues-in-perl-ip-address-distros/> (exploit, third-party-advisory)
- <https://metacpan.org/changes/distribution/Net-Netmask#L11-22> (release-notes, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBJVLXJSWN6DKSF5ADUEERI6M23R3GGP/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JF4CYIZELC3NISB3RMV4OCI4GYBC557B/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y7JIPQAY5OZ5D3DA7INQILU7SGHTHMWB/> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20210604-0007/> (third-party-advisory)

## Sources

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

---

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