Skip to content

crypto/tls: ALPN negotiation error contains attacker controlled information #75652

@rolandshoemaker

Description

@rolandshoemaker

When Conn.Handshake fails during ALPN negotiation the error contains attacker controlled information (the ALPN protocols sent by the client) which is not escaped. We expect most logging software filters control characters and such, so the impact for this is relatively limited, hence we are treating this as a PUBLIC track issue, per the Go Security Policy (https://go.dev/security/policy).

This is CVE-2025-58189.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsFixThe path to resolution is known, but the work has not been done.Security

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions