You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
No upper bound check before unpacking beyond MAX_NAME_LEN is good, but attacker can still craft huge valid int if MAX_NAME_LEN increases later
Current:
name_len = struct.unpack("!I", data[:4])[0]
relies on trusting first 4 bytes blindly
Problem:
No upper bound check before unpacking beyond MAX_NAME_LEN is good, but attacker can still craft huge valid int if MAX_NAME_LEN increases later