In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade osgeo/gdal
to version 3.4.0-RC1 or higher.
Affected versions of this package are vulnerable to Race Condition via the MSG driver. This driver looks for a matching "prologue"-file when calling MSGDataset::Open
. The filename depends on the satellite number. There are only 4 satellites and all of them are tried until an existing prologue is found. The satellite number is stored as a static variable iCurrentSatellite
and each call to Open
triggers a loop that modifies this variable. If multiple threads try to open a MSG dataset, the state of iCurrentSatellite
is modified in all threads.