CVE-2025-66524: Nifi asana processors Remote Code Execution Vulnerability
HIGHCVE-2025-66524 is a HIGH remote code execution vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Nifi asana processors libraries in the Maven ecosystem. The issue involves apache nifi getasanaobject processor has remote code execution via unsafe deserialization. Remediation is available by upgrading affected packages to version 2.7.0.
CVE-2025-66524 at a Glance
How to Fix CVE-2025-66524
To remediate this vulnerability, upgrade all affected Nifi asana processors dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-asana-processors</artifactId>
<version>2.7.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.nifi
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-66524, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.nifi
Analyze the terminal output to locate any version of Nifi asana processors in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.7.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.nifi command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Nifi asana processors, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-66524 Affected Nifi asana processors Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.nifi:nifi-asana-processors
|
Maven |
≥ 1.20.0
< 2.7.0
|
2.7.0
|
References
Frequently Asked Questions
What is CVE-2025-66524?
Which Nifi asana processors versions are affected?
What version fixes CVE-2025-66524?
Is nifi-asana-processors affected?
What CWE is associated with CVE-2025-66524?
How can I check Maven dependencies for CVE-2025-66524?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v4p2-2w39-mhrj",
"modified" : "2025-12-19T21:45:09Z",
"published" : "2025-12-19T12:31:24Z",
"aliases" : [ "CVE-2025-66524" ],
"summary" : "Apache NiFi GetAsanaObject Processor has Remote Code Execution via Unsafe Deserialization",
"details" : "Apache NiFi 1.20.0 through 2.6.0 include the GetAsanaObject Processor, which requires integration with a configurable Distribute Map Cache Client Service for storing and retrieving state information. The GetAsanaObject Processor used generic Java Object serialization and deserialization without filtering. Unfiltered Java object deserialization does not provide protection against crafted state information stored in the cache server configured for GetAsanaObject. Exploitation requires an Apache NiFi system running with the GetAsanaObject Processor, and direct access to the configured cache server. Upgrading to Apache NiFi 2.7.0 is the recommended mitigation, which replaces Java Object serialization with JSON serialization. Removing the GetAsanaObject Processor located in the nifi-asana-processors-nar bundle also prevents exploitation.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/AU:Y/R:U/V:C/RE:L/U:Green"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.nifi:nifi-asana-processors"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.20.0"
}, {
"fixed" : "2.7.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-66524"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/nifi/commit/1c081c15544b8459d69daaae2056f0f433cafce6"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/nifi"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/k9h004ydjg7opdvxr0nfywtzf33z60d7"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/12/18/2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-12-19T21:45:09Z",
"nvd_published_at" : "2025-12-19T10:15:48Z"
}
}