Description
microtar's mtar_write_file_header and mtar_write_dir_header functions (src/microtar.c) copy a caller-supplied entry name into the 100-byte field of a stack-allocated mtar_header_t via strcpy(h.name, name), with no check that strlen(name) is less than 100 before the copy.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| rxi | microtar | — | — |
References
- https://github.com/rxi/microtar third-party-advisory
- https://github.com/rxi/microtar/blob/master/src/microtar.c third-party-advisory