{"id":"CVE-2021-23592","aliases":["CVE-2021-23592","GHSA-3fpv-54ff-wqfj","SNYK-PHP-TOPTHINKFRAMEWORK-2385695"],"related":[],"kind":"vulnerability","state":"published","title":"Deserialization of Untrusted Data","summary":"The package topthink/framework before 6.0.12 are vulnerable to Deserialization of Untrusted Data due to insecure unserialize method in the Driver class.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The package topthink/framework before 6.0.12 are vulnerable to Deserialization of Untrusted Data due to insecure unserialize method in the Driver class.","source":"cvelist"},{"lang":"en","text":"The package topthink/framework before version 6.0.12 is vulnerable to Deserialization of Untrusted Data due to insecure `unserialize` method in the `Driver` class.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El paquete topthink/framework versiones anteriores a 6.0.12, es vulnerable a una Deserialización de Datos No Confiables debido al método no seguro unserialize en la clase Driver","source":"nvd"}],"published":"2022-05-06T20:05:17.579Z","modified":"2026-09-10T03:49:29.404Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L/E:P","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L/E:P","score":7.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"6.0.12","status":"affected"}],"product":"topthink/framework","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.0.12"}],"ecosystem":"Packagist","package":"topthink/framework","purl":"pkg:composer/topthink/framework","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"6.0.12"}],"vendor":"thinkphp","product":"thinkphp","cpe":"cpe:2.3:a:thinkphp:thinkphp:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-PHP-TOPTHINKFRAMEWORK-2385695","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/top-think/framework/releases/tag/v6.0.12","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/top-think/framework/commit/d3b5aeae94bc71bae97977d05cd12c3e0550905c","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23592","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/top-think/framework","tags":["package"],"sources":["ghsa"]}],"credits":["JinYiTong"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23592","url":"https://www.cve.org/CVERecord?id=CVE-2021-23592","licence":"CVE Terms of Use","modified":"2024-09-16T16:22:51.483Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3fpv-54ff-wqfj","url":"https://github.com/advisories/GHSA-3fpv-54ff-wqfj","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:29.404Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23592","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23592","licence":"Public domain","modified":"2026-06-17T03:38:50.310Z"}],"updatedAt":"2026-11-25T22:58:07.460Z","epss":{"score":0.01765,"percentile":0.78718,"date":"2026-12-01T12:00:22.000Z"}}