Repository navigation
0.10.1
Update if you run MapSmith under MAPSMITH_WORKSPACE. A dataset in a
format whose coordinate system MapSmith did not read itself -- GeoJSON with a
crs member, GML, FlatGeobuf and others -- could make PROJ open a file outside
the workspace, or a network share, before MapSmith refused it
(GHSA-36xg-cr27-6r4m).
This is the part 0.10.0's SECURITY.md and GHSA-3wvg-2qh8-8gg6 listed as still
open. Under a workspace, netCDF, HDF, JPEG 2000, ERDAS IMG and GRIB rasters are
now refused until MapSmith reads their coordinate system itself; without a
workspace nothing changes. Records still declare spec_version
1.0.0-draft.10, no key is new or renamed, and the answers are those of 0.10.0.
Security
- Under a workspace, the coordinate system of every dataset format MapSmith
accepts is read before GDAL opens the file, and a format it does not
recognise is refused. 0.10.0 read the declared SRS of GeoPackage,
shapefile and GeoParquet only; for the other formats GDAL read it first, and
PROJ opened any grid file it named, before MapSmith refused the file
(SECURITY.mdlisted this as open). The path gate now reads it from the
bytes for GeoJSON and Esri JSON (with a JSON parser, so an escaped key is
seen), GML and its.gfs, FlatGeobuf, GeoTIFF's GeoKey text, file
geodatabases, folders of shapefiles, zips of these, and a.prjbeside any
file. UnderMAPSMITH_WORKSPACEa format it does not recognise -- an ERDAS
.img, a netCDF, a JPEG 2000 -- is refused with the list of the ones it
does; without a workspace it is opened as before.run_sql'sST_Read
accepts every recognised format, where 0.10.0 accepted three. The verdict is
cached by file name, size and modification time, so one input is no longer
parsed by the gate, the probe and the reader in turn.