cve.bz

CVE-2021-29424 Incorrect Type Conversion or Cast

7.5 highExploit referenceEPSS 1.8%

High (7.5). EPSS 1.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
1.8% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-704 Incorrect Type Conversion or Cast
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-29424 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-29424?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-29424?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-29424 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
net\:\before 2.0000
fedoraproject:fedora32
fedoraproject:fedora33
fedoraproject:fedora34

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libnet-netmask-perl1.9104-2DEBIAN-CVE-2021-29424
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTSlibnet-netmask-perl, libnetwork-ipv4addr-perlno fix listedUBUNTU-CVE-2021-29424
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 morelibnetwork-ipv4addr-perlno fix listedUBUNTU-CVE-2021-29424
SUSEPackage Hub 15 SP4perl-Net-Netmask1.9022-bp154.2.3.1openSUSE-SU-2023:0215-1
SUSEPackage Hub 15 SP5perl-Net-Netmask1.9022-bp155.3.3.1openSUSE-SU-2023:0217-1
openSUSELeap 15.4perl-Net-Netmask1.9022-bp154.2.3.1openSUSE-SU-2023:0215-1
openSUSELeap 15.5perl-Net-Netmask1.9022-bp155.3.3.1openSUSE-SU-2023:0217-1
Alpinev3.24perl-net-netmask2.0000-r0ALPINE-CVE-2021-29424

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

References

Check your stackJSON