{"id":"CVE-2022-41939","published":"2022-11-19T00:00:00Z","modified":"2025-04-22T16:02:39Z","title":"Credential exposure when running third-party builders in knative/func","vendor":"knative","product":"func","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01193,"percentile":0.68782,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/knative/func/security/advisories/GHSA-5336-2g3f-9g3m","tags":[]},{"url":"https://github.com/knative/func/pull/1442","tags":[]},{"url":"https://github.com/knative/func/blob/5ca77d38744d3481cc0b795f607c5859b19588fc/buildpacks/builder.go#L37-L41","tags":[]},{"url":"https://github.com/knative/func/releases/tag/knative-v1.8.1","tags":[]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":13.76},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"knative","affectedVersions":[{"vendor":"knative","product":"func","versions":["< 1.8.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-22T15:41:32.476298Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-45051","exploited":false,"provenance":"source"}}