This article addresses the recent Log4j RCE.
Refer to the following links for more information:
Log4j and SFTP Gateway Classic
The log4j issue does not apply to SFTP Gateway version 1.x. This is because v1 does not use Java (and log4j is a Java library).
Sometimes, operating systems can have the log4j yum package installed (but this should not be the case for Amazon Linux 1).
To verify this, SSH into the EC2 instance, and run the command:
sudo su yum list installed log4j*
You should get output that indicates that there are no packages named log4j installed on the OS.