-
Notifications
You must be signed in to change notification settings - Fork 521
[GHSA-hx9q-6w63-j58v] orjson does not limit recursion for deeply nested JSON documents #6696
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
[GHSA-hx9q-6w63-j58v] orjson does not limit recursion for deeply nested JSON documents #6696
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates the security advisory for GHSA-hx9q-6w63-j58v (orjson recursion limit issue) to clarify affected versions and metadata. The primary intent is to mark 3.11.5 as fixed/unaffected and adjust related advisory fields.
Changes:
- Update the
modifiedtimestamp on the advisory. - Adjust affected version information to mark
3.11.5as fixed and adddatabase_specific.last_known_affected_version_range. - Clear the
severityarray (removing the previous CVSS v4 score).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P" | ||
| } | ||
| ], | ||
| "severity": [], |
Copilot
AI
Jan 23, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The severity array is now empty, which drops the previously defined CVSS v4 score; this conflicts with the PR description mentioning a CVSS v4 update and results in the advisory no longer exposing any severity information. Consider restoring a CVSS_V4 entry here (with the updated vector as needed) instead of leaving the array empty so downstream consumers still receive a severity rating.
| "severity": [], | |
| "severity": [ | |
| { | |
| "type": "CVSS_V4", | |
| "score": "5.3", | |
| "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N" | |
| } | |
| ], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copilot, are you able to make this change
|
As noted here: kpatsakis/CVE-2025-67221#1, orjson is still affected if the nesting depth exceeds 127. So this is still likely an issue |
|
@jrafkind-ai Thank you for your follow up comment about orjson still being affected. I'm going to leave the vulnerable version range as it currently is but will add ijl/orjson#620 and kpatsakis/CVE-2025-67221#1 as references for people who want to read more about the issue and a possible fix. |
3895015
into
jrafkind-ai/advisory-improvement-6696
|
Hi @jrafkind-ai! Thank you so much for contributing to the GitHub Advisory Database. This database is free, open, and accessible to all, and it's people like you who make it great. Thanks for choosing to help others. We hope you send in more contributions in the future! |

Updates
Comments
orjson 3.11.5 is unaffected by the reported issue