/tmp should be mounted as a separate filesystem with the noexec,nosuid options set /var/tmp should either be symlinked to /tmp or mounted as a filesystem /dev/shm is not mounted with the noexec,nosuid options (currently: none). You should modify the mountpoint in /etc/fstab for /dev/shm with those options and remount
This is an OpenVZ Server and I don't know how to fix those issues.
How do I make /tmp ect... safe on OpenVZ?
This for the guest. can this be done on the host?