Vulnerability · Published Mar 18, 2024 · Assigned by mitre
CVE-2021-47154
Medium 6.3
In plain English
A medium-severity security flaw in the libnet-cidr-lite-perl package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.5%top 57.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libnet-cidr-lite-perl | 0.22-1 | DEBIAN-CVE-2021-47154 |
| Debian:13 | libnet-cidr-lite-perl | 0.22-1 | DEBIAN-CVE-2021-47154 |
| Debian:14 | libnet-cidr-lite-perl | 0.22-1 | DEBIAN-CVE-2021-47154 |
| Ubuntu:22.04:LTS | libnet-cidr-lite-perl | 0.22-1ubuntu0.1 | USN-8406-1 |
| Ubuntu:24.04:LTS | libnet-cidr-lite-perl | 0.22-2ubuntu0.24.04.1 | USN-8406-1 |
| Ubuntu:25.10 | libnet-cidr-lite-perl | 0.22-2ubuntu0.25.10.1 | USN-8406-1 |
| Ubuntu:26.04:LTS | libnet-cidr-lite-perl | 0.22-2ubuntu0.26.04.1 | USN-8406-1 |
Affected products (as reported)
References
- https://blog.urth.org/2021/03/29/security-issues-in-perl-ip-address-distros/
- https://metacpan.org/pod/Net::CIDR::Lite
- https://github.com/stigtsp/Net-CIDR-Lite/commit/23b6ff0590dc279521863a502e890ef19a5a76fc
- https://metacpan.org/dist/Net-CIDR-Lite/changes
- [debian-lts-announce] 20240323 [SECURITY] [DLA 3770-1] libnet-cidr-lite-perl security update mailing-list