GitHub Advisoryadvisory · Go
GHSA-pj4x-2xr5-w87m Possible image tampering from missing image validation for Packages
HIGH
Official page ↗
- Aliases
- CVE-2023-38495
- Ecosystem
- Go
- Packages
- github.com/crossplane/crossplane
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-20
- Reviewed
- 2023-07-28
Affected packages
• Go github.com/crossplane/crossplane: < 1.11.5 → fixed in 1.11.5
• Go github.com/crossplane/crossplane: >= 1.12.0, < 1.12.3 → fixed in 1.12.3
Description
Impact
Crossplanes image backend does not validate the byte contents of Crossplane packages. As such, Crossplane does not detect if an attacker has tampered with a Package.
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-11` in the Security Audit's report.
Credits
This was reported as `ADA-XP-23-11` by @AdamKorcz and @DavidKorczynski from Ada Logic and facilitated by OSTIF as part of the Security Audit sponsored by CNCF.
Related
Alias · CVE (1)
- CVE-2023-38495 Crossplane is a framework for building cloud native control planes without needing to write code. vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://github.com/crossplane/crossplane/security/advisories/GHSA-pj4x-2xr5-w87m web
- https://nvd.nist.gov/vuln/detail/CVE-2023-38495 advisory
- https://github.com/crossplane/crossplane package
- https://github.com/crossplane/crossplane/blob/ac8b24fe739c5d942ea885157148497f196c3dd3/security/ADA-security-audit-23.pdf web