漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Netatalk has Integer Underflow → Stack Buffer Overflow in copydir()
Vulnerability Description
Netatalk is a Free and Open Source file server suite for Unix-like operating systems. In versions 3.1.19 through 4.4.2, a stack-based buffer overflow exists in the copydir() function of Netatalk's afpd daemon due to an integer underflow in the calculation of the remaining buffer size used for path construction. copydir() is a utility function called when a file operation crosses a device boundary inside an AFP shared volume, which the standard library's renameat() cannot handle. The function attempts to track available buffer space using srem and drem for source and destination paths. Incorrect arithmetic causes both srem and drem to underflow to SIZE_MAX. Consequently, boundary checks against strlen(de->d_name) always pass, allowing strcpy() to append filenames into nearly full stack buffers. Version 4.4.3 patches the issue. As a workaround, configure each AFP shared volume to be structured as a single file system, in other words no subdirectory of a shared volume should be a mount point for a different file system.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
整数下溢(超界折返)
Vulnerability Title
Netatalk 数字错误漏洞
Vulnerability Description
Netatalk是Netatalk团队开源的一个AFP文件服务器软件。 Netatalk 3.1.19版本至4.4.2版本存在数字错误漏洞,该漏洞源于afpd守护进程的copydir()函数中路径构造的剩余缓冲区大小计算存在整数下溢,可能导致栈缓冲区溢出,允许攻击者将文件名写入几乎已满的栈缓冲区。
CVSS Information
N/A
Vulnerability Type
N/A