CVE-2022-23525: Helm vulnerable to Denial of service via NULL Pointer Dereference

Published Dec 14, 2022
·
Updated

A flaw was found in Helm. Applications that use the repo package in Helm SDK to parse an index file may 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.

Other sources

Fuzz testing, by Ada Logics and sponsored by the CNCF, identified input to functions in the repo package that can cause a segmentation violation. Applications that use functions from the repo package in the Helm SDK can have a Denial of Service attack when they use this package and it panics.

Impact

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.

Patches

This issue has been resolved in 3.10.3.

Workarounds

SDK users can validate index files that are correctly formatted before passing them to the repo functions.

For more information

Helm's security policy is spelled out in detail in our SECURITY document.

Credits

Disclosed by Ada Logics in a fuzzing audit sponsored by CNCF.

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 repopackage. 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.

Affected Software

3 affected componentsFixes available
go/helm.sh/helm/v3<3.10.3
3.10.3
redhat/helm.sh/helm/v3<3.10.3
3.10.3
Helm helm>=3.0.0<3.10.3

Event History

Dec 14, 2022
Advisory Published
09:38 PM
Dec 15, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·12:38 AM
Data Sourced
via MITRE·12:38 AM
DescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-23525?

CVE-2022-23525 is a vulnerability in Helm that can cause a Denial of Service (DoS) attack.

2

How does CVE-2022-23525 affect software?

CVE-2022-23525 affects applications that use the `_repo_` package in Helm SDK and can lead to a DoS attack.

3

What is the severity of CVE-2022-23525?

CVE-2022-23525 has a severity rating of 7.5 (High).

4

What is the remedy for CVE-2022-23525?

The remedy for CVE-2022-23525 is to upgrade to Helm version 3.10.3.

5

Where can I find more information about CVE-2022-23525?

More information about CVE-2022-23525 can be found at the following references: [CVE-2022-23525](https://www.cve.org/CVERecord?id=CVE-2022-23525), [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-23525), [GitHub commit](https://github.com/helm/helm/commit/638ebffbc2e445156f3978f02fd83d9af1e56f5b), [GitHub security advisory](https://github.com/helm/helm/security/advisories/GHSA-53c4-hhmh-vw5q), [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=2154202), [Red Hat Advisory](https://access.redhat.com/errata/RHSA-2023:1646).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203