CVE-2023-38495: Github.com/crossplane/crossplane Possible Image Tampering From Missing Vulnerability
HIGHCVE-2023-38495 is a HIGH (CVSS 8.3) possible image tampering from missing vulnerability (CWE-20: Improper Input Validation) affecting Github.com/crossplane/crossplane libraries in the Go ecosystem. The issue involves possible image tampering from missing image validation for packages. Remediation is available by upgrading affected packages to version 1.11.5, 1.12.3.
CVE-2023-38495 at a Glance
Security Impact
CVSS: 8.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2023-38495
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-38495, 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. 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-38495 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-38495?
Which Github.com/crossplane/crossplane versions are affected?
What version fixes CVE-2023-38495?
Is github.com/crossplane/crossplane affected?
What is the CVSS score of CVE-2023-38495?
What CWE is associated with CVE-2023-38495?
How can I check Go dependencies for CVE-2023-38495?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pj4x-2xr5-w87m",
"modified" : "2023-07-28T15:33:38Z",
"published" : "2023-07-28T15:33:38Z",
"aliases" : [ "CVE-2023-38495" ],
"summary" : "Possible image tampering from missing image validation for Packages",
"details" : "### Impact\n\nCrossplanes image backend does not validate the byte contents of Crossplane packages. As such, Crossplane does not detect if an attacker has tampered with a Package.\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-11` 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-11` 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:H/PR:N/UI:R/S:C/C:H/I:H/A:H"
} ],
"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-pj4x-2xr5-w87m"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-38495"
}, {
"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-20" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-28T15:33:38Z",
"nvd_published_at" : "2023-07-27T19:15:10Z"
}
}