REDHAT-BUG-2459341: High severity OPenFGA OPenFGA vulnerability
OpenFGA is an authorization/permission engine built for developers. In versions 0.1.4 through 1.13.1, when OpenFGA is configured to use preshared-key authentication with the built-in playground enabled, the local server includes the preshared API key in the HTML response of the /playground endpoint. The /playground endpoint is enabled by default and does not require authentication. It is intended for local development and debugging and is not designed to be exposed to production environments. Only those who run OpenFGA with --authn-method preshared, with the playground enabled, and with the playground endpoint accessible beyond localhost or trusted networks are vulnerable. To remediate the issue, users should upgrade to OpenFGA v1.14.0, or disable the playground by running ./openfga run --playground-enabled=false.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
OpenFGAto a version that resolves this vulnerability.Fixed in 1.14.0 - Configuration
Disable the built-in playground by running `./openfga run --playground-enabled=false`.
OpenFGA --playground-enabled = false
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2459341?
The severity of REDHAT-BUG-2459341 is classified as high with a score of 7.
How do I fix REDHAT-BUG-2459341?
To fix REDHAT-BUG-2459341, upgrade OpenFGA to a version later than 1.13.1 where the vulnerability is patched.
What versions are affected by REDHAT-BUG-2459341?
OpenFGA versions 0.1.4 through 1.13.1 are affected by REDHAT-BUG-2459341.
What is the cause of REDHAT-BUG-2459341?
REDHAT-BUG-2459341 is caused by the inclusion of the preshared API key in the HTML response of the /playground endpoint when preshared-key authentication is used.
What impact does REDHAT-BUG-2459341 have?
The impact of REDHAT-BUG-2459341 is that it may expose sensitive API keys to unauthorized users through the web interface.