{"id":"GHSA-h479-2mv4-5c26","summary":"melisplatform/melis-front vulnerable to deserialization of untrusted data","details":"### Impact\n\nAttackers can deserialize arbitrary data on affected versions of `melisplatform/melis-front`, and ultimately leads to the execution of arbitrary PHP code on the system. Conducting this attack does not require authentication.\n\nUsers should immediately upgrade to `melisplatform/melis-front` \u003e= 5.0.1.\n\n### Patches\n\nThis issue was addressed by restricting allowed classes when deserializing user-controlled data. \n\n### References\n\n- https://github.com/melisplatform/melis-front/commit/89ae612d5f1f7aa2fb621ee8de27dffe1feb851e\n\n### For more information\n\nIf you have any questions or comments about this advisory, you can contact:\n- The original reporters, by sending an email to vulnerability.research [at] sonarsource.com;\n- The maintainers, by opening an issue on this repository.\n","aliases":["CVE-2022-39298"],"modified":"2023-11-08T04:10:18.146991Z","published":"2022-10-11T20:45:42Z","database_specific":{"github_reviewed_at":"2022-10-11T20:45:42Z","nvd_published_at":"2022-10-12T23:15:00Z","cwe_ids":["CWE-502"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/melisplatform/melis-front/security/advisories/GHSA-h479-2mv4-5c26"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39298"},{"type":"WEB","url":"https://github.com/melisplatform/melis-front/commit/89ae612d5f1f7aa2fb621ee8de27dffe1feb851e"},{"type":"PACKAGE","url":"https://github.com/melisplatform/melis-front"}],"affected":[{"package":{"name":"melisplatform/melis-front","ecosystem":"Packagist","purl":"pkg:composer/melisplatform/melis-front"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.1"}]}],"versions":["v2.1","v2.1.1","v2.2.0","v2.2.1","v2.3.0","v2.4.0","v2.5.0","v3.0.0","v3.0.1","v3.0.2","v3.0.3","v3.0.4","v3.0.5","v3.0.6","v3.0.7","v3.0.8","v3.0.9","v3.1.0","v3.1.1","v3.1.2","v3.1.3","v3.1.4","v3.1.5","v3.1.6","v3.2.0","v3.2.1","v3.2.2","v3.2.3","v3.2.4","v3.2.5","v3.2.6","v3.2.7","v3.2.8","v3.2.9","v4.0.0","v4.0.1","v4.0.2","v4.0.3","v4.0.4","v4.0.5","v4.0.6","v4.0.7","v4.0.8","v4.1.0","v4.1.1","v4.1.2","v5.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-h479-2mv4-5c26/GHSA-h479-2mv4-5c26.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L"}]}