Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS12ODI5LXg2aGgtY3Fmcc4AAyDd
Crossplane-runtime contains Improper Input Validation via Compositions
Summary
Fuzz testing, by Ada Logics and sponsored by the CNCF, identified a vulnerability in the fieldpath
package from crossplane/crossplane-runtime
that an already highly privileged Crossplane user able to create or update Compositions could leverage to cause an out of memory panic in Crossplane.
Details
Compositions allow users to specify patches inserting elements into arrays at an arbitrary index. When a Composition is selected for a Composite Resource, patches are evaluated and if a specified index is greater than the current size of the target slice, that slice's size will be increased to the specified index, which could lead to an excessive amount of memory usage and therefore the Pod being OOM-Killed. The index is already capped to the maximum value for a uint32 (4294967295) when parsed, but that is still an unnecessarily large value.
Workaround
Users can restrict write privileges on Compositions to only admin users as a workaround.
Permalink: https://github.com/advisories/GHSA-v829-x6hh-cqfqJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS12ODI5LXg2aGgtY3Fmcc4AAyDd
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 1 year ago
Updated: over 1 year ago
CVSS Score: 6.2
CVSS vector: CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
EPSS Percentage: 0.00107
EPSS Percentile: 0.44517
Identifiers: GHSA-v829-x6hh-cqfq, CVE-2023-27484
References:
- https://github.com/crossplane/crossplane/security/advisories/GHSA-v829-x6hh-cqfq
- https://nvd.nist.gov/vuln/detail/CVE-2023-27484
- https://github.com/advisories/GHSA-v829-x6hh-cqfq
Blast Radius: 8.6
Affected Packages
go:github.com/crossplane/crossplane
Dependent packages: 100Dependent repositories: 24
Downloads:
Affected Version Ranges: >= 1.11.0, < 1.11.2, >= 1.10.0, < 1.10.3, < 1.9.2
Fixed in: 1.11.2, 1.10.3, 1.9.2
All affected versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.4.1, 0.5.0, 0.5.1, 0.6.0, 0.7.0, 0.8.0, 0.9.0, 0.10.0, 0.11.0, 0.11.1, 0.11.2, 0.12.0, 0.13.0, 0.14.0, 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.11.1
All unaffected versions: 1.9.2, 1.10.3, 1.10.4, 1.11.2, 1.11.3, 1.11.4, 1.11.5, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.13.0, 1.13.1, 1.13.2, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.14.7, 1.14.8, 1.14.9, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.15.5, 1.15.6, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.18.0, 1.18.1