Security Advisories (1)
CVE-2021-29662 (2021-03-31)

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.

Changes for version 0.28 - 2021-03-29

  • Added docs about the security implications of using functions like is_private_ip4() without _also_ calling is_ipv4() first. This was inspired by a recent issue with the Node netmask package. See https://sick.codes/universal-netmask-npm-package-used-by-270000-projects-vulnerable-to-octal-input-data-server-side-request-forgery-remote-file-inclusion-local-file-inclusion-and-more-cve-2021-28918/ for a write up.

Documentation

Modules

IPv4 and IPv6 validation methods