Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hjson-py vulnerable to denial of service #37

Open
scacaca opened this issue Mar 11, 2025 · 0 comments
Open

hjson-py vulnerable to denial of service #37

scacaca opened this issue Mar 11, 2025 · 0 comments

Comments

@scacaca
Copy link

scacaca commented Mar 11, 2025

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

@scacaca scacaca changed the title hson-py vulnerable to denial of service hjson-py vulnerable to denial of service Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant