Apache SIS: CWE-22: improper limitation of paths to GML, GeoTIFF, NADCON or NTv2 files
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- The rating the maker of the software gives it. Shown when it differs from the CVSS level.What do these mean? →
- Low (apache)
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
Apache SIS, a Java library for geospatial data, is affected when it reads GML, WKT, or Landsat scene data containing references to other files. Because it opened referenced files without restricting their paths, a crafted data file could cause it to access arbitrary local files, though the parsing requirements make sensitive information disclosure unlikely.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original description
This issue affects Apache SIS from version 0.7 through 1.6 inclusive. When a data file contains links to other files, Apache SIS opened these files regardless their paths. It was possible, for example, to specify a path to a local file. However, these files were always expected to be in some specific formats and the reading stops at the first parsing error, which makes this vulnerability unlikely to leak sensitive information. The impacted formats are: • Geographic Markup Language (GML) with `xlink:href` attributes for other files in GML format. • Well Known Text (WKT) with parameter elements for datum shift grids in NADCON, NTv2 or RGF93 formats. • Landsat scene with paths to files for each band in the GeoTIFF format. Users are recommended to upgrade to version 1.7, which fixes the issue by restricting the paths to the same directory as the file containing the references to other files, or to a predetermined directory for datum shift grids.
Timeline
- CVE published
- First seen by cve.now
Affected versions
- org.apache.sis:sis-metadata
From 0.7 · through 1.6.0