Affected by GO-2022-0560
and 16 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-0622: Improper Privilege Management in HashiCorp Nomad in github.com/hashicorp/nomad
GO-2022-0709: Improper network isolation in Hashicorp Nomad in github.com/hashicorp/nomad
GO-2022-0732: Privilege escalation in Hashicorp Nomad in github.com/hashicorp/nomad
GO-2022-0770: Path Traversal in HashiCorp Nomad in github.com/hashicorp/nomad
GO-2022-0806: Use After Free 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
GO-2025-3510: Unintentional exposure of the workload identity token and client secret in logs in github.com/hashicorp/nomad
GO-2025-3758: Hashicorp Nomad Incorrect Privilege Assignment vulnerability in github.com/hashicorp/nomad
package
Version:
v0.12.5
Opens a new window with list of versions in this module.
Published: Sep 17, 2020
License: MPL-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 26
Opens a new window with list of known importers.
Documentation
¶
semver is a Semver Constraints package copied from
github.com/hashicorp/go-version @ 2046c9d0f0b03c779670f5186a2a4b2c85493a71
Unlike Constraints in go-version, Semver constraints use Semver 2.0 ordering
rules and only accept properly formatted Semver versions.
type Constraint struct {
}
Constraint represents a single constraint for a version, such as ">=
1.0".
Check tests if a constraint is validated by the given version.
Constraints is a slice of constraints. We make a custom type so that
we can add methods to it.
NewConstraint will parse one or more constraints from the given
constraint string. The string must be a comma-separated list of constraints.
Check tests if a version satisfies all the constraints.
Returns the string format of the constraints
Source Files
¶
Click to show internal directories.
Click to hide internal directories.