{"id":"CVE-2022-41939","summary":"Credential exposure when running third-party builders in knative/func","details":"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.","aliases":["GHSA-5336-2g3f-9g3m"],"modified":"2026-04-10T04:51:55.227979Z","published":"2022-11-19T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41939.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-200"]},"references":[{"type":"WEB","url":"https://github.com/knative/func/blob/5ca77d38744d3481cc0b795f607c5859b19588fc/buildpacks/builder.go#L37-L41"},{"type":"WEB","url":"https://github.com/knative/func/releases/tag/knative-v1.8.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41939.json"},{"type":"ADVISORY","url":"https://github.com/knative/func/security/advisories/GHSA-5336-2g3f-9g3m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41939"},{"type":"FIX","url":"https://github.com/knative/func/pull/1442"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/knative/func","events":[{"introduced":"0"},{"fixed":"1d22cb21cfb111ef9c31ae8c640262709ccdb384"}]}],"versions":["knative-v1.7.0","knative-v1.7.1.0","knative-v1.8.0","v0.0.16","v0.0.17","v0.0.18","v0.0.19","v0.1.0","v0.10.0","v0.11.0","v0.12.0","v0.12.1","v0.13.0","v0.14.0","v0.15.0","v0.15.1","v0.16.0","v0.17.0","v0.17.1","v0.18.0","v0.19.0","v0.2.0","v0.2.1","v0.2.2","v0.20.0","v0.21.0","v0.22.0","v0.23.0","v0.25.0","v0.3.0","v0.34.0","v0.34.1","v0.35.0","v0.4.0","v0.5.0","v0.6.0","v0.6.1","v0.6.2","v0.7.0","v0.8.0","v0.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-41939.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N"}]}