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.
{
"review_status": "REVIEWED",
"url": "https://pkg.go.dev/vuln/GO-2024-2671"
}{
"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"
]
}
]
}