CVE-2018-8023: Apache Mesos JWT Authentication Timing Attack

org.apache.mesos:mesos Updated 02 Oct 2025

Summary

17/10/2018
Yes i
Moderate
5.9

CVE-2018-8023: Moderate severity vulnerability that affects org.apache.mesos:mesos. Affects org.apache.mesos:mesos across 3 version ranges.

< 1.4.2 >= 1.5.0, < 1.5.2 >= 1.6.0, < 1.6.1

Fixed in 1.4.2, 1.5.2 or 1.6.1, 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache Mesos is an open-source cluster manager that provides efficient resource isolation and sharing across distributed applications. It allows users to run tasks on a cluster of machines, providing fault-tolerance and scalability. The package 'org.apache.mesos:mesos' is a Maven package for Apache Mesos. This vulnerability affects versions pre-1.4.2, 1.5.0, 1.5.1, and 1.6.0 of Apache Mesos.

Vulnerability Detail

The vulnerability in Apache Mesos lies in its JSON Web Token (JWT) implementation used for authentication in the Executor HTTP API. The comparison of the generated HMAC value against the provided signature is vulnerable to a timing attack. Instead of using a constant-time string comparison routine, a standard '==' operator has been used. This timing difference can be exploited by a malicious actor to reveal the correct HMAC value. This vulnerability has a CVSS score of 5.9, indicating a moderate severity.

How To Fix

Fixed versions by release line

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

  • < 1.4.2 1.4.2
  • >= 1.5.0, < 1.5.2 1.5.2
  • >= 1.6.0, < 1.6.1 1.6.1

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 specific workaround mentioned for this vulnerability.

Conclusion

Apache Mesos versions pre-1.4.2, 1.5.0, 1.5.1, and 1.6.0 are vulnerable to a timing attack in the JSON Web Token (JWT) implementation used for authentication in the Executor HTTP API. It is recommended to update to the fixed versions mentioned above to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for org.apache.mesos:mesos →

Share this vulnerability

FAQ

Apache Mesos is an open-source cluster manager that provides efficient resource isolation and sharing across distributed applications.

A JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties. It is commonly used for authentication and authorization purposes.

A timing attack is a type of side-channel attack where an attacker measures the time taken by a system to perform certain operations to gain information about secret values.

The CVSS score of this vulnerability is 5.9, indicating a moderate severity.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities in software using just the pom.xml file.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.mesos:mesos.

How To Fix

Fixed versions by release line

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

  • < 1.4.2 1.4.2
  • >= 1.5.0, < 1.5.2 1.5.2
  • >= 1.6.0, < 1.6.1 1.6.1

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