{"id":"CVE-2018-8023","aliases":["EUVD-2018-0571","GHSA-c8cc-p3j7-4c7f"],"status":"published","title":"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.","severity":{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03056,"percentile":0.87676,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-200"],"published":"2018-09-21T13:00:00Z","modified":"2026-10-24T10:30:59Z","fixes":[{"ecosystem":"Maven","package":"org.apache.mesos:mesos","fixed_in":["1.4.2","1.5.2","1.6.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.mesos:mesos","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.mesos:mesos","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.2"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.mesos:mesos","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.6.0"},{"fixed":"1.6.1"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.mesos:mesos","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2"}]}],"versions":["0.10.0-incubating","0.11.0-incubating","0.12.0-incubating","0.12.1","0.13.0","0.14.0","0.14.1","0.14.2","0.15.0","0.15.0-rc3","0.15.0-rc4","0.16.0","0.16.0-rc4","0.16.0-rc5","0.17.0","0.17.0-rc1","0.17.0-rc2","0.18.0","0.18.0-rc1","0.18.0-rc2","0.18.0-rc3","0.18.0-rc4","0.18.0-rc5","0.18.0-rc6","0.18.1","0.18.1-rc1","0.18.1-rc2","0.18.2","0.18.2-rc1","0.19.0","0.19.0-rc3","0.19.1","0.19.1-rc1","0.20.0","0.20.0-rc1","0.20.0-rc2","0.20.1","0.20.1-rc1","0.20.1-rc2","0.20.1-rc3","0.21.0","0.21.0-rc1","0.21.0-rc2","0.21.0-rc3","0.21.1","0.21.1-rc1","0.21.1-rc2","0.21.2","0.21.2-rc1","0.22.0","0.22.0-rc4","0.22.1","0.22.1-rc5","0.22.1-rc6","0.22.2","0.22.2-rc1","0.23.0","0.23.0-rc1","0.23.0-rc2","0.23.0-rc3","0.23.0-rc4","0.23.1","0.23.1-rc1","0.24.0","0.24.0-rc1","0.24.0-rc2","0.24.1","0.24.1-rc1","0.24.2","0.24.2-rc1","0.24.2-rc2","0.24.2-rc3","0.24.2-rc4","0.24.2-rc5","0.25.0","0.25.0-rc1","0.25.0-rc2","0.25.0-rc3","0.25.1","0.25.1-rc1","0.25.1-rc2","0.25.1-rc3","0.25.1-rc4","0.26.0","0.26.0-rc1","0.26.0-rc2","0.26.0-rc3","0.26.0-rc4","0.26.0-rc5","0.26.1","0.26.1-rc1","0.26.1-rc2","0.26.1-rc3","0.26.1-rc4","0.26.2","0.26.2-rc1","0.27.0","0.27.0-rc1","0.27.0-rc2","0.27.1","0.27.1-rc1","0.27.2","0.27.2-rc1","0.27.3","0.27.3-rc1","0.28.0","0.28.0-rc1","0.28.0-rc2","0.28.1","0.28.1-rc1","0.28.1-rc2","0.28.2","0.28.2-rc1","0.28.3","0.28.3-rc1","0.9.0-incubating","1.0.0","1.0.0-rc1","1.0.0-rc2","1.0.0-rc3","1.0.0-rc4","1.0.1","1.0.1-rc1","1.0.2","1.0.2-rc1","1.0.2-rc2","1.0.2-rc3","1.0.3","1.0.3-rc1","1.0.3-rc2","1.0.4","1.0.4-rc1","1.0.4-rc2","1.1.0","1.1.0-rc1","1.1.0-rc2","1.1.0-rc3","1.1.1","1.1.1-rc1","1.1.1-rc2","1.1.2","1.1.2-rc1","1.1.2-rc2","1.1.3","1.1.3-rc1","1.1.3-rc2","1.2.0","1.2.0-rc1","1.2.0-rc2","1.2.1","1.2.1-rc1","1.2.2","1.2.2-rc1","1.2.3","1.2.3-rc1","1.3.0","1.3.0-rc1","1.3.0-rc2","1.3.0-rc3","1.3.1","1.3.1-rc1","1.3.2","1.3.2-rc1","1.3.3-rc1","1.4.0","1.4.0-rc1","1.4.0-rc2","1.4.0-rc3","1.4.1"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.mesos:mesos","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.2"}]}],"versions":["1.5.0"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.mesos:mesos","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.6.0"},{"fixed":"1.6.1"}]}],"versions":["1.6.0"]}],"products":[{"vendor":"apache","product":"apache mesos"},{"vendor":"apache","product":"mesos"},{"vendor":"apache software foundation","product":"apache mesos"}],"references":[{"url":"https://lists.apache.org/thread.html/9b9d3f6bd09f3ebd2284b82077033bdc71da550a1c4c010c2494acc3%40%3Cdev.mesos.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/r0dd7ff197b2e3bdd80a0326587ca3d0c22e10d1dba17c769d6da7d7a%40%3Cuser.flink.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-8023","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-c8cc-p3j7-4c7f","tags":["advisory"]},{"url":"https://lists.apache.org/thread.html/9b9d3f6bd09f3ebd2284b82077033bdc71da550a1c4c010c2494acc3@%3Cdev.mesos.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/r0dd7ff197b2e3bdd80a0326587ca3d0c22e10d1dba17c769d6da7d7a@%3Cuser.flink.apache.org%3E","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-8023","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.","status":"published","published":"2018-09-21T13:00:00Z","modified":"2024-09-16T16:58:25.082Z","updated_at":"2026-11-02T14:35:04.172099Z"}],"euvd":[{"id":"EUVD-2018-0571","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.","status":"published","published":"2018-09-21T13:00:00Z","modified":"2024-09-16T16:58:25Z","updated_at":"2026-11-03T00:55:46.745399Z"}],"ghsa":[{"id":"GHSA-c8cc-p3j7-4c7f","title":"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.","status":"published","published":"2018-10-17T19:54:14Z","modified":"2023-01-09T05:03:15Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:36:04.396827Z"}],"nvd":[{"id":"CVE-2018-8023","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.","status":"published","published":"2018-09-21T13:29:01.14Z","modified":"2026-06-17T02:04:06.86Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:04:40.661264Z"}],"osv":[{"id":"CVE-2018-8023","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.","status":"published","published":"2018-09-21T13:29:01.14Z","modified":"2026-10-24T10:30:59.667888524Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:09.74357Z"},{"id":"GHSA-c8cc-p3j7-4c7f","title":"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.","status":"published","published":"2018-10-17T19:54:14Z","modified":"2023-11-08T04:00:24.364977Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T15:46:44.927642Z"}]}}
