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

Published Nov 19, 2022
·
Updated

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 Software

1 affected component
linuxfoundation Knative Func<1.8.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade knative.dev/func to a version that resolves this vulnerability.

    Fixed in 1.8.1Patch PR #1442
  2. Compensating control

    Pin the builder image to a specific content-hash and ensure a valid `lifecycle` image is used to mitigate the risk when using third-party function buildpacks.

Event History

Nov 19, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-41939?

CVE-2022-41939 is classified as a high severity vulnerability due to the potential exposure of sensitive credentials.

2

How do I fix CVE-2022-41939?

To mitigate CVE-2022-41939, upgrade to Knative Func version 1.8.1 or later.

3

What type of software is affected by CVE-2022-41939?

CVE-2022-41939 affects the Knative Func client library and CLI, specifically versions prior to 1.8.1.

4

What vulnerabilities does CVE-2022-41939 introduce?

CVE-2022-41939 introduces the risk of exposing registry credentials or a local Docker socket to malicious containers.

5

Who is impacted by CVE-2022-41939?

Developers using a malicious or compromised third-party buildpack with Knative Func are significantly impacted by CVE-2022-41939.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203