Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/helm/helm: CVE-2022-36055 #962

Closed
GoVulnBot opened this issue Sep 1, 2022 · 2 comments
Closed
Assignees

Comments

@GoVulnBot
Copy link

CVE-2022-36055 references github.com/helm/helm, which may be a Go module.

Description:
Helm is a tool for managing Charts. Charts are packages of pre-configured Kubernetes resources. Fuzz testing, provided by the CNCF, identified input to functions in the strvals package that can cause an out of memory panic. The strvals package contains a parser that turns strings in to Go structures. The strvals package converts these strings into structures Go can work with. Some string inputs can cause array data structures to be created causing an out of memory panic. Applications that use the strvals package in the Helm SDK to parse user supplied input can suffer a Denial of Service when that input causes a panic that cannot be recovered from. The Helm Client will panic with input to --set, --set-string, and other value setting flags that causes an out of memory panic. Helm is not a long running service so the panic will not affect future uses of the Helm client. This issue has been resolved in 3.9.4. SDK users can validate strings supplied by users won't create large arrays causing significant memory usage before passing them to the strvals functions.

References:

See doc/triage.md for instructions on how to triage this report.

modules:
  - module: github.com/helm/helm
    packages:
      - package: helm
description: |
    Helm is a tool for managing Charts. Charts are packages of pre-configured Kubernetes resources. Fuzz testing, provided by the CNCF, identified input to functions in the _strvals_ package that can cause an out of memory panic. The _strvals_ package contains a parser that turns strings in to Go structures. The _strvals_ package converts these strings into structures Go can work with. Some string inputs can cause array data structures to be created causing an out of memory panic. Applications that use the _strvals_ package in the Helm SDK to parse user supplied input can suffer a Denial of Service when that input causes a panic that cannot be recovered from. The Helm Client will panic with input to `--set`, `--set-string`, and other value setting flags that causes an out of memory panic. Helm is not a long running service so the panic will not affect future uses of the Helm client. This issue has been resolved in 3.9.4. SDK users can validate strings supplied by users won't create large arrays causing significant memory usage before passing them to the _strvals_ functions.
cves:
  - CVE-2022-36055
references:
  - web: https://github.com/helm/helm/security/advisories/GHSA-7hfp-qfw3-5jxh
  - web: https://github.com/helm/helm/releases/tag/v3.9.4

@tatianab tatianab self-assigned this Sep 1, 2022
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/427579 mentions this issue: data/reports: add GO-2022-0962.yaml for CVE-2022-36055

@tatianab
Copy link
Contributor

Review for appropriate use of alias vs related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants