Apache SystemDS Security

(Adapted from Apache Spark and Apache Kafka)

Things You Need To Know

Local Backend

The local backend of Apache SystemDS enables executing operations on the local machine. Even though this does not require a network connection, there are still certain security risks that should be taken into account. Therefore, it is of high importance to explicitly ensure the security of the system before deploying Apache SystemDS.

Apache Spark Backend

Apache SystemDS supports distributed execution using Apache Spark 3.5.7. Since Apache SystemDS incorporates Apache Spark, the security model of Apache Spark as well as the security specifications of underlying dependencies also apply to Apache SystemDS.

Federated Backend

The federated backend in Apache SystemDS allows to execute operations on data that is located on remote workers. This federated mode is intended for deployment within an enterprise network only, where participants can be reached over network only by trusted parties.

SSL Authentication and Encryption

Apache SystemDS supports SSL authentication and encryption for the communication between the coordinators and federated workers in a federated deployment. Note that this feature is disabled by default. It can be enabled and configured through the following configuration options:

Property Name Default Meaning Since Version
sysds.federated.ssl false Boolean flag to disable and enable SSL encryption. 3.5.0
sysds.federated.ssl.cert null File path to the worker X.509 certificate chain. 3.5.0
sysds.federated.ssl.key null File path to the worker private PKCS key. 3.5.0
sysds.federated.ssl.trust null File path to the trusted certificates (CA). 3.5.0

Parameter Server with Homomorphic Encryption

Parameter servers in Apache SystemDS support the privacy-preserving technique of homomorphic encryption using the library SEAL 3.7.0. Note that this feature is disabled by default. When enabling homorphic encryption, the security model of SEAL applies also to Apache SystemDS.

Reporting Security Issues

Suspected vulnerabilities should be sent privately to security@apache.org. Please do not disclose the security issue publicly until the PMC has had time to investigate the issue, prepare a fix, and coordinate a release.