Summary
CVE-2020-37281 is an authentication bypass vulnerability in Gravitee API Management through version 4.12.22. Unauthenticated remote attackers can impersonate any user by forging JSON Web Tokens (JWTs) signed with the default jwt.secret that ships with the product. The CVE record carries a CVSS v4.0 score of 9.2 (Critical).
Technical details
- Root cause: The product ships with a default
jwt.secretvalue. If it is left unchanged, the signing key is publicly known. - Trigger conditions: The deployment uses the shipped default JWT secret.
- Attack vector: Network, with no authentication or user interaction required. An attacker signs HS256 tokens containing a known user ID.
- Impact: The attacker can impersonate any user, including administrators, and can gain full control of the platform.
Affected software
- Gravitee API Management: all versions through 4.12.22.
- Versions above 4.12.22 are listed as unaffected in the CVE record.
Severity
- CVSS v4.0: 9.2 (Critical),
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS v3.1: 8.1 (High),
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: upgrade to a version above 4.12.22, which the CVE record lists as unaffected. Check the vendor’s release information to confirm the exact fixed release.
- Check whether any deployment still uses the default
jwt.secret. If one does, replace it with a strong, unique secret. Treat sessions and tokens issued under the default secret as untrusted. - Restrict network access to the management console and APIs to trusted networks where possible.

