CVEfocus › CVE database › CVE-2021-29424

CVE-2021-29424

CVSS 7.5 HighEPSS 1.8% (higher than 79% of CVEs)Published 2021-03-29Updated 2024-08-03Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
4Fix pending
9Will not fix
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libnetwork-ipv4addr-perlFix pendingUBUNTU-CVE-2021-29424
Ubuntu 26.04libnet-netmask-perlNot affected
vulnerable_code_not_present
Ubuntu 26.04libnetwork-ipv4addr-perlFix pendingUBUNTU-CVE-2021-29424
Ubuntu 25.10libnet-netmask-perlNot affected
vulnerable_code_not_present
Ubuntu 25.10libnetwork-ipv4addr-perlWill not fix
blog.urth.org reports many perl modules affected; I don't know if this CVE number applies to something else entirely, all of them, or just one of these…
UBUNTU-CVE-2021-29424
Ubuntu 24.04libnet-netmask-perlNot affected
vulnerable_code_not_present
Ubuntu 24.04libnetwork-ipv4addr-perlFix pendingUBUNTU-CVE-2021-29424
Ubuntu 22.04libnet-netmask-perlNot affected
vulnerable_code_not_present
Ubuntu 22.04libnetwork-ipv4addr-perlFix pendingUBUNTU-CVE-2021-29424
Ubuntu 20.04libnet-netmask-perlWill not fix
blog.urth.org reports many perl modules affected; I don't know if this CVE number applies to something else entirely, all of them, or just one of these…
UBUNTU-CVE-2021-29424
Ubuntu 20.04libnetwork-ipv4addr-perlWill not fix
blog.urth.org reports many perl modules affected; I don't know if this CVE number applies to something else entirely, all of them, or just one of these…
UBUNTU-CVE-2021-29424
Ubuntu 18.04libnet-netmask-perlWill not fix
blog.urth.org reports many perl modules affected; I don't know if this CVE number applies to something else entirely, all of them, or just one of these…
UBUNTU-CVE-2021-29424
Ubuntu 18.04libnetwork-ipv4addr-perlWill not fix
blog.urth.org reports many perl modules affected; I don't know if this CVE number applies to something else entirely, all of them, or just one of these…
UBUNTU-CVE-2021-29424
Ubuntu 16.04libnet-netmask-perlWill not fix
blog.urth.org reports many perl modules affected; I don't know if this CVE number applies to something else entirely, all of them, or just one of these…
UBUNTU-CVE-2021-29424
Ubuntu 16.04libnetwork-ipv4addr-perlWill not fix
blog.urth.org reports many perl modules affected; I don't know if this CVE number applies to something else entirely, all of them, or just one of these…
UBUNTU-CVE-2021-29424
Ubuntu 14.04libnet-netmask-perlWill not fix
blog.urth.org reports many perl modules affected; I don't know if this CVE number applies to something else entirely, all of them, or just one of these…
Ubuntu 14.04libnetwork-ipv4addr-perlWill not fix
blog.urth.org reports many perl modules affected; I don't know if this CVE number applies to something else entirely, all of them, or just one of these…
Debian 14libnet-netmask-perlFixed1.9104-2DEBIAN-CVE-2021-29424
Debian 13libnet-netmask-perlFixed1.9104-2DEBIAN-CVE-2021-29424
Debian 12libnet-netmask-perlFixed1.9104-2DEBIAN-CVE-2021-29424
Alpine Linux 3.24perl-net-netmaskFixed2.0000-r0ALPINE-CVE-2021-29424

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.