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
YAML::Syck versions before 1.38 for Perl has an out-of-bounds read
Vulnerability Description
YAML::Syck versions before 1.38 for Perl has an out-of-bounds read. The base60 (sexagesimal) parsing code in perl_syck.h has a buffer underflow bug in both int#base60 and float#base60 handlers. When processing the leftmost segment of a colon-separated value (e.g., the 1 in 1:30:45), the inner while loop can decrement a pointer past the start of the string buffer: while ( colon >= ptr && *colon != ':' ) { colon--; } if ( *colon == ':' ) *colon = '\0'; // colon may be ptr-1 here When no colon is found (final/leftmost segment), colon becomes ptr-1, and the subsequent *colon dereference reads one byte before the allocated buffer.
CVSS Information
N/A
Vulnerability Type
缓冲区下溢
Vulnerability Title
YAML::Syck 安全漏洞
Vulnerability Description
YAML::Syck是CPAN Authors开源的一个Perl库。 YAML::Syck 1.38之前版本存在安全漏洞,该漏洞源于perl_syck.h中的base60解析代码存在缓冲区下溢,在处理冒号分隔值的最左段时,内部while循环可能将指针递减到字符串缓冲区起始位置之前,导致越界读取。
CVSS Information
N/A
Vulnerability Type
N/A