Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886499 (CVE-2022-23524, CVE-2022-23525, CVE-2022-23526) - <app-admin/helm-3.11.2: multiple vulnerabilities
Summary: <app-admin/helm-3.11.2: multiple vulnerabilities
Status: RESOLVED FIXED
Alias: CVE-2022-23524, CVE-2022-23525, CVE-2022-23526
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL:
Whiteboard: B3 [glsa?]
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-17 21:46 UTC by John Helmert III
Modified: 2023-04-20 03:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-12-17 21:46:13 UTC
CVE-2022-23525 (https://github.com/helm/helm/security/advisories/GHSA-53c4-hhmh-vw5q):
https://github.com/helm/helm/commit/638ebffbc2e445156f3978f02fd83d9af1e56f5b

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.

CVE-2022-23526 (https://github.com/helm/helm/security/advisories/GHSA-67fx-wx78-jx33):
https://github.com/helm/helm/commit/bafafa8bb1b571b61d7a9528da8d40c307dade3d

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_chartutil_ package that can cause a segmentation violation. The _chartutil_ package contains a parser that loads a JSON Schema validation file. For example, the Helm client when rendering a chart will validate its values with the schema file. The _chartutil_ package parses the schema file and loads it into structures Go can work with. Some schema files can cause array data structures to be created causing a memory violation. Applications that use the _chartutil_ package in the Helm SDK to parse a schema file can suffer a Denial of Service when that input causes a panic that cannot be recovered from. 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 schema files that are correctly formatted before passing them to the _chartutil_ functions.

Please bump to 3.10.3.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-12-17 21:46:59 UTC
CVE-2022-23524 (https://github.com/helm/helm/security/advisories/GHSA-6rx9-889q-vv2r):

Helm is a tool for managing Charts, pre-configured Kubernetes resources. Versions prior to 3.10.3 are subject to Uncontrolled Resource Consumption, resulting in Denial of Service. Input to functions in the _strvals_ package can cause a stack overflow. In Go, a stack overflow cannot be recovered from. Applications that use functions from the _strvals_ package in the Helm SDK can have a Denial of Service attack when they use this package and it panics. This issue has been patched in 3.10.3. SDK users can validate strings supplied by users won't create large arrays causing significant memory usage before passing them to the _strvals_ functions.
Comment 2 Larry the Git Cow gentoo-dev 2023-03-24 19:41:29 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64101d0455cd976bbf10baf4a8c1c217345cd861

commit 64101d0455cd976bbf10baf4a8c1c217345cd861
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2023-03-24 19:40:59 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2023-03-24 19:41:22 +0000

    app-admin/helm: add 3.11.2
    
    Bug: https://bugs.gentoo.org/886499
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 app-admin/helm/Manifest           |  2 ++
 app-admin/helm/helm-3.11.2.ebuild | 41 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2023-03-24 19:44:14 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2acfc404638a474c703c08c2f22c04fda7facbb4

commit 2acfc404638a474c703c08c2f22c04fda7facbb4
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2023-03-24 19:43:35 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2023-03-24 19:44:10 +0000

    app-admin/helm: stabilize 3.11.2 for amd64
    
    Bug: https://bugs.gentoo.org/886499
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 app-admin/helm/helm-3.11.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 4 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-04-20 03:41:09 UTC
Thanks! No GLSA, low impact.