VDB

CVE-2021-20218

CVE-2021-20218 PUBLISHED

Improper Limitation of a Pathname to a Restricted Directory in Fabric8 Kubernetes Client

Reported by redhat · Published March 16, 2021

A flaw was found in the fabric8 kubernetes-client in version 4.2.0 and after. This flaw allows a malicious pod/container to cause applications using the fabric8 kubernetes-client `copy` command to extract files outside the working path. The highest threat from this vulnerability is to integrity and system availability. This has been fixed in kubernetes-client-4.13.2 kubernetes-client-5.0.2 kubernetes-client-4.11.2 kubernetes-client-4.7.2

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kubernetes-clientredhat5.0.2, 4.13.2, 4.11.2, 4.7.2

Affected products

VendorProductVersions
n/afabric8-kubernetes-clientkubernetes-client-4.2.0 and after
n/afabric8-kubernetes-client4.2.0

Timeline

  • Mar 16, 2021 CVE Published
  • Mar 16, 2021 PoC Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Distribution Patch (32 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (34 in total, the first dated here)
  • Aug 27, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-20218
vulnetix vdb fixes CVE-2021-20218

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-20218/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_MISC
  • x_refsource_MISC
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›