CVEfocus › CVE database › CVE-2021-47154

CVE-2021-47154

CVSS 6.3 MediumEPSS 0.5% (higher than 35% of CVEs)Published 2024-03-18Updated 2024-11-15Assigner: mitre

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.

What to do

Fixed builds are available from Debian, Ubuntu: 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
2Fix pending
5Not 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.04libnet-cidr-lite-perlNot affected
vulnerable_code_not_present
Ubuntu 25.10libnet-cidr-lite-perlNot affected
vulnerable_code_not_present
Ubuntu 24.04libnet-cidr-lite-perlNot affected
vulnerable_code_not_present
Ubuntu 22.04libnet-cidr-lite-perlNot affected
vulnerable_code_not_present
Ubuntu 20.04libnet-cidr-lite-perlFixed0.21-2ubuntu0.1UBUNTU-CVE-2021-47154
Ubuntu 18.04libnet-cidr-lite-perlFix pending0.21-1ubuntu0.18.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-47154
Ubuntu 16.04libnet-cidr-lite-perlFix pending0.21-1ubuntu0.16.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-47154
Debian 14libnet-cidr-lite-perlFixed0.22-1DEBIAN-CVE-2021-47154
Debian 13libnet-cidr-lite-perlFixed0.22-1DEBIAN-CVE-2021-47154
Debian 12libnet-cidr-lite-perlFixed0.22-1DEBIAN-CVE-2021-47154
Red Hat Enterprise Linux 9perl-Net-CIDR-LiteNot affected

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.