Skip to content

Possible image tampering from missing image validation for Packages

High severity GitHub Reviewed Published Jul 27, 2023 in crossplane/crossplane • Updated Nov 7, 2023

Package

gomod github.com/crossplane/crossplane (Go)

Affected versions

< 1.11.5
>= 1.12.0, < 1.12.3

Patched versions

1.11.5
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.

References

@phisco phisco published to crossplane/crossplane Jul 27, 2023
Published by the National Vulnerability Database Jul 27, 2023
Published to the GitHub Advisory Database Jul 28, 2023
Reviewed Jul 28, 2023
Last updated Nov 7, 2023

Severity

High
8.4
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2023-38495

GHSA ID

GHSA-pj4x-2xr5-w87m

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.