3 ms·
In this case the defect is with how Microsoft handles MSI files Except, of course, that Windows is absolutely correct in validating them as a MSI file. It just
by cpgxiii 6y ago
In this case the defect is with how Microsoft handles MSI files
Except, of course, that Windows is absolutely correct in validating them as a MSI file. It just happens that it fails to correctly validate a file that is both a valid MSI and a valid JAR. Windows itself is incapable of doing anything dangerous with the (to its perspective) nonsense data appended beyond the validated contents of the file.
This is essentially a TOCTOU bug involving one vendor performing the check (MS) and one vendor performing the use (whoever shipped the JRE), both of which are technically correct in the most narrowly-scoped sense but produce a significant issue when combined.