blob: 7a02f557f2e84d2090c7e60e014a656eefac311d [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2022-1165",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2022-23525",
"GHSA-53c4-hhmh-vw5q"
],
"summary": "Denial of service via repository index file in helm.sh/helm/v3",
"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"
}
]
}
],
"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"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-1165"
}
}