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.
{
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:apache:mesos:1.5.0:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"introduced": "1.5.0"
},
{
"last_affected": "1.5.0"
}
],
"source": "CPE_STRING",
"vendor_product": "apache:mesos"
}
]
}{
"cpe": [
"cpe:2.3:a:apache:mesos:*:*:*:*:*:*:*:*",
"cpe:2.3:a:apache:mesos:1.5.0:*:*:*:*:*:*:*",
"cpe:2.3:a:apache:mesos:1.5.1:*:*:*:*:*:*:*",
"cpe:2.3:a:apache:mesos:1.6.0:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.4.2"
},
{
"introduced": "1.5.0"
},
{
"last_affected": "1.5.0"
},
{
"introduced": "1.5.1"
},
{
"last_affected": "1.5.1"
},
{
"introduced": "1.6.0"
},
{
"last_affected": "1.6.0"
}
],
"source": [
"CPE_RANGE",
"CPE_STRING"
]
}