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
Numeric Truncation Error in nnn
Vulnerability Description
nnn stores homelen variable as uchar_t, which can only represent values in the range 0-255. An attacker who can influence the victim's execution environment can provide an arbitrary HOME path with length that is truncated to 0. The expression (homelen - 1) is promoted to signed int and becomes -1 and producing an out-of-bounds read and an out-of-bounds write one byte before the path buffer.
Maintainer of this project was notified about this vulnerability. It might has been addressed, but the maintainer did not provide a vulnerable version range. Only version 5.2 was tested and confirmed as vulnerable.
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Vulnerability Type
数值截断错误
Vulnerability Title
Arun Prakash Jana nnn 数字错误漏洞
Vulnerability Description
Arun Prakash Jana nnn是Arun Prakash Jana个人开发者开源的一个用 C 语言编写的便携式终端文件管理器。 Arun Prakash Jana nnn 5.2版本存在数字错误漏洞,该漏洞源于将homelen变量存储为uchar_t类型,导致其值范围限制在0-255,攻击者可通过影响执行环境提供任意HOME路径长度截断为0,进而造成路径缓冲区前一个字节的越界读取和越界写入。
CVSS Information
N/A
Vulnerability Type
N/A