netty-tcnative is vulnerable to Improper Handling of Unicode Encoding
69
CVE Score
Medium
Improper Handling of Unicode Encoding
Before the fix, ssl_servername_cb and SSL.getSniHostname decoded the client-supplied SNI server_name with JNI modified UTF-8, so any unauthenticated TLS client could send 0xC0 0x80 in the ClientHello and smuggle an embedded NUL into the Java hostname string handed to SniHostNameMatcher.match and returned by SSL.getSniHostname, confusing SNI-based certificate selection, access decisions and logging. The matcher path needs the application to configure an SNI hostname matcher and the getter path needs it to call SSL.getSniHostname. The fix builds both strings from raw bytes with tcn_new_stringn, which cannot manufacture an embedded NUL.
Upgrade the affected package to 2.0.84.Final or later.
You are affected if you are using a version that falls within the vulnerable range and use SNI hostname matching or read the negotiated hostname with SSL.getSniHostname on a TLS server reachable by clients.
2.0.1.Final - 2.0.83.Final
Fixed in 2.0.84.Finalnetty-tcnative is vulnerable to Improper Handling of Unicode Encoding in versions 2.0.1.Final - 2.0.83.Final.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.