CVE-2021-29662 json
The Data::Validate::IP module through 0.29 for Perl does not properly consider extraneous zero characters at the beginning of an IP address…
published 2021-03-31 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-16136
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
The Data::Validate::IP module through 0.29 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.
Patch / fix
- libdata-validate-ip-perl Debian 14, Debian 13, Debian 12 0.30-1
debian advisories DEBIAN-CVE-2021-29662
Exploit prediction
2.22% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- blog.urth.org https://blog.urth.org/2021/03/29/security-issues-in-perl-ip-address-distros/ referenced PoC, tagged "exploit" by a source, unverified
- sick.codes https://sick.codes/sick-2021-018/ referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-018.md referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Classification
- Weakness
-
- CWE-704 Incorrect Type Conversion or Cast
References
-
github.com
/houseabsolute/Data-Validate-IP/commit/3bba13c819d616514a75e089badd75002fd4f14e
patch, third-party-advisory
-
blog.urth.org
/2021/03/29/security-issues-in-perl-ip-address-distros/
exploit, third-party-advisory
-
sick.codes
/sick-2021-018/
exploit, third-party-advisory
-
github.com
/sickcodes/security/blob/master/advisories/SICK-2021-018.md
exploit, third-party-advisory
-
github.com
/houseabsolute/Data-Validate-IP
product, third-party-advisory
-
security.netapp.com
/advisory/ntap-20210604-0002/
third-party-advisory
Sources
- CVE List CVE-2021-29662
- NVD CVE-2021-29662
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.