CVE-2018-8023 Moderate severity vulnerability that affects org.apache.mesos:mesos
Timing attack in JWT validation allows attackers to reveal HMAC values, potentially bypassing authentication in Apache Mesos.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-8023?
CVE-2018-8023 is a medium-severity vulnerability in Apache Mesos, published on 21 Sep 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-200
Which versions are affected by CVE-2018-8023?
6 open source packages ship an affected version, including org.apache.mesos:mesos. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.mesos:mesos Maven | All versions | 1.4.2 |
org.apache.mesos:mesos Maven | All versions | 1.4.2 |
org.apache.mesos:mesos Maven | From 1.5.0 | 1.5.2 |
org.apache.mesos:mesos Maven | From 1.5.0 | 1.5.2 |
org.apache.mesos:mesos Maven | From 1.6.0 | 1.6.1 |
org.apache.mesos:mesos Maven | From 1.6.0 | 1.6.1 |
Products include Apache Mesos.
How do I fix CVE-2018-8023?
Upgrade org.apache.mesos:mesos to a fixed version for your release line: 1.4.2, 1.5.2 or 1.6.1.
Is CVE-2018-8023 being exploited?
There is no known exploitation of CVE-2018-8023 in the wild and no public exploit code.
Other vulnerabilities in Apache Mesos
Sources
Also known as GHSA-c8cc-p3j7-4c7f.