Privilege Bypass Vulnerability in Jython

jython Updated 02 Oct 2025

Summary

13/02/2015
N/A
Yes i
Unrated
Not published

CVE-2013-2027: Jython 2.2.1 uses the current umask to set the privileges of the class cache files, which allows local users to bypass intended access restrictions via unspecified vectors. Affects jython versions < 2.7.1+repack-1. Fixed in 2.7.1+repack-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Jython is an implementation of the Python programming language written in Java. It allows Python code to run on the Java Virtual Machine (JVM). Jython is commonly used for scripting, embedding in Java applications, and as a standalone interpreter. The vulnerability identified as CVE-2013-2027 affects Jython version 2.2.1. This version uses the current umask to set the privileges of the class cache files, which can be exploited by local users to bypass intended access restrictions.

Vulnerability Detail

The privilege bypass vulnerability in Jython version 2.2.1 allows local users to bypass access restrictions by leveraging the use of the current umask to set the privileges of class cache files. This can lead to unauthorized access to sensitive information or the execution of arbitrary code. The specific vectors through which this vulnerability can be exploited are not disclosed in the available information.

How To Fix

Minimum fixed version

2.7.1+repack-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade jython

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

No specific workaround is mentioned in the available information. It is advised to follow the recommended fix and upgrade to the latest version of Jython.

Conclusion

The privilege bypass vulnerability in Jython version 2.2.1 can be exploited by local users to bypass access restrictions. To mitigate this vulnerability, it is crucial to upgrade to Jython version 2.7.1+repack-1 or later. This will ensure the security of the system and prevent unauthorized access or execution of arbitrary code. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for jython →

Share this vulnerability

FAQ

Jython is an implementation of the Python programming language written in Java. It allows Python code to run on the Java Virtual Machine (JVM).

The vulnerability allows local users to bypass access restrictions, potentially leading to unauthorized access to sensitive information or the execution of arbitrary code.

Jython version 2.2.1 is affected by this vulnerability.

To fix this vulnerability, it is recommended to upgrade to Jython version 2.7.1+repack-1 or later.

No specific workaround is mentioned in the available information. It is advised to follow the recommended fix and upgrade to the latest version of Jython.

Related vulnerabilities

Recent vulnerabilities recorded for jython.

How To Fix

Minimum fixed version

2.7.1+repack-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade jython

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback