Bug 1217156 - VUL-0: CVE-2023-47630: kyverno: Attacker can cause Kyverno user to unintentionally consume insecure image
Summary: VUL-0: CVE-2023-47630: kyverno: Attacker can cause Kyverno user to unintentio...
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Security (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/385158/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-47630:7.1:(AV:...
Keywords:
Depends on:
Blocks: CVE-2023-47630
  Show dependency treegraph
 
Reported: 2023-11-15 08:37 UTC by SMASH SMASH
Modified: 2023-11-15 08:45 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2023-11-15 08:37:50 UTC
An issue was found in Kyverno that allowed an attacker to control the digest of images used by Kyverno users. The issue would require the attacker to compromise the registry that the Kyverno fetch their images from. The attacker could then return a vulnerable image to the the user and leverage that to further escalate their position. As such, the attacker would need to know which images the Kyverno user consumes and know of one of multiple exploitable vulnerabilities in previous digests of the images. Alternatively, if the attacker has compromised the registry, they could craft a malicious image with a different digest with intentionally placed vulnerabilities and deliver the image to the user.

An attacker was not be able to control other parameters of the image than the digest by exploiting this vulnerability.

Users pulling their images from trusted registries are not impacted by this vulnerability. There is no evidence of this being exploited in the wild.

The issue has been patched in 1.11.0.

The vulnerability was found during an ongoing security audit of Kyverno conducted by Ada Logics, facilitated by OSTIF and funded by the CNCF.

References:
https://github.com/kyverno/kyverno/security/advisories/GHSA-3hfq-cx9j-923w
Comment 1 Gabriele Sonnu 2023-11-15 08:45:18 UTC
According to the advisory [0], this is fixed in version 1.10.5 and 1.11.0. We already ship the former in factory, so nothing to do.