{"id":"CVE-2021-23592","aliases":["EUVD-2022-2172","GHSA-3fpv-54ff-wqfj","SNYK-PHP-TOPTHINKFRAMEWORK-2385695"],"status":"published","title":"Deserialization of Untrusted Data","description":"The package topthink/framework before 6.0.12 are vulnerable to Deserialization of Untrusted Data due to insecure unserialize method in the Driver class.","severity":{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.01765,"percentile":0.78352,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-502"],"published":"2022-05-06T20:05:17Z","modified":"2026-10-24T10:51:24Z","fixes":[{"ecosystem":"Packagist","package":"topthink/framework","fixed_in":["6.0.12"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"topthink/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.12"}]}]},{"source":"osv","ecosystem":"Packagist","package":"topthink/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.12"}]}],"versions":["5.0","5.0-rc1","5.0-rc2","5.0-rc3","5.0-rc4","v5.0.1","v5.0.10","v5.0.11","v5.0.12","v5.0.13","v5.0.14","v5.0.15","v5.0.16","v5.0.17","v5.0.18","v5.0.19","v5.0.2","v5.0.20","v5.0.21","v5.0.22","v5.0.23","v5.0.24","v5.0.25","v5.0.3","v5.0.4","v5.0.5","v5.0.6","v5.0.7","v5.0.8","v5.0.9","v5.1-beta.1","v5.1-rc.1","v5.1-rc.2","v5.1-rc.3","v5.1.0","v5.1.1","v5.1.10","v5.1.11","v5.1.12","v5.1.13","v5.1.14","v5.1.15","v5.1.16","v5.1.17","v5.1.18","v5.1.19","v5.1.2","v5.1.20","v5.1.21","v5.1.22","v5.1.23","v5.1.24","v5.1.25","v5.1.26","v5.1.27","v5.1.28","v5.1.29","v5.1.3","v5.1.30","v5.1.31","v5.1.32","v5.1.33","v5.1.34","v5.1.35","v5.1.36","v5.1.37","v5.1.37.1","v5.1.38","v5.1.38.1","v5.1.39","v5.1.4","v5.1.40","v5.1.41","v5.1.42","v5.1.5","v5.1.6","v5.1.7","v5.1.8","v5.1.9","v5.2-beta.2","v5.2-beta.3","v5.2-rc1","v6.0.0","v6.0.0-rc2","v6.0.0-rc3","v6.0.0-rc4","v6.0.0-rc5","v6.0.1","v6.0.10","v6.0.11","v6.0.2","v6.0.3","v6.0.4","v6.0.5","v6.0.6","v6.0.7","v6.0.8","v6.0.9"]}],"products":[{"vendor":"thinkphp","product":"thinkphp"}],"references":[{"url":"https://snyk.io/vuln/SNYK-PHP-TOPTHINKFRAMEWORK-2385695","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/top-think/framework/releases/tag/v6.0.12","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/top-think/framework/commit/d3b5aeae94bc71bae97977d05cd12c3e0550905c","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23592","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-3fpv-54ff-wqfj"},{"url":"https://github.com/top-think/framework","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-23592","title":"Deserialization of Untrusted Data","description":"The package topthink/framework before 6.0.12 are vulnerable to Deserialization of Untrusted Data due to insecure unserialize method in the Driver class.","status":"published","published":"2022-05-06T20:05:17.579Z","modified":"2024-09-16T16:22:51.483Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L/E:P","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:33:00.488332Z"}],"euvd":[{"id":"EUVD-2022-2172","description":"The package topthink/framework before 6.0.12 are vulnerable to Deserialization of Untrusted Data due to insecure unserialize method in the Driver class.","status":"published","published":"2022-05-06T20:05:17Z","modified":"2024-09-16T16:22:51Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L/E:P","level":"high"}],"updated_at":"2026-11-03T00:55:52.590586Z"}],"ghsa":[{"id":"GHSA-3fpv-54ff-wqfj","title":"Deserialization of Untrusted Data in topthink/framework","description":"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.","status":"published","published":"2022-05-07T00:00:31Z","modified":"2023-02-01T05:02:07Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:36:30.61364Z"}],"nvd":[{"id":"CVE-2021-23592","description":"The package topthink/framework before 6.0.12 are vulnerable to Deserialization of Untrusted Data due to insecure unserialize method in the Driver class.","status":"published","published":"2022-05-06T20:15:07.807Z","modified":"2026-06-17T03:38:50.31Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L","level":"high","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:07:06.029737Z"}],"osv":[{"id":"CVE-2021-23592","description":"The package topthink/framework before 6.0.12 are vulnerable to Deserialization of Untrusted Data due to insecure unserialize method in the Driver class.","status":"published","published":"2022-05-06T20:15:07.807Z","modified":"2026-10-24T10:51:24.307366982Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:18.778776Z"},{"id":"GHSA-3fpv-54ff-wqfj","title":"Deserialization of Untrusted Data in topthink/framework","description":"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.","status":"published","published":"2022-05-07T00:00:31Z","modified":"2026-09-10T03:49:29.404809975Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T15:46:35.747385Z"}]}}
