Affected by GO-2024-2568
and 8 other vulnerabilities
GO-2024-2568 : Unencrypted ingress/health traffic when using Wireguard transparent encryption in github.com/cilium/cilium
GO-2024-2569 : Unencrypted traffic between pods when using Wireguard and an external kvstore in github.com/cilium/cilium
GO-2024-2653 : HTTP policy bypass in github.com/cilium/cilium
GO-2024-2656 : Unencrypted traffic between nodes with IPsec in github.com/cilium/cilium
GO-2024-2657 : Unencrypted traffic between nodes with WireGuard in github.com/cilium/cilium
GO-2024-2666 : Insecure IPsec transparent encryption in github.com/cilium/cilium
GO-2024-2922 : Cilium leaks sensitive information in cilium-bugtool in github.com/cilium/cilium
GO-2024-3072 : Policy bypass for Host Firewall policy due to race condition in Cilium agent in github.com/cilium/cilium
GO-2024-3208 : Cilium's CIDR deny policies may not take effect when a more narrow CIDR allow is present in github.com/cilium/cilium
Discover Packages
github.com/cilium/cilium
pkg
command
exec
package
Version:
v1.14.6
Opens a new window with list of versions in this module.
Published: Jan 18, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 16
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package exec provides useful wrappers around the standard "exec" library.
Cmd wraps exec.Cmd with a context to provide convenient execution of a
command with nice checking of the context timeout in the form:
err := exec.Prog().WithTimeout(5*time.Second, myprog, myargs...).CombinedOutput(log, verbose)
CommandContext wraps exec.CommandContext to allow this package to be used as
a drop-in replacement for the standard exec library.
WithCancel creates a Cmd with a context that can be cancelled by calling the
resulting Cancel() function.
WithTimeout creates a Cmd with a context that times out after the specified
duration.
CombinedOutput runs the command and returns its combined standard output and
standard error. Unlike the standard library, if the context is exceeded, it
will return an error indicating so.
Logs any errors that occur to the specified logger.
Output runs the command and returns only standard output, but not the
standard error. Unlike the standard library, if the context is exceeded,
it will return an error indicating so.
Logs any errors that occur to the specified logger.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.