Reference: https://help.ubuntu.com/community/AutomaticSecurityUpdates
To apply only security patches:
First, see what patches are needed:
sudo aptitude
Install unattened upgrades:
sudo apt-get install unattended-upgrades
Execute upgrades:
sudo unattended-upgrades
See what was applied:
sudo aptitude