CVE-2022-41939
knative.dev/func is is a client library and CLI enabling the development and deployment of Kubernetes functions.
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden. Der Angriff kann über die verwundbare Komponente hinaus wirken.
Betroffene Produkte · Linuxfoundation
| Produkt | Betroffene Versionen |
|---|---|
| Knative Func | vor 1.8.1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- https://github.com/knative/func/blob/5ca77d38744d3481cc0b795f607c5859b19588fc/buildpacks/builder.go#L37-L41
- https://github.com/knative/func/pull/1442
- https://github.com/knative/func/releases/tag/knative-v1.8.1
- https://github.com/knative/func/security/advisories/GHSA-5336-2g3f-9g3m
- https://github.com/knative/func/blob/5ca77d38744d3481cc0b795f607c5859b19588fc/buildpacks/builder.go#L37-L41
- https://github.com/knative/func/pull/1442
- https://github.com/knative/func/releases/tag/knative-v1.8.1
- https://github.com/knative/func/security/advisories/GHSA-5336-2g3f-9g3m