{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/85232?format=json","vulnerability_id":"VCID-6zc1-92cd-skeu","summary":"CWA-2023-004: Excessive number of function parameters in compiled Wasm\nA specifically crafted Wasm file can cause the VM to consume excessive amounts of memory when compiling a contract.\nThis can lead to high memory usage, slowdowns, potentially a crash and can poison a lock in the VM,\npreventing any further interaction with contracts.\n\nFor more information, see [CWA-2023-004](https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2023-004.md).","aliases":[{"alias":"GHSA-75qh-gg76-p2w4"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/513612?format=json","purl":"pkg:cargo/cosmwasm-vm@1.2.8","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:cargo/cosmwasm-vm@1.2.8"},{"url":"http://public2.vulnerablecode.io/api/packages/513609?format=json","purl":"pkg:cargo/cosmwasm-vm@1.3.4","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:cargo/cosmwasm-vm@1.3.4"},{"url":"http://public2.vulnerablecode.io/api/packages/513611?format=json","purl":"pkg:cargo/cosmwasm-vm@1.4.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:cargo/cosmwasm-vm@1.4.2"},{"url":"http://public2.vulnerablecode.io/api/packages/513614?format=json","purl":"pkg:cargo/cosmwasm-vm@1.5.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:cargo/cosmwasm-vm@1.5.1"},{"url":"http://public2.vulnerablecode.io/api/packages/107989?format=json","purl":"pkg:golang/github.com/CosmWasm/wasmvm@1.2.5","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:golang/github.com/CosmWasm/wasmvm@1.2.5"},{"url":"http://public2.vulnerablecode.io/api/packages/107990?format=json","purl":"pkg:golang/github.com/CosmWasm/wasmvm@1.3.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:golang/github.com/CosmWasm/wasmvm@1.3.1"},{"url":"http://public2.vulnerablecode.io/api/packages/107991?format=json","purl":"pkg:golang/github.com/CosmWasm/wasmvm@1.4.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:golang/github.com/CosmWasm/wasmvm@1.4.2"},{"url":"http://public2.vulnerablecode.io/api/packages/107992?format=json","purl":"pkg:golang/github.com/CosmWasm/wasmvm@1.5.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:golang/github.com/CosmWasm/wasmvm@1.5.1"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/513608?format=json","purl":"pkg:cargo/cosmwasm-vm@1.3.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-6zc1-92cd-skeu"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:cargo/cosmwasm-vm@1.3.0"},{"url":"http://public2.vulnerablecode.io/api/packages/513610?format=json","purl":"pkg:cargo/cosmwasm-vm@1.4.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-6zc1-92cd-skeu"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:cargo/cosmwasm-vm@1.4.0"},{"url":"http://public2.vulnerablecode.io/api/packages/513613?format=json","purl":"pkg:cargo/cosmwasm-vm@1.5.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-6zc1-92cd-skeu"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:cargo/cosmwasm-vm@1.5.0"}],"references":[{"reference_url":"https://forum.cosmos.network/t/high-severity-security-patch-upcoming-on-wed-10th-cwa-2023-004-brought-to-you-by-certik-and-confio/12840","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"value":"6.9","scoring_system":"cvssv4","scoring_elements":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://forum.cosmos.network/t/high-severity-security-patch-upcoming-on-wed-10th-cwa-2023-004-brought-to-you-by-certik-and-confio/12840"},{"reference_url":"https://github.com/advisories/GHSA-75qh-gg76-p2w4","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"6.9","scoring_system":"cvssv4","scoring_elements":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-75qh-gg76-p2w4"},{"reference_url":"https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2023-004.md","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"value":"6.9","scoring_system":"cvssv4","scoring_elements":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2023-004.md"},{"reference_url":"https://rustsec.org/advisories/RUSTSEC-2024-0366.html","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"value":"6.9","scoring_system":"cvssv4","scoring_elements":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://rustsec.org/advisories/RUSTSEC-2024-0366.html"},{"reference_url":"https://www.certik.com/resources/blog/risk-and-security-enhancement-for-app-chains-an-in-depth-writeup-of-cwa-2023","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"value":"6.9","scoring_system":"cvssv4","scoring_elements":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://www.certik.com/resources/blog/risk-and-security-enhancement-for-app-chains-an-in-depth-writeup-of-cwa-2023"}],"weaknesses":[{"cwe_id":400,"name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources."}],"exploits":[],"severity_range_score":"4.0 - 6.9","exploitability":"0.5","weighted_severity":"6.2","risk_score":3.1,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-6zc1-92cd-skeu"}