blob: 7aeaf7e259892eee27ac046c7b4449ec29043c84 [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2022-1165",
"published": "0001-01-01T00:00:00Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2022-23525",
"GHSA-53c4-hhmh-vw5q"
],
"details": "Applications that use the repo package in the Helm SDK to parse an index file can suffer a Denial of Service when that input causes a panic that cannot be recovered from.\n\nThe repo package contains a handler that processes the index file of a repository. For example, the Helm client adds references to chart repositories where charts are managed. The repo package parses the index file of the repository and loads it into memory. Some index files can cause array data structures to be created causing a memory violation.\n\nThe Helm Client will panic with an index file that causes a memory violation panic. Helm is not a long running service so the panic will not affect future uses of the Helm client.",
"affected": [
{
"package": {
"name": "helm.sh/helm/v3",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.10.3"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-1165"
},
"ecosystem_specific": {
"imports": [
{
"path": "helm.sh/helm/v3/pkg/repo",
"symbols": [
"ChartRepository.DownloadIndexFile",
"ChartRepository.Index",
"ChartRepository.Load",
"File.Remove",
"FindChartInAuthAndTLSAndPassRepoURL",
"FindChartInAuthAndTLSRepoURL",
"FindChartInAuthRepoURL",
"FindChartInRepoURL",
"IndexDirectory",
"IndexFile.Add",
"IndexFile.MustAdd",
"LoadIndexFile",
"loadIndex"
]
}
]
}
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/helm/helm/security/advisories/GHSA-53c4-hhmh-vw5q"
},
{
"type": "FIX",
"url": "https://github.com/helm/helm/commit/638ebffbc2e445156f3978f02fd83d9af1e56f5b"
}
],
"credits": [
{
"name": "Ada Logics, in a fuzzing audit sponsored by CNCF"
}
]
}