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

Similar to CVE-2017-11704 ,Integer overflow in function parseSWF_DEFINESPRITE,util/parser.c:2302 #213

Open
b0b0haha opened this issue Dec 2, 2020 · 0 comments

Comments

@b0b0haha
Copy link

b0b0haha commented Dec 2, 2020

Hi ,I use static analysis tool to find a vulnerable func similar to readMovie(util/main.c)
Just similar to commit 7fed314,in func parseSWF_DEFINESPRITE (util/parser.c) ,splength(line 2302) has intint type but according to the specification it should be able to store unsigned 32bit numbers. There should be a check to verify that the value returned by readUInt32 is smaller than INT_MAX and update splength if it's the case.Otherwise we should print a warning and ignore the block.
image

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