Skip to content

hjson-py stack exhaustion vulnerability #38

Description

@scacaca

Summary

A DOS vulnerability in hjson-py caused by crafted objects that deeply nested structures.

Description

An issue was discovered in the latest hjson-py allows attackers to cause a denial of service or other unspecified impacts via crafted objects that deeply nested structures.
there is a similar vulnerable,but hjson-py has not similar fix logic.
The relevent code in file1
eg. parse_object ,parse_array,parse_string ,scan_object_once

Patch

there is a similar fix logic
Limit parse depth.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions