safe nevertheless?
It is correct Jet Propulsion Labs earlier this year attributed many Open Source developers for their contributions to the (succesful) Ingenuity Mars Helicopter project.
JPL recently released the flight control system on board Ingenuity as open source (fprime, or F´) which is written in Python and C++, including the flight control log system (it will build on several systems, also on ARM Linux for Raspberry pi and (obvious) the Qualcomm Snapdragon 801 processor on board).
The fprime source code include an example module for attaching and communicating with a GPS receiver on the Raspberry, so probably the flight control system also is in charge off sensors on board the helicopter (inclinometer, altimeter, cameras).
There is of course a supporting Linux operating system, I guess very basic, where common sense would imply running a Java dependent Apache server on a "mobile phone" just for logging would be "overkill".
The Log4j vulnerability may be found in another place of the Ingenuity Linux ecosystem than on board - or I may be wrong :)