CVE-2021-47154

NameCVE-2021-47154
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3770-1, ELA-1062-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libnet-cidr-lite-perl (PTS)jessie0.21-1vulnerable
stretch (lts), stretch0.21-1+deb9u1fixed
buster (security), buster, buster (lts)0.21-2+debu10u1fixed
bullseye0.22-1fixed
sid, trixie, bookworm0.22-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libnet-cidr-lite-perlsourcejessie(unfixed)end-of-life
libnet-cidr-lite-perlsourcestretch0.21-1+deb9u1ELA-1062-1
libnet-cidr-lite-perlsourcebuster0.21-2+debu10u1DLA-3770-1
libnet-cidr-lite-perlsource(unstable)0.22-1

Notes

https://blog.urth.org/2021/03/29/security-issues-in-perl-ip-address-distros/#net-cidr-litehttpsmetacpanorgreleasenet-cidr-lite
https://github.com/stigtsp/Net-CIDR-Lite/commit/23b6ff0590dc279521863a502e890ef19a5a76fc (0.22)

Search for package or bug name: Reporting problems