You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm the author of SharpFuzz, which is a tool that enables fuzzing of .NET programs using afl-fuzz. I did a small experiment on SpreadsheetDocument.Open method, which discovered that it can throw many unexpected exceptions (documentation states that this method should throw only OpenXmlPackageException). These are:
ArgumentException
FileFormatException
InvalidDataException
InvalidOperationException
XmlException
I didn't have the time to do a longer fuzzing run, and I think that this only scratches the surface of all the possible problems that could be discovered. If you are interested in exploring this area, here is my fuzzing playground for Open XML SDK.
If you have any questions, I'll be glad to assist you!
Activity
Metalnem commentedon Dec 27, 2018
Hi Taylor!
I'm the author of SharpFuzz, which is a tool that enables fuzzing of .NET programs using afl-fuzz. I did a small experiment on SpreadsheetDocument.Open method, which discovered that it can throw many unexpected exceptions (documentation states that this method should throw only OpenXmlPackageException). These are:
I didn't have the time to do a longer fuzzing run, and I think that this only scratches the surface of all the possible problems that could be discovered. If you are interested in exploring this area, here is my fuzzing playground for Open XML SDK.
If you have any questions, I'll be glad to assist you!
All the best,
Nemanja
twsouthwick commentedon Jan 4, 2019
This is awesome! I had gone through and tried to update some of the exceptions (I had noticed more were thrown than was documented).
github-actions commentedon May 15, 2020
Stale issue message