CyberRota Analysis
AI-GeneratedThe vulnerability exists in the mtar_write_file_header() and mtar_write_dir_header() functions of microtar, where a stack buffer overflow can occur due to the lack of length validation on user-supplied filenames. This flaw allows attackers to exploit the overflow, potentially leading to arbitrary code execution or application crashes. Organizations utilizing microtar for file archiving, especially those handling untrusted input, should prioritize patching this critical vulnerability to mitigate the risk of exploitation.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.