# CVE-2022-41939: Credential exposure when running third-party builders in knative/func

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.19%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-11-19T00:00:00.000Z
- Modified: 2026-06-17T05:04:06.087Z
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- knative func: < 1.8.1
- linuxfoundation knative_func: before 1.8.1

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`

## References

- <https://github.com/knative/func/security/advisories/GHSA-5336-2g3f-9g3m> (exploit, patch, third-party-advisory)
- <https://github.com/knative/func/pull/1442> (patch, third-party-advisory)
- <https://github.com/knative/func/blob/5ca77d38744d3481cc0b795f607c5859b19588fc/buildpacks/builder.go#L37-L41> (third-party-advisory)
- <https://github.com/knative/func/releases/tag/knative-v1.8.1> (release-notes, third-party-advisory)

## Sources

- CVE List: [CVE-2022-41939](https://www.cve.org/CVERecord?id=CVE-2022-41939), CVE Terms of Use, modified 2025-04-22
- NVD: [CVE-2022-41939](https://nvd.nist.gov/vuln/detail/CVE-2022-41939), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-41939 · Whole record: https://cve.day/CVE-2022-41939.json · Rebuilt by cve.day 2026-11-25T22:58:16.693Z
