namshi/jose fails to verify token signatures


namshi/jose is a PHP library for handling JSON Web Tokens (JWT). namshi/jose contains a vulnerability in processing JWT headers where it fails to verify token signatures.

Toshiharu Sugiyama of DeNA Co., Ltd. reported this vulnerability to IPA.
JPCERT/CC coordinated with the developer under Information Security Early Warning Partnership.
CVSS Severity (What is CVSS?)

CVSS V2 Severity:
Base Metrics 5.0 (Medium) [IPA Score]
  • Access Vector: Network
  • Access Complexity: Low
  • Authentication: None
  • Confidentiality Impact: None
  • Integrity Impact: Partial
  • Availability Impact: None
Affected Products

  • namshi/jose 2.2.1 and earlier
  • namshi/jose 3.0.0 and earlier
  • namshi/jose 4.0.0 and earlier
  • namshi/jose 5.0.0 and earlier


Specially crafted tokens may be validated as token data with valid signatures.

[Update the Software]
Update to the appropriate version according to the information provided by the developer.
Vendor Information

CWE (What is CWE?)

  1. No Mapping(CWE-Other) [IPA Evaluation]
CVE (What is CVE?)

  1. CVE-2015-2964

  1. JVN : JVN#25336719
  2. National Vulnerability Database (NVD) : CVE-2015-2964
Revision History

  • [2015/06/25]
      Web page was published
      References : Content was added