Skip to content

Denial of service from large image

Low 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

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.

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

Low

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
Required
Scope
Changed
Confidentiality
None
Integrity
None
Availability
Low

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:N/A:L

EPSS score

0.057%
(26th percentile)

Weaknesses

CVE ID

CVE-2023-37900

GHSA ID

GHSA-68p4-95xf-7gx8

Source code

Credits

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