Apache MINA Vulnerability: SSL/TLS Message Handling Flaw

mina Updated 02 Oct 2025

Summary

01/10/2019
N/A
No i
High
7.5

CVE-2019-0231: Handling of the close_notify SSL/TLS message does not lead to a connection closure, leading the server to retain the socket opened and to have the client potentially receive clear text messages afterward. Affects mina across 2 version ranges.

< b71555ca2ef33d75f0aea7830079beeb0b92c53a < ed33252f2dcc7cfa961aa654e96ab4370e908dce

No fix is published. 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

Apache MINA is a network application framework that enables developers to create high-performance and high-scalability network applications easily. It provides a simple and flexible API for building various types of network protocols. However, a vulnerability has been identified in its handling of SSL/TLS messages, which could lead to serious security risks.

Vulnerability Detail

The vulnerability arises from the improper handling of the close_notify SSL/TLS message, which does not result in the closure of the connection. This flaw allows the server to keep the socket open, potentially exposing the client to clear text messages after the connection should have been terminated. This could lead to sensitive information being leaked, as the client may receive unencrypted data that was intended to be secure.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can implement additional security measures such as monitoring network traffic for unexpected clear text messages and ensuring that sensitive data is encrypted before transmission. However, the best course of action is to apply the available patches as soon as possible.

Conclusion

The vulnerability in Apache MINA regarding SSL/TLS message handling poses significant risks by potentially exposing sensitive information. Users are strongly advised to update their packages to the latest versions to mitigate these risks effectively. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities in open-source software.

See every vulnerability recorded for mina →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

Versions 2.0.20 and 2.1.0 are specifically affected by this vulnerability.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application using the Vulert playground without any signup.

The main consequence is the exposure of sensitive information due to the retention of open sockets, which may allow clients to receive unencrypted messages.

While the best solution is to update to the patched versions, temporary measures include monitoring network traffic and ensuring data encryption.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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