Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-21303

published medium CVSS 3.1 · 5.9

Injection attack in Helm

Published
05 Feb 2021, 21:40:14 UTC
Updated
03 Aug 2024, 18:09:15 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
helm — helm> 3.0, < 3.5.2 Affected Not stated GitHub_M
Alpine Linux edge helm Fixed 3.6.0-r0 Package fix record
Alpine Linux v3.17 helm Fixed 3.6.0-r0 Package fix record
Alpine Linux v3.18 helm Fixed 3.6.0-r0 Package fix record
Alpine Linux v3.19 helm Fixed 3.6.0-r0 Package fix record
Alpine Linux v3.20 helm Fixed 3.6.0-r0 Package fix record
Alpine Linux v3.21 helm Fixed 3.6.0-r0 Package fix record
Alpine Linux v3.22 helm Fixed 3.6.0-r0 Package fix record
Show 2 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.23 helm Fixed 3.6.0-r0 Package fix record
Alpine Linux v3.24 helm Fixed 3.6.0-r0 Package fix record

Description

Helm is open-source software which is essentially "The Kubernetes Package Manager". Helm is a tool for managing Charts. Charts are packages of pre-configured Kubernetes resources. In Helm from version 3.0 and before version 3.5.2, there a few cases where data loaded from potentially untrusted sources was not properly sanitized. When a SemVer in the `version` field of a chart is invalid, in some cases Helm allows the string to be used "as is" without sanitizing. Helm fails to properly sanitized some fields present on Helm repository `index.yaml` files. Helm does not properly sanitized some fields in the `plugin.yaml` file for plugins In some cases, Helm does not properly sanitize the fields in the `Chart.yaml` file. By exploiting these attack vectors, core maintainers were able to send deceptive information to a terminal screen running the `helm` command, as well as obscure or alter information on the screen. In some cases, we could send codes that terminals used to execute higher-order logic, like clearing a terminal screen. Further, during evaluation, the Helm maintainers discovered a few other fields that were not properly sanitized when read out of repository index files. This fix remedies all such cases, and once again enforces SemVer2 policies on version fields. All users of the Helm 3 should upgrade to the fixed version 3.5.2 or later. Those who use Helm as a library should verify that they either sanitize this data on their own, or use the proper Helm API calls to sanitize the data.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

9

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.9 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
helm helm > 3.0, < 3.5.2 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-74 CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

Injection attack in Helm

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
c27910d87c1b93e4a12fffcebb815e0dab5661851d1e9bb7ce6b5853e47a5d12
Ingested
23 Sep 2026, 07:52:31 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected