Summary
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)
Fixed packages 7
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · 22.04 LTS 22.04:LTS | libnet-cidr-lite-perl | 0.22-1ubuntu0.1 |
| Ubuntu · 24.04 LTS 24.04:LTS | libnet-cidr-lite-perl | 0.22-2ubuntu0.24.04.1 |
| Ubuntu · 25.10 | libnet-cidr-lite-perl | 0.22-2ubuntu0.25.10.1 |
| Ubuntu · 26.04 LTS 26.04:LTS | libnet-cidr-lite-perl | 0.22-2ubuntu0.26.04.1 |
| Ubuntu · Pro 16.04 LTS Pro:16.04:LTS | libnet-cidr-lite-perl | 0.21-1ubuntu0.16.04.1~esm1 |
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | libnet-cidr-lite-perl | 0.21-1ubuntu0.18.04.1~esm1 |
| Ubuntu · Pro 20.04 LTS Pro:20.04:LTS | libnet-cidr-lite-perl | 0.21-2ubuntu0.1+esm1 |
Vulnerabilities 3
-
High 7.5
Net::CIDR::Lite versions before 0.23 for Perl does not validate IPv6 group count, which may allow IP ACL bypass
Net::CIDR::Lite versions before 0.23 for Perl does not validate IPv6 group count, which may allow IP ACL bypass. _pack_ipv6() does not check that uncompressed IPv6 addresses (without ::) have exactly 8 hex groups. Inputs like "abcd", "1:2:3", or "1:2:3:4:5:6:…
-
Medium 6.5
Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may allow IP ACL bypass
Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may allow IP ACL bypass. _pack_ipv6() includes the sentinel byte from _pack_ipv4() when building the packed representation of IPv4 mapped addresses like ::ffff:192.168.…
-
Medium 6.3
The Net::CIDR::Lite module before 0.22 for Perl does not properly consider extraneous zero characters at the beginning …