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

Interface-unmarshaling a self-referential array/dict will overflow the stack #23

Closed
DHowett opened this issue Mar 20, 2017 · 1 comment

Comments

@DHowett
Copy link
Owner

DHowett commented Mar 20, 2017

Found via fuzzing;

	"bplist00\xd6\x01\x02\x03\x04\x05\x06\a\n\v\f\x0f" +
	"\x1aX0o0leansTdataTdate" +
	"VfloatsXintarrayWstr" +
	"ings\xa2\b\t\t\bD\x01\x02\x03\x043A\xb8Eux" +
	"\x00\x00\x00\xa2\r\x0e\"B\x00\x00\x00#@P\x00\x00\x00\x00\x00\x00" +
	"\xaa\x10\x11\x12\x13\x14\x00\x10\x00\x00\x19\x10\x01\x10\b\x10\x10\x10 \x10" +
	"@\x10\x02\x10\t\x10\x11\x10!\x10A\xa2\x1b\x1c\\Hello" +
	", ASCIIi\x00H\x00e\x00l\x00l\x00o\x00," +
	"\x00 N\x16uL\b\x15\x1e#(/8@CDEJSV" +
	"[doqsuwy{}\u007f\x81\x83\x86\x93\x01\x01\x00\x00\x00" +
	"\x00\x00\x00\x00\x1d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" +
	"\xa6"
@DHowett
Copy link
Owner Author

DHowett commented Mar 23, 2017

This particular case got broken by the stricter checks on object ref tables/offset tables.

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