{"id":"GHSA-m3m3-6gww-7gj9","aliases":["CVE-2022-39297"],"title":"melisplatform/melis-cms vulnerable to deserialization of untrusted data","description":"### Impact\n\nAttackers can deserialize arbitrary data on affected versions of `melisplatform/melis-cms`, 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-cms` >= 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-cms/commit/d124b2474699a679a24ec52620cadceb3d4cec11\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","severity":"high","score":7.7,"published":"2022-10-11T20:45:54.000Z","modified":"2023-11-08T04:10:18.084Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"melisplatform/melis-cms","ranges":[{"events":[{"introduced":"0"},{"fixed":"5.0.1"}],"type":"ECOSYSTEM"}],"versions":["v2.1","v2.1.1","v2.2.0","v2.2.1","v2.3.0","v2.3.1","v2.4.0","v2.5.0","v3.0.0","v3.0.1","v3.0.10","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.10","v3.1.11","v3.1.12","v3.1.13","v3.1.2","v3.1.3","v3.1.4","v3.1.5","v3.1.6","v3.1.7","v3.1.8","v3.1.9","v3.2.0","v3.2.1","v3.2.10","v3.2.11","v3.2.12","v3.2.13","v3.2.14","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.10","v4.0.11","v4.0.2","v4.0.3","v4.0.4","v4.0.5","v4.0.6","v4.0.7","v4.0.8","v4.0.9","v4.1.0","v4.1.1","v4.1.2","v5.0.0"],"fixed":["5.0.1"]}],"references":["https://github.com/melisplatform/melis-cms/security/advisories/GHSA-m3m3-6gww-7gj9","https://nvd.nist.gov/vuln/detail/CVE-2022-39297","https://github.com/melisplatform/melis-cms/commit/d124b2474699a679a24ec52620cadceb3d4cec11","https://github.com/melisplatform/melis-cms"],"sources":[{"name":"OSV","id":"GHSA-m3m3-6gww-7gj9","modified":"2023-11-08T04:10:18.084977Z","url":"https://osv.dev/vulnerability/GHSA-m3m3-6gww-7gj9"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L","score":7.7}]}