Time of Check Time of Use (TOCTOU)
Affecting private_address_check gem, versions <0.5.0
private_address_check checks if a IP or hostname would cause a request to a private network (RFC 1918).
Affected versions of this package are vulnerable to Time of Check Time of Use (TOCTOU) attacks. The address that was used by the socket was not sufficiently checked.
private_address_check to version 0.5.0 or higher.