github.com/crossplane/crossplane
Affected
- introduced
0, fixed1.11.5(semver)
Fixed versions
1.11.5
Fix
- Fixed version
1.11.5go get github.com/crossplane/[email protected]
Advisory
Also known as: BIT-crossplane-2023-37900, CVE-2023-37900, GO-2023-1979
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.
Low Basis: The source's own band: LOW
0, fixed 1.11.5 (semver)1.11.5
1.11.5go get github.com/crossplane/[email protected]1.12.0, fixed 1.12.3 (semver)1.12.3
1.12.3go get github.com/crossplane/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0