Affected by GO-2023-1633
and 7 other vulnerabilities
GO-2023-1633 : Nomad Job Submitter Privilege Escalation Using Workload Identity in github.com/hashicorp/nomad
GO-2023-1707 : HashiCorp Nomad vulnerable to unauthenticated client agent HTTP request privilege escalation in github.com/hashicorp/nomad
GO-2023-1899 : Hashicorp Nomad ACLs Cannot Deny Access to Workload’s Own Variables in github.com/hashicorp/nomad
GO-2024-2669 : API token secret ID leak to Sentinel 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
client
logmon
logging
package
Version:
v1.5.0
Opens a new window with list of versions in this module.
Published: Mar 1, 2023
License: MPL-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 19
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types type FileRotator NewFileRotator(path, baseFile, maxFiles, fileSize, logger) (f) Close() (f) Write(p)
Documentation
¶
type FileRotator struct {
MaxFiles int
FileSize int64
}
FileRotator writes bytes to a rotated set of files
NewFileRotator returns a new file rotator
Close flushes and closes the rotator. It never returns an error.
Write writes a byte array to a file and rotates the file if it's size becomes
equal to the maximum size the user has defined.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.