Bug 1632810 (CVE-2018-8023) - CVE-2018-8023 mesos: Exposure of HMAC value via timing vulnerability in JWT validation
Summary: CVE-2018-8023 mesos: Exposure of HMAC value via timing vulnerability in JWT ...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-8023
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1632811
Blocks: 1632812
TreeView+ depends on / blocked
 
Reported: 2018-09-25 15:30 UTC by Pedro Sampaio
Modified: 2019-12-13 20:09 UTC (History)
2 users (show)

Fixed In Version: mesos 1.4.2, mesos 1.5.2, mesos 1.6.1, mesos 1.7.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-13 20:09:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2018-09-25 15:30:10 UTC
Apache Mesos can be configured to require authentication to call the
Executor HTTP API using JSON Web Token (JWT). 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.

Upstream patch:

https://github.com/apache/mesos/commit/2c282f19755ea7518caf6f43e729524b1c6bdb23

References:

https://seclists.org/oss-sec/2018/q3/267

Comment 1 Pedro Sampaio 2018-09-25 15:30:43 UTC
Created mesos tracking bugs for this issue:

Affects: fedora-all [bug 1632811]

Comment 3 Product Security DevOps Team 2019-12-13 20:09:22 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2018-8023


Note You need to log in before you can comment on or make changes to this bug.