Information Exposure Affecting knative.dev/func/buildpacks package, versions <1.8.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-KNATIVEDEVFUNCBUILDPACKS-3136295
  • published20 Nov 2022
  • disclosed20 Nov 2022
  • creditandrew-su

Introduced: 20 Nov 2022

CVE-2022-41939  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade knative.dev/func/buildpacks to version 1.8.1 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure when users are using a malicious or compromised third-party buildpack which can then expose their registry credentials or local docker socket to a malicious lifecycle container.

Note: This issue only affects users who are using function buildpacks from third-parties.

Workaround

If users cannot upgrade to the fixed version, it is recommended to pin the builder image to a specific content hash with a valid lifecycle image to mitigate the attack.

CVSS Base Scores

version 3.1