GO-2024-2659: Data exfiltration from internal networks in github.com/docker/docker
package
Version:
v26.0.0-rc1+incompatible
Opens a new window with list of versions in this module.
Published: Feb 28, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
HostID masks out the 'bits' most-significant bits of addr. The result is
undefined if bits > addr.BitLen().
SubnetRange returns the amount to add to network.Addr() in order to yield the
first and last addresses in subnet, respectively.
ToIPNet converts p into a *net.IPNet, returning nil if p is not valid.
ToPrefix converts n into a netip.Prefix. If n is not a valid IPv4 or IPV6
address, ToPrefix returns netip.Prefix{}, false.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.