CVE-2022-41939 MEDIUM

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

Vendor Knative
Product func
Weakness CWE-200 · Info exposure
Published November 19, 2022
Last update April 22, 2025

CVSS base score

6.1/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction Required
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

November 19, 2022 CVE published
April 22, 2025 Record updated