Description
EarthScope libmseed through 3.5.4 contains a heap out-of-bounds read vulnerability in ms3_detect() in parseutils.c that reads past truncated miniSEED 2 record buffers. Attackers can supply a 40 to 47 byte buffer passing MS2_ISVALIDHEADER to msr3_parse() or ms3_detect(), over-reading up to 8 bytes and potentially crashing the process.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
EarthScope libmseed
Default version status: unaffected
0 to ≤ 3.5.4affected
References
- https://hackmd.io/@haind-pwn/libmseed-ms3detect-short-header-oob-read ↗
- https://github.com/EarthScope/libmseed/blob/d6e6ad306de5b7bdde072e5a5e3d58ddcc11abd8/parseutils.c#L192-L234 ↗
- https://github.com/EarthScope/libmseed/commit/c93a36a1381e944b59b10967342ee1cb94304223 ↗
- https://github.com/EarthScope/libmseed ↗
- https://www.vulncheck.com/advisories/earthscope-libmseed-through-3.5.4-heap-out-of-bounds-read-via-ms3-detect ↗