CVE-2018-17195Apache Nifi
High 7.5 No auth needed
Follow: this CVE · Apache · Apache Nifi We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 55
- Auth required
- No
- Published
- Dec 19, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
The template upload API endpoint accepted requests from different domain when sent in conjunction with ARP spoofing + man in the middle (MiTM) attack, resulting in a CSRF attack. The required attack vector is complex, requiring a scenario with client certificate authentication, same subnet access, and injecting malicious code into an unprotected (plaintext HTTP) website which the targeted user later visits, but the possible damage warranted a Severe severity level. Mitigation: The fix to apply Cross-Origin Resource Sharing (CORS) policy request filtering was applied on the Apache NiFi 1.8.0 release. Users running a prior 1.x release should upgrade to the appropriate release.
What to do
- Apply the vendor's security update for Nifi.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.nifi:nifi |
≥ 1.0.0 < 1.8.0 |
1.8.0 |
— |
Per OSV / GitHub Advisories (GHSA-3jq8-jg75-rqv6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | nifi | ≥ 1.0.0 ≤ 1.7.1 |
Official sources
References
Links published by the sources. Open them with care.
- nifi.apache.org Vendor Advisory