Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-8023
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:52 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-8023
Complete source record
{
"id": "1ad58306d786a97e78c4e3df2e664b2cdc5dd27668cbb19dca98c04a53e029f1",
"url": "https://osv.dev/vulnerability/CVE-2018-8023",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-8023",
"summary": "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.",
"evidence": "osv:CVE-2018-8023",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-8023",
"aliases": [
"CVE-2018-8023",
"GHSA-c8cc-p3j7-4c7f"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/mesos",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "612ec2c63a68b4d5b60d1d864e6703fde1c2a023"
},
{
"introduced": "f7e3872b0359c6095f8eeaefe408cb7dcef5bb83"
},
{
"last_affected": "c7df5eadc075adcf525ea091f65786aaffb9b072"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:mesos:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.4.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:mesos:1.5.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.5.0"
},
{
"last_affected": "1.5.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:mesos:1.5.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.5.1"
},
{
"last_affected": "1.5.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:mesos:1.6.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.6.0"
},
{
"last_affected": "1.6.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.5.0",
"1.5.1",
"1.6.0",
"1.6.0-rc1",
"1.4.1-rc1",
"1.4.1",
"1.4.0-rc5",
"1.4.0",
"1.4.0-rc4",
"1.4.0-rc3",
"1.4.0-rc2",
"1.4.0-rc1",
"1.2.0-rc1",
"1.0.0-rc2",
"1.0.0-rc1",
"0.28.0-rc1",
"0.27.0-rc1",
"0.24.0-rc1",
"0.23.0-rc1",
"0.22.0-rc1",
"0.21.0-rc1",
"0.20.0-rc1",
"0.19.0-rc1",
"0.17.0-rc1",
"0.18.0-rc1",
"0.16.0-rc1",
"0.15.0-rc1",
"0.14.0-rc1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-8023.json"
}
}
],
"modified": "2026-10-24T10:30:59.667888524Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread.html/9b9d3f6bd09f3ebd2284b82077033bdc71da550a1c4c010c2494acc3%40%3Cdev.mesos.apache.org%3E",
"https://lists.apache.org/thread.html/r0dd7ff197b2e3bdd80a0326587ca3d0c22e10d1dba17c769d6da7d7a%40%3Cuser.flink.apache.org%3E"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:apache:mesos:*:*:*:*:*:*:*:*"
],
"vendor_product": "apache:mesos",
"extracted_events": [
{
"range": [
{
"fixed": "1.4.2"
}
],
"source": "CPE_RANGE"
}
]
},
{
"cpes": [
"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:*:*:*:*:*:*:*"
],
"vendor_product": "apache:mesos",
"extracted_events": [
{
"range": [
{
"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_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-8023",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 439374,
"published_at": "2018-09-21T13:29:01.14+00:00"
}