CVE-2023-27484: Github.com/crossplane/crossplane Crossplane-runtime Contains Improper Input Validation Vulnerability
MODERATECVE-2023-27484 is a MODERATE (CVSS 6.2) crossplane-runtime contains improper input validation vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Github.com/crossplane/crossplane libraries in the Go ecosystem. The issue involves crossplane-runtime contains improper input validation via compositions. Remediation is available by upgrading affected packages to version 1.9.2, 1.10.3, 1.11.2.
CVE-2023-27484 at a Glance
Security Impact
CVSS: 6.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H).
How to Fix CVE-2023-27484
To remediate this vulnerability, upgrade all affected Github.com/crossplane/crossplane dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/crossplane/crossplane to 1.9.2
Upgrade github.com/crossplane/crossplane to 1.10.3
Upgrade github.com/crossplane/crossplane to 1.11.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/crossplane/crossplane
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-27484, inspect your project dependencies for Github.com/crossplane/crossplane:
inspect dependencies for github.com/crossplane/crossplane
Analyze the terminal output to locate any version of Github.com/crossplane/crossplane in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.9.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Github.com/crossplane/crossplane, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-27484 Affected Github.com/crossplane/crossplane Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/crossplane/crossplane
|
Go |
< 1.9.2
|
1.9.2
|
|
github.com/crossplane/crossplane
|
Go |
≥ 1.10.0
< 1.10.3
|
1.10.3
|
|
github.com/crossplane/crossplane
|
Go |
≥ 1.11.0
< 1.11.2
|
1.11.2
|
References
Frequently Asked Questions
What is CVE-2023-27484?
Which Github.com/crossplane/crossplane versions are affected?
What version fixes CVE-2023-27484?
Is github.com/crossplane/crossplane affected?
What is the CVSS score of CVE-2023-27484?
What CWE is associated with CVE-2023-27484?
How can I check Go dependencies for CVE-2023-27484?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v829-x6hh-cqfq",
"modified" : "2023-03-10T23:47:53Z",
"published" : "2023-03-10T23:47:53Z",
"aliases" : [ "CVE-2023-27484" ],
"summary" : "Crossplane-runtime contains Improper Input Validation via Compositions",
"details" : "### Summary\n\nFuzz testing, by Ada Logics and sponsored by the CNCF, identified a [vulnerability](https://github.com/crossplane/crossplane-runtime/security/advisories/GHSA-vfvj-3m3g-m532) 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.\n\n### Details\n\nCompositions 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.\n\n### Workaround\n\nUsers can restrict write privileges on Compositions to only admin users as a workaround.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/crossplane/crossplane"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.9.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/crossplane/crossplane"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.10.0"
}, {
"fixed" : "1.10.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/crossplane/crossplane"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.11.0"
}, {
"fixed" : "1.11.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/crossplane/crossplane/security/advisories/GHSA-v829-x6hh-cqfq"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-27484"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/crossplane/crossplane"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-400" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-03-10T23:47:53Z",
"nvd_published_at" : "2023-03-09T21:15:00Z"
}
}