{"answers":{"affected":"5 open source packages ship an affected version, including github.com/crossplane/crossplane-runtime. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-27483 in the wild and no public exploit code.","fix":"Upgrade github.com/crossplane/crossplane-runtime to a fixed version for your release line: 0.19.2 or 0.16.1.","what":"CVE-2023-27483 is a medium-severity denial of service vulnerability in crossplane-runtime, published on 9 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-27483 and fix it if it is affected.\n\nWhat it is: CVE-2023-27483 is a medium-severity denial of service vulnerability in crossplane-runtime, published on 9 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-27483 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/crossplane/crossplane-runtime (Go): affected from 0.17.0; fixed in 0.19.2\n- github.com/crossplane/crossplane-runtime (Go): affected from 0.17.0; fixed in 0.19.2\n- github.com/crossplane/crossplane-runtime (Go): affected from 0.6.0; fixed in 0.16.1, 0.19.2\n- github.com/crossplane/crossplane-runtime (Go): affected from 0.6.0; fixed in 0.16.1\n- github.com/crossplane/crossplane-runtime (Go): affected from 0.6.0; fixed in 0.16.1\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-27483/ (Markdown: https://insights.sbomify.com/CVE-2023-27483/index.md)","id":"CVE-2023-27483","markdown":"https://insights.sbomify.com/CVE-2023-27483/index.md","name":"CVE-2023-27483","record":{"aliases":["GHSA-vfvj-3m3g-m532","GO-2023-1623"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go Kubernetes controller library","requires_auth":"none","summary":"Attackers can cause out-of-memory panics in applications using crossplane-runtime by providing large array indices to the SetValue method.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"crossplane-runtime","vendor":"crossplane"}],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"crossplane-runtime is a set of go libraries used to build Kubernetes controllers in Crossplane and its related stacks. An out of memory panic vulnerability has been discovered in affected versions. Applications that use the `Paved` type's `SetValue` method with user provided input without proper validation might use excessive amounts of memory and cause an out of memory panic. In the fieldpath package, the Paved.SetValue method sets a value on the Paved object according to the provided path, without any validation. This allows setting values in slices at any provided index, which grows the target array up to the requested index, the index is currently capped at max uint32 (4294967295) given how indexes are parsed,  but that is still an unnecessarily large value. If callers are not validating paths' indexes on their own, which most probably are not going to do, given that the input is parsed directly in the SetValue method, this could allow users to consume arbitrary amounts of memory. Applications that do not use the `Paved` type's `SetValue` method are not affected. This issue has been addressed in versions 0.16.1 and 0.19.2. Users are advised to upgrade. Users unable to upgrade can parse and validate the path before passing it to the `SetValue` method of the `Paved` type, constraining the index size as deemed appropriate.","ecosystems":["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":"fieldpath's Paved.SetValue allows growing arrays up to arbitrary sizes in crossplane-runtime","id":"CVE-2023-27483","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":5,"n_references":2,"next":{"headline":"Unchecked fieldpath index in Composition's patches can lead to arbitrary memory allocation in crossplane","id":"CVE-2023-27484"},"packages":[{"ecosystem":"Go","fixed":["0.19.2"],"introduced":["0.17.0"],"last_affected":[],"package":"github.com/crossplane/crossplane-runtime","purl":null,"source":"GHSA-vfvj-3m3g-m532"},{"ecosystem":"Go","fixed":["0.19.2"],"introduced":["0.17.0"],"last_affected":[],"package":"github.com/crossplane/crossplane-runtime","purl":"pkg:golang/github.com/crossplane/crossplane-runtime","source":"GHSA-vfvj-3m3g-m532"},{"ecosystem":"Go","fixed":["0.16.1","0.19.2"],"introduced":["0.6.0","0.17.0"],"last_affected":[],"package":"github.com/crossplane/crossplane-runtime","purl":"pkg:golang/github.com/crossplane/crossplane-runtime","source":"GO-2023-1623"},{"ecosystem":"Go","fixed":["0.16.1"],"introduced":["0.6.0"],"last_affected":[],"package":"github.com/crossplane/crossplane-runtime","purl":null,"source":"GHSA-vfvj-3m3g-m532"},{"ecosystem":"Go","fixed":["0.16.1"],"introduced":["0.6.0"],"last_affected":[],"package":"github.com/crossplane/crossplane-runtime","purl":"pkg:golang/github.com/crossplane/crossplane-runtime","source":"GHSA-vfvj-3m3g-m532"}],"prev":{"headline":"Auth bypass in core","id":"CVE-2023-27482"},"products":["crossplane-runtime"],"published":"2023-03-09","related":[],"sources":[{"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":"partial"},"state":"PUBLISHED","updated":"2025-02-25","vendors":["crossplane"]},"summary":"Attackers can cause out-of-memory panics in applications using crossplane-runtime by providing large array indices to the SetValue method.","url":"https://insights.sbomify.com/CVE-2023-27483/"}