Skip to content

hjson-py vulnerable to denial of service #37

@scacaca

Description

@scacaca

Description

An issue in hjson-python up to v3.0.2 allows attackers to cause a Denial of Service (DoS) via supplying a crafted JSON string to string a StringIndexOutOfBoundsException.
There is a similar vulnerability
The relevent code is in file1

Patch

The fix logic can be similar to this

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