Skip to content

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 string, which (in some situations) allows attackers to bypass acc...

HighCVSS 7.5 EPSS 1.8%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

17 packages: 5 fixed, 11 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/libnet-netmask-perl(Ubuntu 16.04) = 1.9021-1; = 1.9022-1; All versions No fix listed No fix yet
ubuntu/libnet-netmask-perl(Ubuntu 18.04) = 1.9022-1; All versions No fix listed No fix yet
ubuntu/libnet-netmask-perl(Ubuntu 20.04) = 1.9104-1; All versions No fix listed No fix yet
ubuntu/libnetwork-ipv4addr-perl(Ubuntu 16.04) = 0.10.ds-2; All versions No fix listed No fix yet
ubuntu/libnetwork-ipv4addr-perl(Ubuntu 18.04) = 0.10.ds-2; All versions No fix listed No fix yet
ubuntu/libnetwork-ipv4addr-perl(Ubuntu 20.04) = 0.10.ds-3; All versions No fix listed No fix yet
ubuntu/libnetwork-ipv4addr-perl(Ubuntu 22.04) = 0.10.ds-3.1; All versions No fix listed No fix yet
ubuntu/libnetwork-ipv4addr-perl(Ubuntu 24.04) = 0.10.ds-4; All versions No fix listed No fix yet
ubuntu/libnetwork-ipv4addr-perl(Ubuntu 25.10) = 0.10.ds-4; All versions No fix listed No fix yet
ubuntu/libnetwork-ipv4addr-perl(Ubuntu 26.04) = 0.10.ds-4; All versions No fix listed No fix yet
ubuntu/libnetwork-ipv4addr-perl(Ubuntu 26.10) = 0.10.ds-4; All versions No fix listed No fix yet
alpine/perl-net-netmask(Alpine v3.24) < 2.0000-r0 2.0000-r0 Fixed
debian/libnet-netmask-perl(Debian 12) < 1.9104-2 1.9104-2 Fixed
debian/libnet-netmask-perl(Debian 13) < 1.9104-2 1.9104-2 Fixed
debian/libnet-netmask-perl(Debian 14) < 1.9104-2 1.9104-2 Fixed
netnetmask project netnetmask < 2.0000 2.0000 Fixed
fedoraproject fedora = 32; = 33; = 34 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/libnet-netmask-perl(Debian:12) < 1.9104-2 1.9104-2
debian/libnet-netmask-perl(Debian:13) < 1.9104-2 1.9104-2
debian/libnet-netmask-perl(Debian:14) < 1.9104-2 1.9104-2
ubuntu/libnetwork-ipv4addr-perl(Ubuntu:22.04) All versions No fix listed
netnetmask project netnetmask < 2.0000 2.0000
fedoraproject fedora = 32 No fix listed
fedoraproject fedora = 33 No fix listed
fedoraproject fedora = 34 No fix listed
alpine/perl-net-netmask(Alpine:v3.24) < 2.0000-r0 2.0000-r0
ubuntu/libnetwork-ipv4addr-perl(Ubuntu:24.04) All versions No fix listed
ubuntu/libnetwork-ipv4addr-perl(Ubuntu:26.04) All versions No fix listed
ubuntu/libnetwork-ipv4addr-perl(Ubuntu:26.10) All versions No fix listed
ubuntu/libnet-netmask-perl(Ubuntu:16.04) All versions No fix listed
ubuntu/libnet-netmask-perl(Ubuntu:16.04) = 1.9021-1 No fix listed
ubuntu/libnet-netmask-perl(Ubuntu:16.04) = 1.9022-1 No fix listed
ubuntu/libnetwork-ipv4addr-perl(Ubuntu:16.04) All versions No fix listed
ubuntu/libnetwork-ipv4addr-perl(Ubuntu:16.04) = 0.10.ds-2 No fix listed
ubuntu/libnet-netmask-perl(Ubuntu:18.04) All versions No fix listed
ubuntu/libnet-netmask-perl(Ubuntu:18.04) = 1.9022-1 No fix listed
ubuntu/libnetwork-ipv4addr-perl(Ubuntu:18.04) All versions No fix listed
ubuntu/libnetwork-ipv4addr-perl(Ubuntu:18.04) = 0.10.ds-2 No fix listed
ubuntu/libnet-netmask-perl(Ubuntu:20.04) All versions No fix listed
ubuntu/libnet-netmask-perl(Ubuntu:20.04) = 1.9104-1 No fix listed
ubuntu/libnetwork-ipv4addr-perl(Ubuntu:20.04) All versions No fix listed
ubuntu/libnetwork-ipv4addr-perl(Ubuntu:20.04) = 0.10.ds-3 No fix listed
Show 6 more
ProductAffected versionsFixed in
ubuntu/libnetwork-ipv4addr-perl(Ubuntu:22.04) = 0.10.ds-3.1 No fix listed
ubuntu/libnetwork-ipv4addr-perl(Ubuntu:24.04) = 0.10.ds-4 No fix listed
ubuntu/libnetwork-ipv4addr-perl(Ubuntu:25.10) All versions No fix listed
ubuntu/libnetwork-ipv4addr-perl(Ubuntu:25.10) = 0.10.ds-4 No fix listed
ubuntu/libnetwork-ipv4addr-perl(Ubuntu:26.10) = 0.10.ds-4 No fix listed
ubuntu/libnetwork-ipv4addr-perl(Ubuntu:26.04) = 0.10.ds-4 No fix listed

References