CVE-2021-29424 Security feature bypass in n/a

High 7.5 Published Updated

Attackers can bypass IP-based access controls by using IP addresses with leading zeros, affecting applications using the Perl Net::Netmask module.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-29424?

CVE-2021-29424 is a high-severity vulnerability in Fedoraproject Fedora, published on 29 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-704

Which versions are affected by CVE-2021-29424?

It affects 2 products.

Linux distribution packages (4)
perl-Net-Netmask SUSE:Package Hub 15 SP4All versions1.9022-bp154.2.3.1
perl-Net-Netmask SUSE:Package Hub 15 SP5All versions1.9022-bp155.3.3.1
perl-Net-Netmask openSUSE:Leap 15.4All versions1.9022-bp154.2.3.1
perl-Net-Netmask openSUSE:Leap 15.5All versions1.9022-bp155.3.3.1

Products include Fedoraproject Fedora, Net\ \.

How do I fix CVE-2021-29424?

Upgrade to a fixed version.

Is CVE-2021-29424 being exploited?

There is no known exploitation of CVE-2021-29424 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-29424, GHSA-p75p-x3j9-7vj3, MGASA-2021-0375, UBUNTU-CVE-2021-29424, openSUSE-SU-2023:0215-1, openSUSE-SU-2023:0217-1.

Is CVE-2021-29424 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free