Amazon Linux 2 Security Advisory: ALAS-2018-1012
Advisory Release Date: 2018-05-10 23:57 Pacific
Improper input sanitization in rfbProcessClientNormalMessage in rfbserver.c
An issue was discovered in LibVNCServer through 0.9.11. rfbProcessClientNormalMessage() in rfbserver.c does not sanitize msg.cct.length, leading to access to uninitialized and potentially sensitive data or possibly unspecified other impact (e.g., an integer overflow) via specially crafted VNC packets.(CVE-2018-7225 )
Run yum update libvncserver to update your system.