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
OpenSC < 0.27.0 Buffer Overrun in do_key_value() via profile.c
Vulnerability Description
OpenSC before 0.27.0, fixed in commit 0358817, contains a stack and heap buffer overrun vulnerability in the do_key_value() function in src/pkcs15init/profile.c that allows attackers to corrupt memory by supplying a crafted profile configuration file. During pkcs15-init invocation, a key value entry beginning with '=' followed by more than sizeof(keybuf) characters is copied into keybuf via memcpy without a length check, causing both stack and heap buffer overruns.
CVSS Information
CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Vulnerability Type
栈缓冲区溢出
Vulnerability Title
OpenSC 安全漏洞
Vulnerability Description
OpenSC是OpenSC开源的一款开源的智能卡工具和中间件。 OpenSC 0.27.0之前版本存在安全漏洞,该漏洞源于src/pkcs15init/profile.c中的do_key_value()函数存在栈和堆缓冲区溢出漏洞,允许攻击者通过提供特制的配置文件来破坏内存。在pkcs15-init调用期间,以 = 开头且后跟超过sizeof(keybuf)字符的键值条目通过memcpy复制到keybuf中,且未进行长度检查,导致栈和堆缓冲区溢出。
CVSS Information
N/A
Vulnerability Type
N/A