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

oss-fuzz: json stackoverflow crash #840

Closed
tomtau opened this issue Apr 17, 2023 · 2 comments · Fixed by #841
Closed

oss-fuzz: json stackoverflow crash #840

tomtau opened this issue Apr 17, 2023 · 2 comments · Fixed by #841
Labels

Comments

@tomtau
Copy link
Contributor

tomtau commented Apr 17, 2023

Describe the bug
The fuzzer found a crash on the json parser.

To Reproduce



	{"?󠁁A 
  ]         





��1,
 [\\\\\\\\\\\\=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\T\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\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\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\uAAAAA,0,
1,11[2,1,f\fe\t[󠁁[|\t0,0.1,1,[4,,A,e᠎
�?":null"}}

Expected behavior
The parser shouldn't crash.

Additional context
https://oss-fuzz.com/testcase-detail/4724787783270400

@tomtau tomtau added the bug label Apr 17, 2023
@tomtau
Copy link
Contributor Author

tomtau commented Apr 17, 2023

the issue was introduced in these two commits: f668fcc...5a05e69

@tomtau
Copy link
Contributor Author

tomtau commented Apr 17, 2023

a part of the stack trace:

  | #1 0x5bd9336f988b in pest::parser_state::ParserState$LT$R$GT$::sequence::h17855cb945d35dcb pest/pest/src/parser_state.rs:506:27
-- | --
  | #2 0x5bd9336e010a in _$LT$pest_grammars..json..JsonParser$u20$as$u20$pest..parser..Parser$LT$pest_grammars..json..Rule$GT$GT$::parse::rules::visible::escape::_$u7b$u7b$closure$u7d$u7d$::_$u7b$u7b$closure$u7d$u7d$::hbca2c7795bfb9d5d pest/grammars/src/lib.rs:39:14
  | #3 0x5bd9336e010a in pest::parser_state::ParserState$LT$R$GT$::atomic::h660b34b19a5b55d6 pest/pest/src/parser_state.rs:953:22
  | #4 0x5bd933664650 in _$LT$pest_grammars..json..JsonParser$u20$as$u20$pest..parser..Parser$LT$pest_grammars..json..Rule$GT$GT$::parse::rules::visible::escape::_$u7b$u7b$closure$u7d$u7d$::h144685aeaf0931bb pest/grammars/src/lib.rs:39:14
  | #5 0x5bd933664650 in pest::parser_state::ParserState$LT$R$GT$::rule::h1d918843eef01594 pest/pest/src/parser_state.rs:315:22
  | #6 0x5bd93372cadc in _$LT$pest_grammars..json..JsonParser$u20$as$u20$pest..parser..Parser$LT$pest_grammars..json..Rule$GT$GT$::parse::rules::visible::escape::h0738e423b5348bff pest/grammars/src/lib.rs:39:14
  | #7 0x5bd93372cadc in _$LT$pest_grammars..json..JsonParser$u20$as$u20$pest..parser..Parser$LT$pest_grammars..json..Rule$GT$GT$::parse::rules::visible::inner::_$u7b$u7b$closure$u7d$u7d$::_$u7b$u7b$closure$u7d$u7d$::_$u7b$u7b$closure$u7d$u7d$::_$u7b$u7b$closure$u7d$u7d$::_$u7b$u7b$closure$u7d$u7d$::_$u7b$u7b$closure$u7d$u7d$::h97407facf8145c92 pest/grammars/src/lib.rs:39:14
  | #8 0x5bd93372cadc in pest::parser_state::ParserState$LT$R$GT$::sequence::hef729af692bf4535 pest/pest/src/parser_state.rs:508:22
  | #9 0x5bd9337205bd in _$LT$pest_grammars..json..JsonParser$u20$as$u20$pest..parser..Parser$LT$pest_grammars..json..Rule$GT$GT$::parse::rules::visible::inner::_$u7b$u7b$closure$u7d$u7d$::_$u7b$u7b$closure$u7d$u7d$::_$u7b$u7b$closure$u7d$u7d$::_$u7b$u7b$closure$u7d$u7d$::_$u7b$u7b$closure$u7d$u7d$::hb2a228ca7fd0f7c0 pest/grammars/src/lib.rs:39:14
  | #10 0x5bd9337205bd in pest::parser_state::ParserState$LT$R$GT$::optional::h992dc16d90938dcb pest/pest/src/parser_state.rs:597:15
  | #11 0x5bd9337205bd in _$LT$pest_grammars..json..JsonParser$u20$as$u20$pest..parser..Parser$LT$pest_grammars..json..Rule$GT$GT$::parse::rules::visible::inner::_$u7b$u7b$closure$u7d$u7d$::_$u7b$u7b$closure$u7d$u7d$::_$u7b$u7b$closure$u7d$u7d$::_$u7b$u7b$closure$u7d$u7d$::h64319116f4df1170 pest/grammars/src/lib.rs:39:14
  | #12 0x5bd9337205bd in core::result::Result$LT$T$C$E$GT$::and_then::h024ac972b9102a01 /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library/core/src/result.rs:1340:22
  | #13 0x5bd9337205bd in _$LT$pest_grammars..json..JsonParser$u20$as$u20$pest..parser..Parser$LT$pest_grammars..json..Rule$GT$GT$::parse::rules::visible::inner::_$u7b$u7b$closure$u7d$u7d$::_$u7b$u7b$closure$u7d$u7d$::_$u7b$u7b$closure$u7d$u7d$::h9183c1bd87e6b44d pest/grammars/src/lib.rs:39:14

#1 0x5bd9336f988b in pest::parser_state::ParserState$LT$R$GT$::sequence::h17855cb945d35dcb [pest/pest/src/parser_state.rs:506](https://github.com/pest-parser/pest/blob/5a05e696c88a07d8123665aa20e220c3d651c131/pest/src/parser_state.rs#L506):27
	    #2 0x5bd9336e010a in _$LT$pest_grammars..json..JsonParser$u20$as$u20$pest..parser..Parser$LT$pest_grammars..json..Rule$GT$$GT$::parse::rules::visible::escape::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::hbca2c7795bfb9d5d [pest/grammars/src/lib.rs:39](https://github.com/pest-parser/pest/blob/5a05e696c88a07d8123665aa20e220c3d651c131/grammars/src/lib.rs#L39):14
	    #3 0x5bd9336e010a in pest::parser_state::ParserState$LT$R$GT$::atomic::h660b34b19a5b55d6 [pest/pest/src/parser_state.rs:953](https://github.com/pest-parser/pest/blob/5a05e696c88a07d8123665aa20e220c3d651c131/pest/src/parser_state.rs#L953):22
	    #4 0x5bd933664650 in _$LT$pest_grammars..json..JsonParser$u20$as$u20$pest..parser..Parser$LT$pest_grammars..json..Rule$GT$$GT$::parse::rules::visible::escape::_$u7b$$u7b$closure$u7d$$u7d$::h144685aeaf0931bb [pest/grammars/src/lib.rs:39](https://github.com/pest-parser/pest/blob/5a05e696c88a07d8123665aa20e220c3d651c131/grammars/src/lib.rs#L39):14
	    #5 0x5bd933664650 in pest::parser_state::ParserState$LT$R$GT$::rule::h1d918843eef01594 [pest/pest/src/parser_state.rs:315](https://github.com/pest-parser/pest/blob/5a05e696c88a07d8123665aa20e220c3d651c131/pest/src/parser_state.rs#L315):22
	    #6 0x5bd93372cadc in _$LT$pest_grammars..json..JsonParser$u20$as$u20$pest..parser..Parser$LT$pest_grammars..json..Rule$GT$$GT$::parse::rules::visible::escape::h0738e423b5348bff [pest/grammars/src/lib.rs:39](https://github.com/pest-parser/pest/blob/5a05e696c88a07d8123665aa20e220c3d651c131/grammars/src/lib.rs#L39):14
	    #7 0x5bd93372cadc in _$LT$pest_grammars..json..JsonParser$u20$as$u20$pest..parser..Parser$LT$pest_grammars..json..Rule$GT$$GT$::parse::rules::visible::inner::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h97407facf8145c92 [pest/grammars/src/lib.rs:39](https://github.com/pest-parser/pest/blob/5a05e696c88a07d8123665aa20e220c3d651c131/grammars/src/lib.rs#L39):14
	    #8 0x5bd93372cadc in pest::parser_state::ParserState$LT$R$GT$::sequence::hef729af692bf4535 [pest/pest/src/parser_state.rs:508](https://github.com/pest-parser/pest/blob/5a05e696c88a07d8123665aa20e220c3d651c131/pest/src/parser_state.rs#L508):22
	    #9 0x5bd9337205bd in _$LT$pest_grammars..json..JsonParser$u20$as$u20$pest..parser..Parser$LT$pest_grammars..json..Rule$GT$$GT$::parse::rules::visible::inner::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::hb2a228ca7fd0f7c0 [pest/grammars/src/lib.rs:39](https://github.com/pest-parser/pest/blob/5a05e696c88a07d8123665aa20e220c3d651c131/grammars/src/lib.rs#L39):14
	    #10 0x5bd9337205bd in pest::parser_state::ParserState$LT$R$GT$::optional::h992dc16d90938dcb [pest/pest/src/parser_state.rs:597](https://github.com/pest-parser/pest/blob/5a05e696c88a07d8123665aa20e220c3d651c131/pest/src/parser_state.rs#L597):15
	    #11 0x5bd9337205bd in _$LT$pest_grammars..json..JsonParser$u20$as$u20$pest..parser..Parser$LT$pest_grammars..json..Rule$GT$$GT$::parse::rules::visible::inner::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h64319116f4df1170 [pest/grammars/src/lib.rs:39](https://github.com/pest-parser/pest/blob/5a05e696c88a07d8123665aa20e220c3d651c131/grammars/src/lib.rs#L39):14
	    #12 0x5bd9337205bd in core::result::Result$LT$T$C$E$GT$::and_then::h024ac972b9102a01 /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library/core/src/result.rs:1340:22
	    #13 0x5bd9337205bd in _$LT$pest_grammars..json..JsonParser$u20$as$u20$pest..parser..Parser$LT$pest_grammars..json..Rule$GT$$GT$::parse::rules::visible::inner::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h9183c1bd87e6b44d [pest/grammars/src/lib.rs:39](https://github.com/pest-parser/pest/blob/5a05e696c88a07d8123665aa20e220c3d651c131/grammars/src/lib.rs#L39):14
...

tomtau pushed a commit to tomtau/pest that referenced this issue Apr 18, 2023
tomtau added a commit that referenced this issue Apr 19, 2023
Closes #840

Co-authored-by: Tomas Tauber <me@tomtau.be>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant