Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Netatalk has Integer Underflow → Stack Buffer Overflow in deletedir()
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 deletedir() function of Netatalk's afpd daemon due to an integer underflow in the calculation of the remaining buffer size used for path construction. deletedir() 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 prevent buffer overflows by tracking available space in a size_t remain variable. However, the arithmetic used to compute remain results in an unsigned integer underflow, causing the variable to become SIZE_MAX. Because of this, the subsequent boundary check always evaluates as safe, allowing an unbounded strcpy() operation to copy attacker-controlled filenames into a nearly full stack buffer. Version 4.4.3 patches the issue.
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版本存在数字错误漏洞,该漏洞源于deletedir()函数计算剩余缓冲区大小时存在整数下溢,导致边界检查失效,从而允许无限制的strcpy()操作将攻击者控制的文件名复制到几乎已满的栈缓冲区,造成栈缓冲区溢出。
CVSS Information
N/A
Vulnerability Type
N/A