Affected by GO-2023-1942
and 8 other vulnerabilities
GO-2023-1942 : Podman Symlink Vulnerability in github.com/containers/libpod
GO-2023-1962 : Podman Elevated Container Privileges in github.com/containers/podman
GO-2024-3042 : Podman vulnerable to memory-based denial of service in github.com/containers/podman
GO-2024-3169 : Improper Input Validation in Buildah and Podman in github.com/containers/buildah
GO-2025-3777 : Podman Improper Certificate Validation; machine missing TLS verification in github.com/containers/podman
GO-2025-3935 : podman kube play symlink traversal vulnerability in github.com/containers/podman
GO-2025-3961 : Podman Creates Temporary File with Insecure Permissions in github.com/containers/podman
GO-2026-5421 : PowerShell Command Injection in Podman HyperV Machine in github.com/containers/podman
GO-2026-5568 : Podman: WORKDIR symlink traversal vulnerability in github.com/containers/podman
Discover Packages
github.com/containers/podman/v4
pkg
machine
define
package
Version:
v4.9.5
Opens a new window with list of versions in this module.
Published: May 30, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
type VMFile struct {
Path string
Symlink *string `json:"symlink,omitempty"`
}
NewMachineFile is a constructor for VMFile
Delete removes the machinefile symlink (if it exists) and
the actual path
GetPath returns the working path for a machinefile. it returns
the symlink unless one does not exist
Read the contents of a given file and return in []bytes
Source Files
¶
Click to show internal directories.
Click to hide internal directories.