# CVE-2018-8023: Moderate severity vulnerability that affects org.apache.mesos:mesos

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.9
- **CVSS:** 5.9 (v3.0, NVD) `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 3.06% (percentile 88, 2026-11-26)
- **CWE:** CWE-200
- **Aliases:** GHSA-c8cc-p3j7-4c7f
- **Published:** 2018-09-21T13:00:00.000Z
- **Modified:** 2026-06-17T02:04:06.860Z

## Who should check

- Projects that depend on Maven package org.apache.mesos:mesos (\< 1.4.2)
- Anyone running Apache Software Foundation Apache Mesos versions prior to 1.4.2; 1.5.0, 1.5.1; 1.6.0

## 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.

## Affected and fixed versions

- Maven `org.apache.mesos:mesos`: affected \< 1.4.2; fixed 1.4.2, 1.5.2, 1.6.1 (osv)
- Apache Software Foundation Apache Mesos: versions prior to 1.4.2; 1.5.0, 1.5.1; 1.6.0 (cvelist)

## Mitigation

- Upgrade org.apache.mesos:mesos to one of 1.4.2, 1.5.2, 1.6.1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2018-8023. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2018-8023.md
Affected: org.apache.mesos:mesos < 1.4.2
Fixed in: 1.4.2, 1.5.2, 1.6.1

Steps:
1. Search this machine and project for org.apache.mesos:mesos (Maven), Apache Software Foundation Apache Mesos: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2018-8023 being exploited?

There is no confirmed exploitation: CVE-2018-8023 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.06% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2018-8023?

Medium: CVSS 5.9 (v3.0, scored by NVD). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2018-8023?

org.apache.mesos:mesos \< 1.4.2.

### Is there a fix for CVE-2018-8023?

Yes. Fixed in 1.4.2, 1.5.2, 1.6.1. Upgrade org.apache.mesos:mesos to one of 1.4.2, 1.5.2, 1.6.1 (or later in the same release line).

### How do I check if I'm affected by CVE-2018-8023?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2018-8023>
- vendor: <https://github.com/advisories/GHSA-c8cc-p3j7-4c7f>
- other: <https://lists.apache.org/thread.html/9b9d3f6bd09f3ebd2284b82077033bdc71da550a1c4c010c2494acc3%40%3Cdev.mesos.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r0dd7ff197b2e3bdd80a0326587ca3d0c22e10d1dba17c769d6da7d7a%40%3Cuser.flink.apache.org%3E>
- other: <https://lists.apache.org/thread.html/9b9d3f6bd09f3ebd2284b82077033bdc71da550a1c4c010c2494acc3@%3Cdev.mesos.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r0dd7ff197b2e3bdd80a0326587ca3d0c22e10d1dba17c769d6da7d7a@%3Cuser.flink.apache.org%3E>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2018-8023>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-c8cc-p3j7-4c7f> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2018-8023> · JSON: <https://flawdb.com/api/v1/entries/CVE-2018-8023>
