{"answers":{"affected":"6 open source packages ship an affected version, including github.com/crossplane/crossplane and crossplane. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-38495 in the wild and no public exploit code.","fix":"Upgrade github.com/crossplane/crossplane to a fixed version for your release line: 1.11.5 or 1.12.3.","what":"CVE-2023-38495 is a high-severity vulnerability in crossplane, published on 27 Jul 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-38495 and fix it if it is affected.\n\nWhat it is: CVE-2023-38495 is a high-severity vulnerability in crossplane, published on 27 Jul 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-38495 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/crossplane/crossplane (Go): affected all versions; fixed in 1.11.5, 1.12.3\n- github.com/crossplane/crossplane (Go): affected all versions; fixed in 1.11.5\n- github.com/crossplane/crossplane (Go): affected all versions; fixed in 1.11.5\n- github.com/crossplane/crossplane (Go): affected from 1.12.0; fixed in 1.12.3\n- github.com/crossplane/crossplane (Go): affected from 1.12.0; fixed in 1.12.3\n- crossplane (Bitnami): affected all versions; fixed in 1.11.5, 1.12.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-38495/ (Markdown: https://insights.sbomify.com/CVE-2023-38495/index.md)","id":"CVE-2023-38495","markdown":"https://insights.sbomify.com/CVE-2023-38495/index.md","name":"CVE-2023-38495","record":{"aliases":["BIT-crossplane-2023-38495","GHSA-pj4x-2xr5-w87m","GO-2023-1980"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Crossplane control plane","requires_auth":"none","summary":"Attackers can tamper with Crossplane packages due to missing validation, potentially leading to code execution or security bypasses in cloud native control planes.","user_interaction":"required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"crossplane","vendor":"cncf"}],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Crossplane is a framework for building cloud native control planes without needing to write code. In versions prior to 1.11.5, 1.12.3, and 1.13.0, Crossplane's 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. The problem has been fixed in 1.11.5, 1.12.3 and 1.13.0. As a workaround, only use images from trusted sources and keep Package editing/creating privileges to administrators only.","ecosystems":["Bitnami","Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Crossplane vulnerable to possible image tampering from missing image validation for Packages","id":"CVE-2023-38495","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"other","year":"2023"},"n_packages":6,"n_references":2,"next":{"headline":"Apptainer's ineffective privileges drop when requesting container network","id":"CVE-2023-38496"},"packages":[{"ecosystem":"Bitnami","fixed":["1.11.5","1.12.3"],"introduced":["0","1.12.0"],"last_affected":[],"package":"crossplane","purl":"pkg:bitnami/crossplane","source":"BIT-crossplane-2023-38495"},{"ecosystem":"Go","fixed":["1.11.5","1.12.3"],"introduced":["0","1.12.0"],"last_affected":[],"package":"github.com/crossplane/crossplane","purl":"pkg:golang/github.com/crossplane/crossplane","source":"GO-2023-1980"},{"ecosystem":"Go","fixed":["1.11.5"],"introduced":["0"],"last_affected":[],"package":"github.com/crossplane/crossplane","purl":null,"source":"GHSA-pj4x-2xr5-w87m"},{"ecosystem":"Go","fixed":["1.11.5"],"introduced":["0"],"last_affected":[],"package":"github.com/crossplane/crossplane","purl":"pkg:golang/github.com/crossplane/crossplane","source":"GHSA-pj4x-2xr5-w87m"},{"ecosystem":"Go","fixed":["1.12.3"],"introduced":["1.12.0"],"last_affected":[],"package":"github.com/crossplane/crossplane","purl":null,"source":"GHSA-pj4x-2xr5-w87m"},{"ecosystem":"Go","fixed":["1.12.3"],"introduced":["1.12.0"],"last_affected":[],"package":"github.com/crossplane/crossplane","purl":"pkg:golang/github.com/crossplane/crossplane","source":"GHSA-pj4x-2xr5-w87m"}],"prev":{"headline":"The cloud version of the MeterSphere interface leaks some sensitive data without authentication","id":"CVE-2023-38494"},"products":["crossplane"],"published":"2023-07-27","related":[{"cvss_score":3.4,"headline":"Crossplane vulnerable to denial of service from large image","id":"CVE-2023-37900","kev_date_added":null,"published":"2023-07-27"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-10-10","vendors":["crossplane"]},"summary":"Attackers can tamper with Crossplane packages due to missing validation, potentially leading to code execution or security bypasses in cloud native control planes.","url":"https://insights.sbomify.com/CVE-2023-38495/"}