Affected by GO-2022-0457
and 12 other vulnerabilities
GO-2022-0457 : Access to Unix domain socket can lead to privileges escalation in Cilium in github.com/cilium/cilium
GO-2022-0458 : Improper Privilege Management in Cilium in github.com/cilium/cilium
GO-2022-0959 : Network Policies & (Clusterwide) Cilium Network Policies with namespace label selectors may unexpectedly select pods with maliciously crafted labels in github.com/cilium/cilium
GO-2023-1643 : Potential network policy bypass when routing IPv6 traffic in github.com/cilium/cilium
GO-2023-1785 : Potential HTTP policy bypass when using header rules in Cilium in github.com/cilium/cilium
GO-2023-2078 : Kubernetes users may update Pod labels to bypass network policy in github.com/cilium/cilium
GO-2023-2079 : Specific Cilium configurations vulnerable to DoS via Kubernetes annotations in github.com/cilium/cilium
GO-2023-2080 : Cilium vulnerable to bypass of namespace restrictions in CiliumNetworkPolicy in github.com/cilium/cilium
GO-2024-2656 : Unencrypted traffic between nodes with IPsec in github.com/cilium/cilium
GO-2024-2666 : Insecure IPsec transparent encryption 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-2025-4167 : Cilium with misconfigured toGroups in policies can lead to unrestricted egress traffic in Ciliumgithub.com/cilium/cilium
GO-2026-4856 : Cilium L7 proxy may bypass Kubernetes NetworkPolicy for same-node traffic in github.com/cilium/cilium
Discover Packages
github.com/cilium/cilium
pkg
lock
lockfile
package
Version:
v0.15.7
Opens a new window with list of versions in this module.
Published: Aug 31, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
SPDX-License-Identifier: Apache-2.0
Copyright Authors of Cilium
Lockfile is a simple wrapper around POSIX file locking
but it uses Linux's per-fd locks, which makes it safe to
use within the same process
NewLockfile creates and opens a lockfile, but does not acquire
a lock.
Close will close the file, which implicitly removes all locks held.
It is an error to re-use a closed Lockfile.
Lock will attempt to take a lock, blocking until it is able to do so.
If exclusive is true, then it will obtain a write, or exclusive, lock
TryLock will attempt to take a lock, returining error if it is not
possible to acquire the lock.
If exclusive is true, then it will attempt to obtain a write, or exclusive, lock
Unlock removes the lock, but keeps the file open.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.