blob: 8f2199e0d24ecf6dd823157253676a6eabbb5daa [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2022-0701",
"modified": "0001-01-01T00:00:00Z",
"published": "2022-02-15T01:57:18Z",
"aliases": [
"CVE-2015-5305",
"GHSA-jp32-vmm6-3vf5"
],
"summary": "Directory traversal in k8s.io/kubernetes",
"details": "Crafted object type names can cause directory traversal in Kubernetes.\n\nObject names are not validated before being passed to etcd. This allows attackers to write arbitrary files via a crafted object name, hence causing directory traversal vulnerability in Kubernetes, as used in Red Hat OpenShift Enterprise 3.0.",
"affected": [
{
"package": {
"name": "k8s.io/kubernetes",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.1"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "k8s.io/kubernetes/pkg/api/rest",
"symbols": [
"BeforeCreate"
]
},
{
"path": "k8s.io/kubernetes/pkg/registry/generic/etcd",
"symbols": [
"NamespaceKeyFunc"
]
},
{
"path": "k8s.io/kubernetes/pkg/storage",
"symbols": [
"NamespaceKeyFunc",
"NoNamespaceKeyFunc"
]
},
{
"path": "k8s.io/kubernetes/pkg/registry/namespace/etcd",
"symbols": [
"NewREST"
]
},
{
"path": "k8s.io/kubernetes/pkg/registry/node/etcd",
"symbols": [
"NewREST"
]
},
{
"path": "k8s.io/kubernetes/pkg/registry/persistentvolume/etcd",
"symbols": [
"NewREST"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://github.com/kubernetes/kubernetes/pull/16381"
},
{
"type": "FIX",
"url": "https://github.com/kubernetes/kubernetes/commit/37f730f68c7f06e060f90714439bfb0dbb2df5e7"
}
],
"credits": [
{
"name": "liggitt (Jordan Liggitt)"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0701"
}
}