CVE-2018-8023
Moderate severity vulnerability that affects org.apache.mesos:mesos
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.mesos » mesos | < 1.4.2>= 1.5.0, < 1.5.2>= 1.6.0, < 1.6.1 | 1.4.2, 1.5.2, 1.6.1 |
Blast radius
59% of the dependent artifacts (685) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 3,372 |
| 2 hops | 41,457 |
| 3 hops | 23,635 |
| 4 hops | 31,458 |
| 5 hops | 12,017 |
| 6 hops | 3,986 |
Most used dependents
- org.apache.spark » spark-sql3,174 usages
- org.apache.spark » spark-core2,899 usages
- org.apache.spark » spark-mllib831 usages
- org.apache.hive » hive-exec699 usages
- org.apache.spark » spark-streaming670 usages
- org.apache.spark » spark-hive633 usages
- org.apache.spark » spark-catalyst502 usages
- org.apache.hive » hive-metastore480 usages
- org.apache.hive » hive-jdbc404 usages
- org.apache.hive » hive-common305 usages
- org.apache.hive » hive-service301 usages
- org.apache.hive » hive-serde206 usages
- org.apache.spark » spark-graphx143 usages
- org.apache.spark » spark-yarn130 usages
- com.holdenkarau » spark-testing-base126 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2018-8023 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-c8cc-p3j7-4c7f | github.com |
| Web | thread.html/9b9d3f6bd09f3ebd2284b82077033bdc71da550a1c4c010c2494acc3@<dev.mesos.apache.org ... | lists.apache.org |
| Web | thread.html/r0dd7ff197b2e3bdd80a0326587ca3d0c22e10d1dba17c769d6da7d7a@<user.flink.apache.o ... | lists.apache.org |
