Every CVE Search/ Get API key

CVE-2021-47154

The Net::CIDR::Lite module before 0.22 for Perl does not properly consider extraneous zero...

6.3 MediumFix available

The Net::CIDR::Lite module before 0.22 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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

0.49%Up 0.4 points since Mar 18, 2024
90%50%10%1%

What each source reports

CVE List Score used 6.3

The Net::CIDR::Lite module before 0.22 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.

Record
CVE-2021-47154
CVSS 3.1
6.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Updated
2026-11-02
EUVDEUVD-2021-33802 6.3

The Net::CIDR::Lite module before 0.22 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.

Record
EUVD-2021-33802
CVSS 3.1
6.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Updated
2026-11-03
GitHub AdvisoriesGHSA-gpvh-42rv-p6wg 6.3

The Net::CIDR::Lite module before 0.22 for Perl does not properly consider extraneous zero...

The Net::CIDR::Lite module before 0.22 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.

Record
GHSA-gpvh-42rv-p6wg
CVSS 3.1
6.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Updated
2026-11-02
NVD 6.3

The Net::CIDR::Lite module before 0.22 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.

Record
CVE-2021-47154
CVSS 3.1
6.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSV 6.3

The Net::CIDR::Lite module before 0.22 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.

Record
CVE-2021-47154
CVSS 3.1
6.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVDEBIAN-CVE-2021-47154 6.3

The Net::CIDR::Lite module before 0.22 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.

Record
DEBIAN-CVE-2021-47154
CVSS 3.1
6.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Updated
2026-11-02
Show 7 moreShow less
OSVOESA-2024-1303 6.3

perl-Net-CIDR-Lite security update

Faster alternative to Net::CIDR when merging a large number of CIDR address ranges. Works for IPv4 and IPv6 addresses.

Security Fix(es):

The Net::CIDR::Lite module before 0.22 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.(CVE-2021-47154)

Record
OESA-2024-1303
CVSS 3.1
6.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVOESA-2024-1304 6.3

perl-Net-CIDR-Lite security update

Faster alternative to Net::CIDR when merging a large number of CIDR address ranges. Works for IPv4 and IPv6 addresses.

Security Fix(es):

The Net::CIDR::Lite module before 0.22 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.(CVE-2021-47154)

Record
OESA-2024-1304
CVSS 3.1
6.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVOESA-2024-1305 6.3

perl-Net-CIDR-Lite security update

Faster alternative to Net::CIDR when merging a large number of CIDR address ranges. Works for IPv4 and IPv6 addresses.

Security Fix(es):

The Net::CIDR::Lite module before 0.22 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.(CVE-2021-47154)

Record
OESA-2024-1305
CVSS 3.1
6.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2021-47154 6.3

The Net::CIDR::Lite module before 0.22 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.

Record
UBUNTU-CVE-2021-47154
CVSS 3.1
6.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVSUSE-SU-2024:1256-1 No score

Security update for perl-Net-CIDR-Lite

This update for perl-Net-CIDR-Lite fixes the following issues:

  • CVE-2021-47154: Fixed leading zeroes in IPv4 octets may allow attackers to bypass certain access controls (bsc#1221564).
Record
SUSE-SU-2024:1256-1
Updated
2026-11-02
OSVUSN-6712-1 No score

libnet-cidr-lite-perl vulnerability

It was discovered that Net::CIDR::Lite incorrectly handled extra zero characters at the beginning of IP address strings. A remote attacker could possibly use this issue to bypass access controls.

Record
USN-6712-1
Updated
2026-11-02
OSVUSN-8406-1 No score

libnet-cidr-lite-perl vulnerabilities

Dave Rolsky discovered that Net::CIDR::Lite did not properly handle extraneous zero characters at the beginning of an IP address string. A remote attacker could possibly use this issue to bypass access controls that are based on IP addresses. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2021-47154)

It was discovered that Net::CIDR::Lite did not properly validate the IPv6 group count when handling uncompressed IPv6 addresses. A remote attacker could possibly use this issue to bypass access controls. (CVE-2026-40198)

It was discovered that Net::CIDR::Lite mishandled IPv4 mapped IPv6 addresses. A remote attacker could possibly use this issue to bypass access controls that are based on IP addresses. (CVE-2026-40199)

Record
USN-8406-1
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
libnet-cidr-lite-perl
Debian:12
before 0.22-1
0.22-1
libnet-cidr-lite-perl
Debian:13
before 0.22-1
0.22-1
libnet-cidr-lite-perl
Debian:14
before 0.22-1
0.22-1
libnet-cidr-lite-perl
Debian:10
before 0.21-2+debu10u1, plus listed versions
0.21-2
0.21-2+debu10u1
perl-Net-CIDR-Lite
openEuler:20.03-LTS-SP1
before 0.21-24.oe1
0.21-24.oe1
perl-Net-CIDR-Lite
openEuler:20.03-LTS-SP4
before 0.21-24.oe2003sp4
0.21-24.oe2003sp4
perl-Net-CIDR-Lite
openEuler:22.03-LTS
before 0.21-24.oe2203
0.21-24.oe2203
perl-Net-CIDR-Lite
SUSE:Linux Enterprise Module for Development Tools 15 SP5
before 0.21-150100.6.3.1
0.21-150100.6.3.1
perl-Net-CIDR-Lite
openSUSE:Leap 15.5
before 0.21-150100.6.3.1
0.21-150100.6.3.1
libnet-cidr-lite-perl
Ubuntu:Pro:16.04:LTS
before 0.21-1ubuntu0.16.04.1~esm1, plus listed versions
0.21-1
0.21-1ubuntu0.16.04.1~esm1
Show 9 moreShow less
Affected packages
PackageAffectedFixed
libnet-cidr-lite-perl
Ubuntu:Pro:18.04:LTS
before 0.21-1ubuntu0.18.04.1~esm1, plus listed versions
0.21-1
0.21-1ubuntu0.18.04.1~esm1
libnet-cidr-lite-perl
Ubuntu:20.04:LTS
before 0.21-2ubuntu0.1, plus listed versions
0.21-2
0.21-2ubuntu0.1
libnet-cidr-lite-perl
Ubuntu:Pro:16.04:LTS
From an advisory covering 3 CVEs
before 0.21-1ubuntu0.16.04.1~esm1, plus listed versions
0.21-1
0.21-1ubuntu0.16.04.1~esm1
libnet-cidr-lite-perl
Ubuntu:Pro:18.04:LTS
From an advisory covering 3 CVEs
before 0.21-1ubuntu0.18.04.1~esm1, plus listed versions
0.21-1
0.21-1ubuntu0.18.04.1~esm1
libnet-cidr-lite-perl
Ubuntu:Pro:20.04:LTS
From an advisory covering 3 CVEs
before 0.21-2ubuntu0.1+esm1, plus listed versions
0.21-20.21-2ubuntu0.1
0.21-2ubuntu0.1+esm1
libnet-cidr-lite-perl
Ubuntu:22.04:LTS
From an advisory covering 3 CVEs
before 0.22-1ubuntu0.1, plus listed versions
0.22-1
0.22-1ubuntu0.1
libnet-cidr-lite-perl
Ubuntu:24.04:LTS
From an advisory covering 3 CVEs
before 0.22-2ubuntu0.24.04.1, plus listed versions
0.22-2
0.22-2ubuntu0.24.04.1
libnet-cidr-lite-perl
Ubuntu:25.10
From an advisory covering 3 CVEs
before 0.22-2ubuntu0.25.10.1, plus listed versions
0.22-2
0.22-2ubuntu0.25.10.1
libnet-cidr-lite-perl
Ubuntu:26.04:LTS
From an advisory covering 3 CVEs
before 0.22-2ubuntu0.26.04.1, plus listed versions
0.22-2
0.22-2ubuntu0.26.04.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-47154 is a medium vulnerability (CVSS 6.3) in libnet-cidr-lite-perl, published March 18, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.49%, the 42nd percentile. Fixed in libnet-cidr-lite-perl 0.22-1.

References

Show 14 moreShow less
MoveEnter Open