CVE-2023-37900: Crossplane vulnerable to denial of service from large image
Impact
An high-privileged user could create a Package referencing an arbitrarily large image containing that Crossplane would then parse, possibly resulting in exhausting all the available memory and therefore in the container being OOMKilled.
The impact is low due to the high privileges required to be able to create the Package and the eventually consistency nature of controller.
Patches
The problem has been fixed in 1.11.5, 1.12.3 and 1.13.0, all the supported versions of Crossplane at the time of writing.
Workarounds
Only using images from trusted sources and keeping Package editing/creating privileges to administrators only, which should be both considered already best practices.
References
See ADA-XP-23-16 in the Security Audit's report.
Credits
This was reported as ADA-XP-23-16 by @AdamKorcz and @DavidKorczynski from Ada Logic and facilitated by OSTIF as part of the Security Audit sponsored by CNCF.
Other sources
Crossplane is a framework for building cloud native control planes without needing to write code. In versions prior to 1.11.5, 1.12.3, and 1.13.0, a high-privileged user could create a Package referencing an arbitrarily large image containing that Crossplane would then parse, possibly resulting in exhausting all the available memory and therefore in the container being OOMKilled. The impact is limited due to the high privileges required to be able to create the Package and the eventually consistency nature of controller. This issue is fixed in versions 1.11.5, 1.12.3, and 1.13.0.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2023-37900?
CVE-2023-37900 is a vulnerability in Crossplane, a framework for building cloud native control planes, that allows a high-privileged user to create a Package referencing an arbitrarily large image, potentially leading to resource exhaustion and the container being OOMKilled.
What is the impact of CVE-2023-37900?
The impact of CVE-2023-37900 is low, as it requires high privileges and can result in resource exhaustion and the container being OOMKilled.
What software is affected by CVE-2023-37900?
CVE-2023-37900 affects Crossplane versions up to 1.11.5 and versions between 1.12.0 and 1.12.3.
How can I fix CVE-2023-37900?
To fix CVE-2023-37900, upgrade to Crossplane version 1.12.3.
Where can I find more information about CVE-2023-37900?
You can find more information about CVE-2023-37900 in the following references: [link1], [link2], [link3].