CVE-2018-8023Apache Mesos
Medium 5.9 No auth needed
Follow: this CVE · Apache · Apache Mesos We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.0
- 5.9
- EPSS
- 3.1% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Sep 21, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-200
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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
- Apply the vendor's security update for Mesos.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.mesos:mesos |
< 1.4.2 |
1.4.2 |
— |
| Maven | org.apache.mesos:mesos |
≥ 1.5.0 < 1.5.2 |
1.5.2 |
— |
| Maven | org.apache.mesos:mesos |
≥ 1.6.0 < 1.6.1 |
1.6.1 |
— |
Per OSV / GitHub Advisories (GHSA-c8cc-p3j7-4c7f). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | mesos | < 1.4.2 |
| apache | mesos | 1.5.0 |
| apache | mesos | 1.5.1 |
| apache | mesos | 1.6.0 |
Official sources
References
Links published by the sources. Open them with care.