CVE-2023-37900: Github.com/crossplane/crossplane Denial of Service Vulnerability
LOWCVE-2023-37900 is a LOW (CVSS 3.4) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Github.com/crossplane/crossplane libraries in the Go ecosystem. The issue involves denial of service from large image. Remediation is available by upgrading affected packages to version 1.11.5, 1.12.3.
CVE-2023-37900 at a Glance
Security Impact
CVSS: 3.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:N/A:L).
How to Fix CVE-2023-37900
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.11.5
Upgrade github.com/crossplane/crossplane to 1.12.3
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-37900, 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.11.5), 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-37900 Affected Github.com/crossplane/crossplane Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/crossplane/crossplane
|
Go |
< 1.11.5
|
1.11.5
|
|
github.com/crossplane/crossplane
|
Go |
≥ 1.12.0
< 1.12.3
|
1.12.3
|
References
Frequently Asked Questions
What is CVE-2023-37900?
Which Github.com/crossplane/crossplane versions are affected?
What version fixes CVE-2023-37900?
Is github.com/crossplane/crossplane affected?
What is the CVSS score of CVE-2023-37900?
What CWE is associated with CVE-2023-37900?
How can I check Go dependencies for CVE-2023-37900?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-68p4-95xf-7gx8",
"modified" : "2023-07-28T15:36:08Z",
"published" : "2023-07-28T15:36:08Z",
"aliases" : [ "CVE-2023-37900" ],
"summary" : "Denial of service from large image",
"details" : "### Impact\n\nAn 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.\n\nThe impact is low due to the high privileges required to be able to create the Package and the eventually consistency nature of controller.\n\n### Patches\n\nThe 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.\n\n### Workarounds\n\nOnly using images from trusted sources and keeping Package editing/creating privileges to administrators only, which should be both considered already best practices.\n\n### References\n\nSee `ADA-XP-23-16` in the Security Audit's [report](https://github.com/crossplane/crossplane/blob/ac8b24fe739c5d942ea885157148497f196c3dd3/security/ADA-security-audit-23.pdf).\n\n### Credits\n\nThis 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/crossplane/crossplane"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.11.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/crossplane/crossplane"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.12.0"
}, {
"fixed" : "1.12.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/crossplane/crossplane/security/advisories/GHSA-68p4-95xf-7gx8"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-37900"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/crossplane/crossplane"
}, {
"type" : "WEB",
"url" : "https://github.com/crossplane/crossplane/blob/ac8b24fe739c5d942ea885157148497f196c3dd3/security/ADA-security-audit-23.pdf"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-28T15:36:08Z",
"nvd_published_at" : "2023-07-27T16:15:10Z"
}
}