{"id":"GHSA-6r7r-jj8h-pq6v","summary":"Deserialization of Untrusted Data in Jython","details":"Jython before 2.7.1b3 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.","aliases":["CVE-2016-4000"],"modified":"2026-07-02T21:30:14.555746172Z","published":"2022-05-13T01:25:20Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-07-06T19:55:30Z","nvd_published_at":"2017-07-06T16:29:00Z","cwe_ids":["CWE-502"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-4000"},{"type":"WEB","url":"https://github.com/jython/jython/commit/ee4200fdd5385d3f74a5cf1a781fa52d33bbb274"},{"type":"WEB","url":"https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html"},{"type":"WEB","url":"https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html"},{"type":"WEB","url":"https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2020.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujan2020.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuapr2020.html"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGPYTHON-31451"},{"type":"WEB","url":"https://security.gentoo.org/glsa/201710-28"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2016-4000"},{"type":"WEB","url":"https://lists.apache.org/thread.html/0919ec1db20b1022f22b8e78f355667df74d6142b463ff17d03ad533@%3Cdevnull.infra.apache.org%3E"},{"type":"WEB","url":"https://hg.python.org/jython/rev/d06e29d100c0"},{"type":"WEB","url":"https://hg.python.org/jython/file/v2.7.1rc1/NEWS"},{"type":"PACKAGE","url":"https://github.com/jython/jython"},{"type":"WEB","url":"https://bugs.jython.org/issue2454"},{"type":"WEB","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864859"},{"type":"WEB","url":"http://bugs.jython.org/issue2454"},{"type":"WEB","url":"http://www.debian.org/security/2017/dsa-3893"},{"type":"WEB","url":"http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html"}],"affected":[{"package":{"name":"org.python:jython-standalone","ecosystem":"Maven","purl":"pkg:maven/org.python/jython-standalone"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.1b3"}]}],"versions":["2.5.1","2.5.2","2.5.3","2.5.3-rc1","2.5.4-rc1","2.7-b1","2.7-b2","2.7-b3","2.7-b4","2.7-rc1","2.7-rc2","2.7-rc3","2.7.0","2.7.1b1","2.7.1b2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-6r7r-jj8h-pq6v/GHSA-6r7r-jj8h-pq6v.json"}},{"package":{"name":"org.python:jython","ecosystem":"Maven","purl":"pkg:maven/org.python/jython"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.1b3"}]}],"versions":["2.2","2.2-beta1","2.2-beta2","2.2-rc1","2.2-rc3","2.2.1","2.5.0","2.5.3","2.5.3-rc1","2.5.4-rc1","2.7-b1","2.7-b2","2.7-b3","2.7-b4","2.7-rc1","2.7-rc2","2.7-rc3","2.7.0","2.7.1b1","2.7.1b2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-6r7r-jj8h-pq6v/GHSA-6r7r-jj8h-pq6v.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}