ip-address@10.2.2

A library for parsing IPv4 and IPv6 IP addresses in node and the browser.

  • latest version

    10.4.0

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    6 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the ip-address package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Server-side Request Forgery (SSRF)

    ip-address is an A library for parsing IPv4 and IPv6 IP addresses in node and the browser.

    Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) through improper handling of IPv4 addresses with leading zeros in the Address4. An attacker can bypass network trust-boundary checks by submitting specially crafted IP addresses that are interpreted differently by the library and the underlying network resolver, potentially allowing unauthorized access to internal resources.

    How to fix Server-side Request Forgery (SSRF)?

    Upgrade ip-address to version 10.3.1 or higher.

    <10.3.1