漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
microtar 0.1.0 Stack-Based Buffer Overflow via raw_to_header()
Vulnerability Description
microtar through 0.1.0 contains a stack-based buffer overflow vulnerability in the raw_to_header() function in src/microtar.c that allows attackers to corrupt adjacent stack memory by supplying a crafted TAR archive with non-null-terminated name or linkname fields. The function uses strcpy() to copy 100-byte ustar format fields that lack null terminators, causing writes of up to 355 bytes into a 100-byte destination buffer when mtar_open(), mtar_find(), or mtar_read_header() process attacker-supplied TAR archives.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Vulnerability Type
栈缓冲区溢出
Vulnerability Title
microtar 安全漏洞
Vulnerability Description
microtar是rxi个人开发者的一个轻量级ANSI C语言tar库。 microtar 0.1.0及之前版本存在安全漏洞,该漏洞源于raw_to_header函数使用strcpy复制非空终止的ustar格式字段,可能导致攻击者通过提供特制TAR存档破坏相邻栈内存。
CVSS Information
N/A
Vulnerability Type
N/A