Deserialization of Untrusted Data in Jython
Jython before 2.7.1b3 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.python:jython | < 2.7.1b3 | 2.7.1b3 |
| Java / Kotlin (Maven) | org.python:jython-standalone | < 2.7.1b3 | 2.7.1b3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-4000
- https://github.com/jython/jython/commit/ee4200fdd5385d3f74a5cf1a781fa52d33bbb274
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://www.oracle.com/security-alerts/cpujan2020.html
- https://www.oracle.com/security-alerts/cpuapr2020.html
- https://snyk.io/vuln/SNYK-JAVA-ORGPYTHON-31451
- https://security.gentoo.org/glsa/201710-28
- https://security-tracker.debian.org/tracker/CVE-2016-4000
- https://lists.apache.org/thread.html/0919ec1db20b1022f22b8e78f355667df74d6142b463ff17d03ad533@%3Cdevnull.infra.apache.org%3E
- https://hg.python.org/jython/rev/d06e29d100c0
- https://hg.python.org/jython/file/v2.7.1rc1/NEWS
- https://github.com/jython/jython
- https://bugs.jython.org/issue2454
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864859
- http://bugs.jython.org/issue2454
- http://www.debian.org/security/2017/dsa-3893
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-502- Platform
- Java / Kotlin (Maven)
- Package
org.python:jython, org.python:jython-standalone- Disclosed
- 13.05.2022
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-6r7r-jj8h-pq6v - CC BY 4.0
Vulnerability history: org.python:jython
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.