Skip to content

Problem: V3 protocol handler vulnerable to downgrade attacks #1273

Closed
@hintjens

Description

@hintjens

It is easy to bypass the security mechanism in 4.1.0 and 4.0.5 by sending a ZMTP v2 or earlier header. The library accepts such connections without applying its security mechanism.

Solution: if security is defined on a socket, reject all V2 and earlier connections, unconditionally.

Fixed by #6cf120 and related commits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions