tlsx
tlsx copied to clipboard
ClientHelloBasic: add len check on ExtServerName in Unmarshal
Hello,
While fingerprinting some clientHellos, I stumbled on the bug this commit fixes.
The fix from 0660b600 has only addressed the issue for the function Unmarshal from ClientHello. This commit addresses the same problem for ClientHelloBasic, which is used for ja3 fingerprinting.
I would also suggest bumping the version of tlsx in ja3's go.mod (otherwise it would defeat the purpose of this change).
All the best, Damien.