Skip to content

fails with malformed data #1

@michele-fadda

Description

@michele-fadda

if trying to decrypt short byte array with malformed data fails catastrophically with memory access error "accessing slice out of bounds".
I fear this might be exploited with some injection attack on the server side, maybe causing attacker determined code to be executed in some circumstances).

Should instead report test array length before use, and refuse clearly malformed data by giving proper error.

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