Netty versions 4.2.0.Final through 4.2.16.Final and 4.1.x through 4.1.136.Final contain vulnerabilities in the SOCKS4 and SOCKS5 client encoders. These vulnerabilities allow injection of null bytes, CRLF characters, and credential data due to improper validation of domain address and authentication fields. This can lead to domain spoofing, SOCKS4 userid truncation, authentication data injection, and protocol confusion. The issues are fixed in versions 4.2.17.Final and 4.1.137.Final.