GHSA-68p4-95xf-7gx8

Suggest an improvement
Source
https://github.com/advisories/GHSA-68p4-95xf-7gx8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/07/GHSA-68p4-95xf-7gx8/GHSA-68p4-95xf-7gx8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-68p4-95xf-7gx8
Aliases
Related
Published
2023-07-28T15:36:08Z
Modified
2024-08-20T20:58:56.506068Z
Severity
  • 3.4 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:N/A:L CVSS Calculator
Summary
Denial of service from large image
Details

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.

Database specific
{
    "nvd_published_at": "2023-07-27T16:15:10Z",
    "cwe_ids": [
        "CWE-400"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2023-07-28T15:36:08Z"
}
References

Affected packages

Go / github.com/crossplane/crossplane

Package

Name
github.com/crossplane/crossplane
View open source insights on deps.dev
Purl
pkg:golang/github.com/crossplane/crossplane

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.5

Go / github.com/crossplane/crossplane

Package

Name
github.com/crossplane/crossplane
View open source insights on deps.dev
Purl
pkg:golang/github.com/crossplane/crossplane

Affected ranges

Type
SEMVER
Events
Introduced
1.12.0
Fixed
1.12.3