Improving security in case of malicious archive content
Talend JobServer has built in protection against ZIP Slip and ZIP Symlink attacks. To harden it even more, you can set limits for archive properties in order to protect Talend JobServer against malicious Job archive content.
In case of malicious Job archive content, Denial of Service attacks aiming to break the file system or exhaust disk space might be performed.
- in conf/TalendJobServer.properties if you are using a standalone Talend JobServer.
- in etc/org.talend.remote.jobserver.server.cfg if you are using an ESB Runtime.
org.talend.remote.jobserver.commons.config.JobServerConfiguration.
Parameters | Description |
---|---|
|
Maximum size for the archive ZIP file that is being extracted during the deployment. The default value is of 1 GB. |
|
Number of entries in the archive file. The default maximal value is 2048. |
|
Length of the archive ZIP file name. The default maximal value is 240 characters. |
|
Length of folder names inside the archive ZIP file. The default maximum length of the unzipped folder name is 240 characters. |
|
Length of file names inside the archive ZIP file. The default maximal value is 240 characters. |
|
Depth limit for folders inside the archive ZIP file. The default value is 64 levels. |
|
Size limit for the sum of all archives stored in TalendJobServersFiles/archiveJobs folder. The default size limit is 100GB. |