Skip to content

sasl-3.1: Mention size limit of incoming SASL authentication messages #529

@delthas

Description

@delthas

An unauthenticated client can accumulate SASL message data by repeatedly sending 400-byte AUTHENTICATE messages.

A naive server implementation might accumulate SASL message data in a buffer indefinitely, causing... an OOM from unauthenticated users.

It could be useful to either mention this as advice to service developers (informational), or to mention a max limit (in bytes, probably) (informative, or even normative if we want to enforce a max size, but I suppose that it's too late for that).

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