HIGH8.8
GHSA-fmqw-vqh5-cwq9
Apache NiFi user log out issue
Quick fix
GHSA-fmqw-vqh5-cwq9 — org.apache.nifi:nifi-web-security: upgrade to the fixed version with the command below.
# pom.xml: bump <version>1.10.0</version> for org.apache.nifi:nifi-web-securityDetails
When using an authentication mechanism other than PKI, when the user clicks Log Out in NiFi versions 1.0.0 to 1.9.2, NiFi invalidates the authentication token on the client side but not on the server side. This permits the user's client-side token to be used for up to 12 hours after logging out to make API requests to NiFi.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.nifi:nifi-web-security
Introduced in:
1.3.0Fixed in: 1.10.0Fix
# pom.xml: bump <version>1.10.0</version> for org.apache.nifi:nifi-web-securityMaven/org.apache.nifi:nifi-web-api
Introduced in:
1.3.0Fixed in: 1.10.0Fix
# pom.xml: bump <version>1.10.0</version> for org.apache.nifi:nifi-web-apiReferences
- https://nvd.nist.gov/vuln/detail/CVE-2019-12421[ADVISORY]
- https://github.com/apache/nifi/pull/3362[WEB]
- https://github.com/apache/nifi/commit/cf6f5172503ce438c6c22c334c9367f774db7b24[WEB]
- https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b@%3Ccommits.nifi.apache.org%3E[WEB]
- https://nifi.apache.org/security.html#CVE-2019-12421[WEB]