{"id":"CVE-2022-41939","state":"PUBLISHED","title":"Credential exposure when running third-party builders in knative/func","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.","publishedAt":"2022-11-19T00:00:00.000Z","updatedAt":"2025-04-22T16:02:39.059Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["knative func"],"affected":[{"vendor":"knative","product":"func","versions":[{"version":"< 1.8.1","status":"affected"}]}],"references":["https://github.com/knative/func/security/advisories/GHSA-5336-2g3f-9g3m","https://github.com/knative/func/pull/1442","https://github.com/knative/func/blob/5ca77d38744d3481cc0b795f607c5859b19588fc/buildpacks/builder.go#L37-L41","https://github.com/knative/func/releases/tag/knative-v1.8.1"],"weaknesses":["CWE-200"],"ingestedAt":"2026-10-29T19:50:37.819Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/41xxx/CVE-2022-41939.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-41939","state":"PUBLISHED","datePublished":"2022-11-19T00:00:00.000Z","dateUpdated":"2025-04-22T16:02:39.059Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-09-30T00:00:00.000Z"},"containers":{"cna":{"title":"Credential exposure when running third-party builders in knative/func","descriptions":[{"lang":"en","value":"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":[{"vendor":"knative","product":"func","versions":[{"version":"< 1.8.1","status":"affected"}]}],"references":[{"url":"https://github.com/knative/func/security/advisories/GHSA-5336-2g3f-9g3m"},{"url":"https://github.com/knative/func/pull/1442"},{"url":"https://github.com/knative/func/blob/5ca77d38744d3481cc0b795f607c5859b19588fc/buildpacks/builder.go#L37-L41"},{"url":"https://github.com/knative/func/releases/tag/knative-v1.8.1"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-200","type":"CWE","lang":"en","description":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2022-11-19T00:00:00.000Z"},"source":{"advisory":"GHSA-5336-2g3f-9g3m","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/knative/func/security/advisories/GHSA-5336-2g3f-9g3m","tags":["x_transferred"]},{"url":"https://github.com/knative/func/pull/1442","tags":["x_transferred"]},{"url":"https://github.com/knative/func/blob/5ca77d38744d3481cc0b795f607c5859b19588fc/buildpacks/builder.go#L37-L41","tags":["x_transferred"]},{"url":"https://github.com/knative/func/releases/tag/knative-v1.8.1","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T12:56:38.664Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-22T15:41:32.476298Z","id":"CVE-2022-41939","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-22T16:02:39.059Z"}}]}}}