Skip to content

Vulnerability issue on Math.random() - Fortify Priority: High #647

Open
@francescaProject

Description

@francescaProject

The random number generator implemented by random() cannot withstand a cryptographic attack.
In this case, the function that generates weak random numbers is random() in sockjs.js on line 3607.

return Math.floor(Math.random() * max);

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