GHSA-68p4-95xf-7gx8
Denial of service from large image
Quick fix
GHSA-68p4-95xf-7gx8 — github.com/crossplane/crossplane: upgrade to the fixed version with the command below.
go get github.com/crossplane/crossplane@v1.11.5Details
### 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](https://github.com/crossplane/crossplane/blob/ac8b24fe739c5d942ea885157148497f196c3dd3/security/ADA-security-audit-23.pdf).
### 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 1.11.5go get github.com/crossplane/crossplane@v1.11.51.12.0Fixed in: 1.12.3go get github.com/crossplane/crossplane@v1.12.3References
- https://github.com/crossplane/crossplane/security/advisories/GHSA-68p4-95xf-7gx8[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2023-37900[ADVISORY]
- https://github.com/crossplane/crossplane[PACKAGE]
- https://github.com/crossplane/crossplane/blob/ac8b24fe739c5d942ea885157148497f196c3dd3/security/ADA-security-audit-23.pdf[WEB]