{"id":"CVE-2018-8023","published":"2018-09-21T13:00:00Z","modified":"2024-09-16T16:58:25Z","title":"Apache Mesos can be configured to require authentication to call the Executor HTTP API using JSON Web Token (JWT)","vendor":"Apache","product":"Apache Mesos","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03056,"percentile":0.87904,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.apache.org/thread.html/9b9d3f6bd09f3ebd2284b82077033bdc71da550a1c4c010c2494acc3%40%3Cdev.mesos.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r0dd7ff197b2e3bdd80a0326587ca3d0c22e10d1dba17c769d6da7d7a%40%3Cuser.flink.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":17.6,"factors":[{"name":"EPSS percentile","points":17.58}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Mesos","versions":["versions prior to 1.4.2","1.5.0, 1.5.1","1.6.0"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.mesos:mesos","vulnerableRanges":["<1.4.2",">=1.5.0, <1.5.2",">=1.6.0, <1.6.1"],"patched":["1.4.2","1.5.2","1.6.1"],"from":["GHSA-c8cc-p3j7-4c7f"],"provenance":"source"}],"summary":{"text":"Apache Mesos has a flaw in its JSON Web Token (JWT) authentication for the Executor HTTP API, where the HMAC signature is compared with a standard == operator rather than a constant-time comparison. An attacker able to send requests to the Executor HTTP API, in a deployment where JWT authentication is enabled, can exploit the timing difference in the validation function's response to recover the correct HMAC value.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:26Z"},"euvd":{"id":"EUVD-2018-0571","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-7687","published":"2017-09-28","fixed":"1.3.1","kev":false},{"cve":"CVE-2017-9790","published":"2017-09-28","fixed":"1.3.1","kev":false,"link":{"from":"CVE-2017-9790","to":"CVE-2018-8023","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.mesos:mesos","fromFixed":"1.3.1","toFixed":"1.4.2","daysApart":358}]}},{"cve":"CVE-2018-1330","published":"2018-09-13","fixed":"1.6.0","kev":false,"link":{"from":"CVE-2018-1330","to":"CVE-2018-8023","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.mesos:mesos","fromFixed":"1.6.0","toFixed":"1.6.1","daysApart":8}]}},{"cve":"CVE-2018-8023","published":"2018-09-21","fixed":"1.6.1","kev":false},{"cve":"CVE-2018-11793","published":"2019-03-05","fixed":"1.7.1","kev":false,"link":{"from":"CVE-2018-8023","to":"CVE-2018-11793","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.mesos:mesos","fromFixed":"1.4.2","toFixed":"1.4.3","daysApart":165}]}},{"cve":"CVE-2019-0204","published":"2019-03-25","fixed":"1.7.2","kev":false,"link":{"from":"CVE-2018-8023","to":"CVE-2019-0204","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.mesos:mesos","fromFixed":"1.4.2","toFixed":"1.4.3","daysApart":185}]}}],"package":"Maven:org.apache.mesos:mesos"}}