Reject NaN with payload while parsing JSON
Before adoption: this commit came in with the history the project adopted, so no landing records it.
This commit drops support for parsing NaN with payload in JSON like `NaN123` and fixes CVE-2024-53427. Other JSON extensions like `NaN` and `Infinity` are still supported. Fixes #3023, fixes #3196, fixes #3246.
authored by itchyny · committed by itchyny · parent a8ce2ff · Browse files · 3 files+15 added−11 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+15 added−11 removed
- tests:+10 added−11 removed
- other:+5 added−0 removed