Affected by GO-2022-0560
and 10 other vulnerabilities
GO-2022-0560: Nomad Spread Job Stanza May Trigger Panic in Servers in github.com/hashicorp/nomad
GO-2022-0573: Improper Authentication in HashiCorp Nomad in github.com/hashicorp/nomad
GO-2022-0584: Arbitrary file reads in HashiCorp Nomad in github.com/hashicorp/nomad
GO-2022-0591: Privilege escalation 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
package
Version:
v0.12.12
Opens a new window with list of versions in this module.
Published: May 12, 2021
License: MPL-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 52
Opens a new window with list of known importers.
Documentation
¶
-
func CPUProfile(ctx context.Context, sec int) ([]byte, map[string]string, error)
-
func Cmdline() ([]byte, map[string]string, error)
-
func IsErrProfileNotFound(err error) bool
-
func NewErrProfileNotFound(profile string) error
-
func Profile(profile string, debug, gc int) ([]byte, map[string]string, error)
-
func Trace(ctx context.Context, sec int) ([]byte, map[string]string, error)
-
type ReqType
CPUProfile generates a CPU Profile for a given duration
Cmdline responds with the running program's
command line, with arguments separated by NUL bytes.
IsErrProfileNotFound returns whether the error is due to a pprof profile
being invalid
NewErrProfileNotFound returns a new error caused by a pprof.Lookup
profile not being found
Profile generates a pprof.Profile report for the given profile name
see runtime/pprof/pprof.go for available profiles.
Trace runs a trace profile for a given duration
const (
CmdReq ReqType = "cmdline"
CPUReq ReqType = "cpu"
TraceReq ReqType = "trace"
LookupReq ReqType = "lookup"
ErrProfileNotFoundPrefix = "Pprof profile not found profile:"
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.