CVE-2018-11087: Man-in-the-Middle Vulnerability in com.rabbitmq:amqp-client and org.springframework.amqp:spring-amqp

Summary

18/10/2018
Yes i
Moderate
5.9

CVE-2018-11087: Pivotal Spring AMQP, 1.x versions prior to 1.7.10 and 2.x versions prior to 2.0.6, expose a man-in-the-middle vulnerability due to lack of hostname validation. Affects org.springframework.amqp:spring-amqp across 2 version ranges.

< 1.7.10 >= 2.0.0, < 2.0.6

Fixed in 1.7.10 or 2.0.6, depending on the release line you run. 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

The com.rabbitmq:amqp-client and org.springframework.amqp:spring-amqp packages are widely used in applications that implement the Advanced Message Queuing Protocol (AMQP). These packages provide functionality for sending and receiving messages between different components of an application. However, versions prior to 1.7.10 for org.springframework.amqp:spring-amqp and versions prior to 4.8.0 for com.rabbitmq:amqp-client are vulnerable to a man-in-the-middle attack due to a lack of hostname validation. This means that an attacker with the ability to intercept network traffic can view the data being transmitted.

Vulnerability Detail

The vulnerability arises from the failure to validate the hostname during the establishment of a connection. This allows an attacker to impersonate a legitimate server and intercept the communication between the client and the server. As a result, the attacker can view sensitive information transmitted over the network, potentially leading to unauthorized access or data leakage. The vulnerability has a CVSS score of 5.9, indicating a moderate severity level.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 1.7.10 1.7.10
  • >= 2.0.0, < 2.0.6 2.0.6

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to update to the fixed versions of the packages to address the issue.

Conclusion

In conclusion, the com.rabbitmq:amqp-client and org.springframework.amqp:spring-amqp packages are vulnerable to a man-in-the-middle attack due to a lack of hostname validation. This can result in unauthorized access or data leakage. To mitigate the risk, it is crucial to update to the fixed versions of the packages. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.springframework.amqp:spring-amqp →

Share this vulnerability

FAQ

The vulnerability allows an attacker to intercept network traffic and view sensitive information transmitted between the client and the server. This can lead to unauthorized access or data leakage.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply provide your pom.xml file, and Vulert will analyze it for any open-source vulnerabilities, including this one.

There are no known public exploits for this vulnerability at the time of writing. However, it is crucial to update to the fixed versions to prevent potential attacks.

No, updating to the fixed versions is the recommended approach to mitigate the risk. There are no known workarounds for this vulnerability.

You can find more information about this vulnerability in the GitHub Advisory Database. Please refer to the provided source links in the 'affected' section of this report.

Related vulnerabilities

Recent vulnerabilities recorded for org.springframework.amqp:spring-amqp.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 1.7.10 1.7.10
  • >= 2.0.0, < 2.0.6 2.0.6

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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