Support Questions

Find answers, ask questions, and share your expertise

Spring Framework Open Redirect Vulnerability on Nifi 1.19.1

avatar
Explorer

当前安装的Nifi 1.19.1扫描了Spring Framework开放重定向漏洞。可以直接升级到apache nifi1.25.0吗?或者还有其他解决办法吗?目前,考虑到代码支持Java 8,升级到apache nifi2似乎是Spring Framework 6的版本,仍然是一个有风险的版本。升级到nifi2需要升级Java。

 

 

5 REPLIES 5

avatar
Community Manager

Translation:

The current installation of Nifi 1.19.1 is scanned for the Spring Framework Open Redirect vulnerability. Can I directly upgrade to apache nifi1.25.0? Or is there any other solution? Currently, upgrading to apache nifi2 appears to be a version of Spring Framework 6, still a risky version, considering the code supports Java 8. Upgrading to nifi2 requires upgrading Java. 


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Explorer

Thank you very much for the translation. The original text is in English. I guess the webpage was translated and saved directly during the second editing.

avatar
Master Mentor

@whoknows 

Providing an actual CVE for the suspected detected vulnerability it always going to get you the bets response.  I am assuming you may be referring to this CVE?
https://www.cvedetails.com/cve/CVE-2024-22233/

Apache NiFi is not vulnerable to this CVE because NiFi does not use Spring MVC, it uses JAX-RS and Jersey for REST resources.    The vulnerability is only exposed when  all of the following are true:

  1. The application uses Spring MVC *
  2. Spring Security 6.1.6+ or 6.2.1+ is on the classpath

-----------------

As far as upgrading directly from Apache NIFi 1.19.1 to 1.25 goes, you should have no issues there provided you have reviewed the release notes below for all version from 1.20 to 1.25 to see if any changes may impact your specific dataflows:
https://cwiki.apache.org/confluence/display/NIFI/Release+Notes#ReleaseNotes-Version1.25.0

I saw no red flags to worry about.

-----------------
Apache NiFi also upgraded its Spring Framework version in https://issues.apache.org/jira/browse/NIFI-12811 in Apache NiFi 2.0.

If you found any of the suggestions/solutions provided helped you with your issue, please take a moment to login and click "Accept as Solution" on one or more of them that helped.

Thank you,
Matt

avatar
Explorer

image-2024-03-04-10-48-23-012.png

avatar
Explorer

OK, thanks for the answer. It seems that the current solution can only be upgraded to the highest version of nifi that is compatible with Java8.