{"api_version":"1","generated_at":"2026-04-23T03:26:13+00:00","cve":"CVE-2022-41939","urls":{"html":"https://cve.report/CVE-2022-41939","api":"https://cve.report/api/cve/CVE-2022-41939.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-41939","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-41939"},"summary":{"title":"CVE-2022-41939","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-11-19 01:15:00","updated_at":"2023-03-14 15:35:00"},"problem_types":["CWE-200"],"metrics":[],"references":[{"url":"https://github.com/knative/func/releases/tag/knative-v1.8.1","name":"https://github.com/knative/func/releases/tag/knative-v1.8.1","refsource":"MISC","tags":[],"title":"Release Knative Func release v1.8.1 · knative/func · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/knative/func/blob/5ca77d38744d3481cc0b795f607c5859b19588fc/buildpacks/builder.go#L37-L41","name":"https://github.com/knative/func/blob/5ca77d38744d3481cc0b795f607c5859b19588fc/buildpacks/builder.go#L37-L41","refsource":"MISC","tags":[],"title":"func/builder.go at 5ca77d38744d3481cc0b795f607c5859b19588fc · knative/func · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/knative/func/pull/1442","name":"https://github.com/knative/func/pull/1442","refsource":"MISC","tags":[],"title":"fix(GHSA-5336-2g3f-9g3m): Fixes GSA GHSA-5336-2g3f-9g3m by lance · Pull Request #1442 · knative/func · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/knative/func/security/advisories/GHSA-5336-2g3f-9g3m","name":"https://github.com/knative/func/security/advisories/GHSA-5336-2g3f-9g3m","refsource":"CONFIRM","tags":[],"title":"Potential local compromise when running third-party builders · Advisory · knative/func · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-41939","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41939","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"41939","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"cncf","cpe5":"knative_func","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"41939","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"linuxfoundation","cpe5":"knative_func","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-41939","STATE":"PUBLIC","TITLE":"Credential exposure when running third-party builders in knative/func"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"func","version":{"version_data":[{"version_value":"< 1.8.1"}]}}]},"vendor_name":"knative"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor"}]}]},"references":{"reference_data":[{"name":"https://github.com/knative/func/security/advisories/GHSA-5336-2g3f-9g3m","refsource":"CONFIRM","url":"https://github.com/knative/func/security/advisories/GHSA-5336-2g3f-9g3m"},{"name":"https://github.com/knative/func/pull/1442","refsource":"MISC","url":"https://github.com/knative/func/pull/1442"},{"name":"https://github.com/knative/func/blob/5ca77d38744d3481cc0b795f607c5859b19588fc/buildpacks/builder.go#L37-L41","refsource":"MISC","url":"https://github.com/knative/func/blob/5ca77d38744d3481cc0b795f607c5859b19588fc/buildpacks/builder.go#L37-L41"},{"name":"https://github.com/knative/func/releases/tag/knative-v1.8.1","refsource":"MISC","url":"https://github.com/knative/func/releases/tag/knative-v1.8.1"}]},"source":{"advisory":"GHSA-5336-2g3f-9g3m","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-11-19 01:15:00","lastModifiedDate":"2023-03-14 15:35:00","problem_types":["CWE-200"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":7.4,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":4}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:linuxfoundation:knative_func:*:*:*:*:*:*:*:*","versionEndExcluding":"1.8.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}