Vulnerability · Published Mar 29, 2021 · Assigned by mitre
CVE-2021-29424
High 7.5
In plain English
A high-severity security flaw in the perl-net-netmask package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.8%top 21.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | perl-net-netmask | 2.0000-r0 | ALPINE-CVE-2021-29424 |
| Debian:12 | libnet-netmask-perl | 1.9104-2 | DEBIAN-CVE-2021-29424 |
| Debian:13 | libnet-netmask-perl | 1.9104-2 | DEBIAN-CVE-2021-29424 |
| Debian:14 | libnet-netmask-perl | 1.9104-2 | DEBIAN-CVE-2021-29424 |
| Ubuntu:22.04:LTS | libnetwork-ipv4addr-perl | no fix listed | UBUNTU-CVE-2021-29424 |
| Ubuntu:24.04:LTS | libnetwork-ipv4addr-perl | no fix listed | UBUNTU-CVE-2021-29424 |
| Ubuntu:25.10 | libnetwork-ipv4addr-perl | no fix listed | UBUNTU-CVE-2021-29424 |
| Ubuntu:26.04:LTS | libnetwork-ipv4addr-perl | no fix listed | UBUNTU-CVE-2021-29424 |
| Ubuntu:26.10 | libnetwork-ipv4addr-perl | no fix listed | UBUNTU-CVE-2021-29424 |
Affected products (as reported)
References
- https://blog.urth.org/2021/03/29/security-issues-in-perl-ip-address-distros/ x_refsource_MISC
- https://metacpan.org/changes/distribution/Net-Netmask#L11-22 x_refsource_MISC
- FEDORA-2021-3d96cfe6a3 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-be62be8c7c vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-c314017fcc vendor-advisory, x_refsource_FEDORA
- https://security.netapp.com/advisory/ntap-20210604-0007/ x_refsource_CONFIRM