NULL pointer dereference in Helm

CVE-2022-23525

Helm is a tool for managing Charts, pre-configured Kubernetes resources. Versions prior to 3.10.3 are subject to NULL Pointer Dereference in the _repo_package. The _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 structures Go can work with. Some index files can cause array data structures to be created causing a memory violation. 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. The 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. This issue has been patched in 3.10.3. SDK users can validate index files that are correctly formatted before passing them to the _repo_ functions.

EPSS: 0.008 (54.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.

Affected products

  • Helm — versions < v3.10.3

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-23525?
CVE-2022-23525 is a medium-severity vulnerability in Helm, classified under NULL Pointer Dereference. CVSS score: 5.3/10. Published 2022-12-15.
How severe is CVE-2022-23525?
Medium severity. CVSS v3 base score is 5.3 out of 10.