{"id":"CVE-2022-41939","aliases":[],"summary":"Credential exposure when running third-party builders in knative/func","published_at":"2022-11-19T00:00:00Z","modified_at":"2025-04-22T16:02:39.059Z","products":[{"slug":"knative","name":"Knative","category":"kubernetes-container"}],"rating":{"severity":"medium","score":6.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N","attack_path":"internet_unauthenticated","user_interaction":true,"malicious":false},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.01193000003695488,"percentile":0.6868399977684021,"date":"2026-11-19T00:00:00Z"},"priority":7.6,"record_count":2,"vendors":[],"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.","affected_stack":[{"ecosystem":"CVE","package":"knative/func","versions":["< 1.8.1"],"provider":"cvelistv5","source":"CVE-2022-41939","relation":"self"}],"affected_other":[{"ecosystem":"NVD","package":"linuxfoundation:knative_func","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.1"}]}],"fixed":["1.8.1"],"provider":"nvd","source":"CVE-2022-41939","relation":"self"}],"product_status":[],"records":[{"provider":"cvelistv5","source_id":"CVE-2022-41939","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2022-41939","license":"CC-BY-4.0","published_at":"2022-11-19T00:00:00Z","modified_at":"2025-04-22T16:02:39.059Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N","source":"CVE-2022-41939"}],"affected":[{"ecosystem":"CVE","package":"knative/func","versions":["< 1.8.1"],"provider":"cvelistv5","source":"CVE-2022-41939","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/knative/func/security/advisories/GHSA-5336-2g3f-9g3m"},{"type":"WEB","url":"https://github.com/knative/func/pull/1442"},{"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"}]},{"provider":"nvd","source_id":"CVE-2022-41939","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41939","severity":[],"affected":[{"ecosystem":"NVD","package":"linuxfoundation:knative_func","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.1"}]}],"fixed":["1.8.1"],"provider":"nvd","source":"CVE-2022-41939","relation":"self"}],"product_status":[],"references":[]}],"references":[{"type":"WEB","url":"https://github.com/knative/func/security/advisories/GHSA-5336-2g3f-9g3m"},{"type":"WEB","url":"https://github.com/knative/func/pull/1442"},{"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"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2022-41939","url":"https://www.cve.org/CVERecord?id=CVE-2022-41939","license":"CC-BY-4.0","modified_at":"2025-04-22T16:02:39.059Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2022-41939","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41939","relation":"self"}]}
