7.5
CWE
385
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2017-3156

First published: Mon Feb 20 2017(Updated: )

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: <a href="http://git-wip-us.apache.org/repos/asf/cxf/commit/555843f9">http://git-wip-us.apache.org/repos/asf/cxf/commit/555843f9</a> CXF 3.0.x <a href="http://git-wip-us.apache.org/repos/asf/cxf/commit/1338469f">http://git-wip-us.apache.org/repos/asf/cxf/commit/1338469f</a> CXF 3.2.0-SNAPSHOT (master): <a href="http://git-wip-us.apache.org/repos/asf/cxf/commit/e66ce235">http://git-wip-us.apache.org/repos/asf/cxf/commit/e66ce235</a> External References: <a href="https://cxf.apache.org/security-advisories.data/CVE-2017-3156.txt.asc">https://cxf.apache.org/security-advisories.data/CVE-2017-3156.txt.asc</a>

Credit: security@apache.org

Affected SoftwareAffected VersionHow to fix
maven/org.apache.cxf.karaf:apache-cxf>=3.1.0<=3.1.9
3.1.10
maven/org.apache.cxf.karaf:apache-cxf<=3.0.12
3.0.13
Apache CXF<=3.0.12
Apache CXF=3.1.0
Apache CXF=3.1.1
Apache CXF=3.1.2
Apache CXF=3.1.3
Apache CXF=3.1.4
Apache CXF=3.1.5
Apache CXF=3.1.6
Apache CXF=3.1.7
Apache CXF=3.1.8
Apache CXF=3.1.9

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2017-3156?

    The severity of CVE-2017-3156 is considered moderate due to its potential exploitation in timing attacks.

  • How do I fix CVE-2017-3156?

    To fix CVE-2017-3156, upgrade Apache CXF to version 3.1.10 or 3.0.13.

  • Which versions of Apache CXF are affected by CVE-2017-3156?

    Versions of Apache CXF from 3.1.0 to 3.1.9 and from 3.0.0 to 3.0.12 are affected by CVE-2017-3156.

  • What kind of attack can CVE-2017-3156 lead to?

    CVE-2017-3156 may lead to sophisticated timing attacks on OAuth2 Hawk and JOSE MAC validation.

  • Is CVE-2017-3156 related to OAuth2 tokens?

    Yes, CVE-2017-3156 specifically affects OAuth2 Hawk or JWT access tokens and JOSE JWS/JWE interceptors.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203