CVE-2021-47154
published medium CVSS 3.1 · 6.3Perl-Net-CIDR-Lite: improper handling of extraneous zero characters in an IP address string
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | buster | libnet-cidr-lite-perl | Advisory build | 0.21-2+debu10u1 | DLA-3770-1 |
| SUSE / openSUSE | SLE-15-SP5 | perl-Net-CIDR-Litenoarch | Advisory build | 0.21-150100.6.3.1 | SUSE-SU-2024:1256-1 |
| Ubuntu | bionic | libnet-cidr-lite-perl | Advisory build | 0.21-1ubuntu0.18.04.1~esm1 | USN-8406-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | perl-Net-CIDR-Litenoarch | Advisory build | 0.21-150100.6.3.1 | SUSE-SU-2024:1256-1 |
| Ubuntu | focal | libnet-cidr-lite-perl | Advisory build | 0.21-2ubuntu0.1 | USN-6712-1 |
| Ubuntu | xenial | libnet-cidr-lite-perl | Advisory build | 0.21-1ubuntu0.16.04.1~esm1 | USN-8406-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-noinfo Not enough information
References
5- https://blog.urth.org/2021/03/29/security-issues-in-perl-ip-address-distros/
- https://github.com/stigtsp/Net-CIDR-Lite/commit/23b6ff0590dc279521863a502e890ef19a5a76fc
- [debian-lts-announce] 20240323 [SECURITY] [DLA 3770-1] libnet-cidr-lite-perl security update https://lists.debian.org/debian-lts-announce/2024/03/msg00023.html
- https://metacpan.org/dist/Net-CIDR-Lite/changes
- https://metacpan.org/pod/Net::CIDR::Lite
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a551564a9122c4983109cebb1cfdf1106213526f921847cba5aaf76fe052ec8f
- Ingested
- 23 Sep 2026, 07:57:04 UTC
- Source record
- Official CVE record