CVE-2021-29424
publishedperl-Net-Netmask: incorrectly parses an IP address with leading zeros in IP octets
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | edge | perl-net-netmask | Fixed | 2.0000-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-15.4 | perl-Net-Netmasknoarch | Advisory build | 1.9022-bp154.2.3.1 | OPENSUSE-SU-2023:0215-1 |
| Alpine Linux | v3.24 | perl-net-netmask | Fixed | 2.0000-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-15.5 | perl-Net-Netmasknoarch | Advisory build | 1.9022-bp155.3.3.1 | OPENSUSE-SU-2023:0217-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
6- https://blog.urth.org/2021/03/29/security-issues-in-perl-ip-address-distros/
- FEDORA-2021-3d96cfe6a3 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBJVLXJSWN6DKSF5ADUEERI6M23R3GGP/
- FEDORA-2021-be62be8c7c https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JF4CYIZELC3NISB3RMV4OCI4GYBC557B/
- FEDORA-2021-c314017fcc https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y7JIPQAY5OZ5D3DA7INQILU7SGHTHMWB/
- https://metacpan.org/changes/distribution/Net-Netmask#L11-22
- https://security.netapp.com/advisory/ntap-20210604-0007/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 74cadb593d1f6c20e24f662b35c049fde4e38d2845966fb7aecf5c439753816d
- Ingested
- 23 Sep 2026, 07:53:47 UTC
- Source record
- Official CVE record