Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/knative/func
  4. ›
  5. CVE-2022-41939

CVE-2022-41939: Exposure of Sensitive Information to an Unauthorized Actor

November 19, 2022 (updated November 26, 2022)

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.

References

  • github.com/knative/func/blob/5ca77d38744d3481cc0b795f607c5859b19588fc/buildpacks/builder.go
  • github.com/knative/func/pull/1442
  • github.com/knative/func/releases/tag/knative-v1.8.1
  • github.com/knative/func/security/advisories/GHSA-5336-2g3f-9g3m
  • nvd.nist.gov/vuln/detail/CVE-2022-41939

Code Behaviors & Features

Detect and mitigate CVE-2022-41939 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.8.1

Fixed versions

  • v1.8.1

Solution

Upgrade to version 1.8.1 or above.

Impact 7.4 HIGH

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

go/github.com/knative/func/CVE-2022-41939.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:14 +0000.