Stack-Based Buffer Overflow in GDAL NetCDF Driver Allows Arbitrary Code Execution
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| GDAL | GDAL | unknown |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Gdal | Gdal |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-wphc-7cm7-8mf7 | GDAL: scanForGeometryContainers in the netCDF driver allows code execution via a stack-based buffer overflow |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.102% probability within 30 days)
| Link | Providers |
|---|---|
| https://github.com/OSGeo/gdal/issues/14594 |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Osgeo
Osgeo gdal |
|
| CPEs | cpe:2.3:a:osgeo:gdal:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Osgeo
Osgeo gdal |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Stack-Based Buffer Overflow in GDAL NetCDF Driver Allows Arbitrary Code Execution |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | In GDAL 3.1.0 through 3.13.0, scanForGeometryContainers in the netCDF driver allows code execution via a stack-based buffer overflow. It reads a geometry attribute into a fixed-size stack buffer without validating the attribute length. The attacker embeds the exploit as an oversized geometry attribute in a crafted NetCDF file. This achieves arbitrary code execution on the server running GDAL. This is in frmts/netcdf/netcdfsg.cpp. | |
| First Time appeared |
Gdal
Gdal gdal |
|
| Weaknesses | CWE-121 | |
| CPEs | cpe:2.3:a:gdal:gdal:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Gdal
Gdal gdal |
|
| References |
| |
| Metrics |
cvssV3_1
|