Remediating Kafka
Prerequisites
You have obtained the URL and admin account for logging in to FusionInsight Manager.
Procedure
- Log in to FusionInsight Manager and choose Cluster > Services > Kafka. Click Configurations then All Configurations. On this sub-tab page, search for the KAFKAUI_HEAP_OPTS parameter. Add -Dfastjson.parser.safeMode=true to the Value column of KAFKAUI_HEAP_OPT (leave a space between the existing value and -Dfastjson.parser.safeMode=true).
For example, if the existing value is -Xmx4G -Xms4G, the new value is -Xmx4G -Xms4G -Dfastjson.parser.safeMode=true.
- Click Save. On the Instance tab page, select all KafkaUI instances and choose More > Restart Instance.
- Log in to any KafkaUI node as user omm and check the process:
ps -ef | grep KafkaUI
If the -Dfastjson.parser.safeMode=true parameter exists, the vulnerability has been mitigated.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot