Description
Surfio is a library for reading and writing surface files. Prior to 0.0.19, surfio does not correctly validate size fields in IRAP files, leading to a buffer overflow when untrusted files are parsed. The severity assumes surfio is used to parse untrusted files in a networking context such as a web service. This issue is fixed in version 0.0.19.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| equinor | surfio | < 0.0.19 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | surfio | < 0.0.19 | 0.0.19 | GHSA-rcr2-hggw-43wm |
References
- https://github.com/equinor/surfio/security/advisories/GHSA-rcr2-hggw-43wm
- https://github.com/equinor/surfio/pull/86
- https://github.com/equinor/surfio/commit/1619750bce28e39c4f378d2fb6d28b72380a12aa
- https://github.com/equinor/surfio/commit/e009c0cad145484f854aeb22d1979f9216b291db
- https://github.com/equinor/surfio/releases/tag/0.0.19