CVE-2022-41939
Developers using a malicious or compromised third-party buildpack could expose their registry credentials or local docker socket to a malicious `lifecycle` container.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.92%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
knative.dev/func is is a client library and CLI enabling the development and deployment of Kubernetes functions. Developers using a malicious or compromised third-party buildpack could expose their registry credentials or local docker socket to a malicious `lifecycle` container. This issues has been patched in PR #1442, and is part of release 1.8.1. This issue only affects users who are using function buildpacks from third-parties; pinning the builder image to a specific content-hash with a valid `lifecycle` image will also mitigate the attack.
- CVSS 3.1
- 7.4 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
- EPSS
- 0.92% probability · 58th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-200
- Affected
- linuxfoundation/knative func
- Source
- security-advisories@github.com
References
- https://github.com/knative/func/blob/5ca77d38744d3481cc0b795f607c5859b19588fc/buildpacks/builder.go#L37-L41Third Party Advisory
- https://github.com/knative/func/pull/1442Patch, Third Party Advisory
- https://github.com/knative/func/releases/tag/knative-v1.8.1Release Notes, Third Party Advisory
- https://github.com/knative/func/security/advisories/GHSA-5336-2g3f-9g3mExploit, Patch, Third Party Advisory
- https://github.com/knative/func/blob/5ca77d38744d3481cc0b795f607c5859b19588fc/buildpacks/builder.go#L37-L41Third Party Advisory
- https://github.com/knative/func/pull/1442Patch, Third Party Advisory
- https://github.com/knative/func/releases/tag/knative-v1.8.1Release Notes, Third Party Advisory
- https://github.com/knative/func/security/advisories/GHSA-5336-2g3f-9g3mExploit, Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.