{"api_version":"1","generated_at":"2026-07-24T22:37:41+00:00","cve":"CVE-2016-3957","urls":{"html":"https://cve.report/CVE-2016-3957","api":"https://cve.report/api/cve/CVE-2016-3957.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-3957","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-3957"},"summary":{"title":"CVE-2016-3957","description":"The secure_load function in gluon/utils.py in web2py before 2.14.2 uses pickle.loads to deserialize session information stored in cookies, which might allow remote attackers to execute arbitrary code by leveraging knowledge of encryption_key.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2018-02-06 18:29:00","updated_at":"2019-06-21 22:15:00"},"problem_types":["CWE-502"],"metrics":[],"references":[{"url":"https://devco.re/blog/2017/01/03/web2py-unserialize-code-execution-CVE-2016-3957/","name":"https://devco.re/blog/2017/01/03/web2py-unserialize-code-execution-CVE-2016-3957/","refsource":"MISC","tags":["Exploit","Technical Description","Third Party Advisory"],"title":"WEB2PY 反序列化的安全問題－CVE-2016-3957 | DEVCORE 戴夫寇爾","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/web2py/web2py/blob/R-2.14.1/gluon/utils.py#L200","name":"https://github.com/web2py/web2py/blob/R-2.14.1/gluon/utils.py#L200","refsource":"MISC","tags":["Third Party Advisory"],"title":"web2py/utils.py at R-2.14.1 · web2py/web2py · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://usn.ubuntu.com/4030-1/","name":"USN-4030-1","refsource":"UBUNTU","tags":[],"title":"USN-4030-1: web2py vulnerabilities | Ubuntu security notices | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-3957","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3957","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2016","cve_id":"3957","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"web2py","cpe5":"web2py","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"3957","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"web2py","cpe5":"web2py","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2016-3957","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The secure_load function in gluon/utils.py in web2py before 2.14.2 uses pickle.loads to deserialize session information stored in cookies, which might allow remote attackers to execute arbitrary code by leveraging knowledge of encryption_key."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://devco.re/blog/2017/01/03/web2py-unserialize-code-execution-CVE-2016-3957/","refsource":"MISC","url":"https://devco.re/blog/2017/01/03/web2py-unserialize-code-execution-CVE-2016-3957/"},{"name":"https://github.com/web2py/web2py/blob/R-2.14.1/gluon/utils.py#L200","refsource":"MISC","url":"https://github.com/web2py/web2py/blob/R-2.14.1/gluon/utils.py#L200"},{"refsource":"UBUNTU","name":"USN-4030-1","url":"https://usn.ubuntu.com/4030-1/"}]}},"nvd":{"publishedDate":"2018-02-06 18:29:00","lastModifiedDate":"2019-06-21 22:15:00","problem_types":["CWE-502"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":true,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:web2py:web2py:*:*:*:*:*:*:*:*","versionEndExcluding":"2.14.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2016","CveId":"3957","Ordinal":"89839","Title":"CVE-2016-3957","CVE":"CVE-2016-3957","Year":"2016"},"notes":[{"CveYear":"2016","CveId":"3957","Ordinal":"1","NoteData":"The secure_load function in gluon/utils.py in web2py before 2.14.2 uses pickle.loads to deserialize session information stored in cookies, which might allow remote attackers to execute arbitrary code by leveraging knowledge of encryption_key.","Type":"Description","Title":null},{"CveYear":"2016","CveId":"3957","Ordinal":"2","NoteData":"2018-02-06","Type":"Other","Title":"Published"},{"CveYear":"2016","CveId":"3957","Ordinal":"3","NoteData":"2019-06-21","Type":"Other","Title":"Modified"}]}}}