microtar Stack Buffer Overflow in mtar_write_file_header() and mtar_write_dir_header()
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| rxi | microtar | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Rxi | Microtar |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.553% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| 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 `name` 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. Any application that calls these functions with an externally-influenced filename longer than 99 characters (e.g. when archiving user-supplied or attacker-controlled filenames) triggers a stack buffer overflow. | 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. |
| Title | microtar - Stack Buffer Overflow in mtar_write_file_header() and mtar_write_dir_header() | microtar Stack Buffer Overflow in mtar_write_file_header() and mtar_write_dir_header() |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | microtar Stack Buffer Overflow in mtar_write_file_header() and mtar_write_dir_header() | microtar - Stack Buffer Overflow in mtar_write_file_header() and mtar_write_dir_header() |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-120 | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Rxi
Rxi microtar |
|
| Vendors & Products |
Rxi
Rxi microtar |
| Type | Values Removed | Values Added |
|---|---|---|
| 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 `name` 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. Any application that calls these functions with an externally-influenced filename longer than 99 characters (e.g. when archiving user-supplied or attacker-controlled filenames) triggers a stack buffer overflow. | |
| Title | microtar Stack Buffer Overflow in mtar_write_file_header() and mtar_write_dir_header() | |
| Weaknesses | CWE-121 | |
| References |
| |
| Metrics |
cvssV3_1
|