Apache CXF OAuth2 Hawk and JOSE MAC Validation code is not using a constant time MAC signature comparison algorithm which may be exploited by some sophisticated timing attacks. It may only affect OAuth2 Hawk or JWT access tokens or JOSE JWS/JWE interceptors which depend on HMac secret key algorithms.
This vulnerability affects all versions of Apache CXF prior to 3.0.13, 3.1.10.
Upstream patches:
CXF 3.1.x: http://git-wip-us.apache.org/repos/asf/cxf/commit/555843f9
CXF 3.0.x http://git-wip-us.apache.org/repos/asf/cxf/commit/1338469f
CXF 3.2.0-SNAPSHOT (master): http://git-wip-us.apache.org/repos/asf/cxf/commit/e66ce235
External References:
https://cxf.apache.org/security-advisories.data/CVE-2017-3156.txt.asc