Affected by GO-2022-0560
and 8 other vulnerabilities
GO-2022-0560 : Nomad Spread Job Stanza May Trigger Panic in Servers in github.com/hashicorp/nomad
GO-2022-0584 : Arbitrary file reads in HashiCorp Nomad in github.com/hashicorp/nomad
GO-2022-0600 : HashiCorp Nomad Artifact Download Race Condition in github.com/hashicorp/nomad
GO-2022-0732 : Privilege escalation in Hashicorp Nomad in github.com/hashicorp/nomad
GO-2022-1062 : Nomad Panics On Job Submission With Bad Artifact Stanza Source URL in github.com/hashicorp/nomad
GO-2024-2670 : ACL security vulnerability in github.com/hashicorp/nomad
GO-2024-3073 : Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking in github.com/hashicorp/nomad
GO-2024-3262 : Hashicorp Nomad Incorrect Authorization vulnerability in github.com/hashicorp/nomad
GO-2024-3354 : Hashicorp Nomad Incorrect Privilege Assignment vulnerability in github.com/hashicorp/nomad
Discover Packages
github.com/hashicorp/nomad
helper
testtask
package
Version:
v1.0.17
Opens a new window with list of versions in this module.
Published: Jan 31, 2022
License: MPL-2.0
Opens a new window with license information.
Imports: 9
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
Package testtask implements a portable set of commands useful as stand-ins
for user tasks.
Path returns the path to the currently running executable.
Run interprets os.Args as a testtask script if the current program was
launched with an environment configured by SetCmdEnv or SetTaskEnv. It
returns false if the environment was not set by this package.
SetCmdEnv configures the environment of cmd so that Run executes a testtask
script when called from within cmd.
SetTaskConfigEnv configures the environment of t so that Run executes a testtask
script when called from within t.
SetTaskEnv configures the environment of t so that Run executes a testtask
script when called from within t.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.