GO-2024-2671

See a problem?
Source
https://pkg.go.dev/vuln/GO-2024-2671
Import Source
https://vuln.go.dev/ID/GO-2024-2671.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2024-2671
Aliases
Published
2024-04-04T18:42:42Z
Modified
2024-05-20T16:03:47Z
Summary
CSI plugin names disclosure in github.com/hashicorp/nomad
Details

A vulnerability was identified in Nomad such that the search HTTP API can reveal names of available CSI plugins to unauthenticated users or users without the plugin:read policy. This vulnerability affects Nomad since 0.11.0 and was fixed in 1.4.11 and 1.5.7.

References
Credits
    • anonymous4ACL24

Affected packages

Go / github.com/hashicorp/nomad

Package

Name
github.com/hashicorp/nomad
View open source insights on deps.dev
Purl
pkg:golang/github.com/hashicorp/nomad

Affected ranges

Type
SEMVER
Events
Introduced
0.11.0
Fixed
1.4.11
Introduced
1.5.0
Fixed
1.5.7

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/hashicorp/nomad/acl",
            "symbols": [
                "ACL.AllowVariableSearch"
            ]
        },
        {
            "path": "github.com/hashicorp/nomad/nomad",
            "symbols": [
                "ACL.GetPolicies",
                "ACL.GetPolicy",
                "ACL.GetRoleByID",
                "ACL.GetRoleByName",
                "ACL.GetRolesByID",
                "ACL.GetToken",
                "ACL.GetTokens",
                "ACL.ListPolicies",
                "ACL.ListRoles",
                "ACL.ListTokens",
                "Alloc.GetAlloc",
                "Alloc.GetAllocs",
                "Alloc.GetServiceRegistrations",
                "Alloc.List",
                "CSIPlugin.Get",
                "CSIPlugin.List",
                "CSIVolume.Get",
                "CSIVolume.List",
                "Deployment.Allocations",
                "Deployment.GetDeployment",
                "Deployment.List",
                "Eval.Allocations",
                "Eval.Count",
                "Eval.GetEval",
                "Eval.List",
                "Job.Allocations",
                "Job.Deployments",
                "Job.Dispatch",
                "Job.Evaluations",
                "Job.GetJob",
                "Job.GetJobVersions",
                "Job.GetServiceRegistrations",
                "Job.LatestDeployment",
                "Job.List",
                "Job.Plan",
                "Job.ScaleStatus",
                "Job.Summary",
                "Keyring.Get",
                "Keyring.List",
                "Namespace.GetNamespace",
                "Namespace.GetNamespaces",
                "Namespace.ListNamespaces",
                "NewServer",
                "NewWorker",
                "Node.GetAllocs",
                "Node.GetClientAllocs",
                "Node.GetNode",
                "Node.List",
                "PeriodicDispatch.SetEnabled",
                "Scaling.GetPolicy",
                "Scaling.ListPolicies",
                "Search.FuzzySearch",
                "Search.PrefixSearch",
                "Server.Reload",
                "Server.RunningChildren",
                "Server.SetSchedulerWorkerConfig",
                "ServiceRegistration.GetService",
                "ServiceRegistration.List",
                "TestACLServer",
                "TestServer",
                "TestServerErr",
                "Variables.List",
                "Variables.Read",
                "Worker.Start",
                "filteredSearchContexts",
                "getEnterpriseFuzzyResourceIter",
                "nomadFSM.Apply",
                "nomadFSM.Restore",
                "nomadFSM.RestoreWithFilter",
                "sufficientSearchPerms"
            ]
        }
    ]
}