Security Update for JRuby

jruby Updated 02 Oct 2025

Summary

31/03/2018
N/A
Yes i
Unrated
Not published

DLA-1337-1: jruby - security update. Affects jruby versions < 1.5.6-5+deb7u1. Fixed in 1.5.6-5+deb7u1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

JRuby is a pure-Java implementation of the Ruby programming language that includes the rubygems package management framework. This framework allows users to easily install and manage Ruby gems, which are libraries or packages that extend the functionality of Ruby. However, multiple vulnerabilities have been discovered in the rubygems package management framework embedded in JRuby.

Vulnerability Detail

The vulnerabilities found in JRuby's rubygems package management framework include:

  1. CVE-2018-1000075: A negative size vulnerability in the ruby gem package tar header that could cause an infinite loop.
  2. CVE-2018-1000076: Ruby gems package improperly verifies cryptographic signatures, allowing a mis-signed gem to be installed if the tarball contains multiple gem signatures.
  3. CVE-2018-1000077: An improper input validation vulnerability in ruby gems specification homepage attribute could allow a malicious gem to set an invalid homepage URL.
  4. CVE-2018-1000078: Cross-Site Scripting (XSS) vulnerability in gem server display of homepage attribute.

These vulnerabilities could potentially lead to various security issues, including denial of service, installation of malicious gems, and cross-site scripting attacks.

How To Fix

Minimum fixed version

1.5.6-5+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade jruby

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

Conclusion

In conclusion, the rubygems package management framework embedded in JRuby is vulnerable to multiple security issues. To protect your system, it is crucial to upgrade your jruby packages to version 1.5.6-5+deb7u1 or later. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for jruby →

Share this vulnerability

FAQ

JRuby is a pure-Java implementation of the Ruby programming language that allows Ruby applications to run on the Java Virtual Machine (JVM). It provides seamless integration with Java libraries and frameworks.

The rubygems package management framework is a tool for managing Ruby libraries and dependencies. It allows users to easily install, update, and remove Ruby gems.

A Ruby gem is a library or package that extends the functionality of the Ruby programming language. Gems can be easily installed and managed using the rubygems package management framework.

These vulnerabilities could lead to various security issues, including denial of service, installation of malicious gems, and cross-site scripting attacks. It is important to update your jruby packages to mitigate these risks.

To upgrade your jruby packages, you can follow the standard package update process for your operating system. This typically involves using package management tools such as apt-get or aptitude to install the latest available version of the jruby package.

Related vulnerabilities

Recent vulnerabilities recorded for jruby.

How To Fix

Minimum fixed version

1.5.6-5+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade jruby

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