Skip to content

Problem: stream_engine is vulnerable to downgrade attacks #1190

Closed
@hintjens

Description

@hintjens

When accepting a connection as client or server, the engine takes the mechanism from the peer and implements that, without checking that it matches the mechanism set on the socket.

Solution: the peer's mechanism must match the options.mechanism, or else the connection must be closed.

Note that this affects ZeroMQ v4.0.4 stable. Fixed in libzmq master, backporting for v4.0.5.

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