Geopython pygeoapi
pygeoapi: Path Traversal in STAC FileSystemProvider
pygeoapi is a Python server implementation of the OGC API suite of standards. From version 0.23.0 to before version 0.23.3, a raw string path concatenation vulnerability in pygeoapi's STAC FileSystemProvider plugin can allow for requests to STAC collection based collections to expose directories without authentication. The issue manifests when pygeoapi is deployed without a proxy or web front end that would normalize URLs with .. values, along with a resource of type stac-collection defined in configuration. This issue has been patched in version 0.23.3.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-22
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
geopython pygeoapi
- >= 0.23.0, < 0.23.3
Fixed in 0.23.3
Mitigation
Upgrade pygeoapi to 0.23.3 or later.
References
- Vendor advisory github.com/geopython/pygeoapi/security/advisor…
- Patch github.com/geopython/pygeoapi/commit/bf25b8695…
- Release notes github.com/geopython/pygeoapi/releases/tag/0.2…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.