Perl 的 模块中,版本号低于 1.06 的 typemap 存在一个潜在的安全问题。该 typemap 在将参数转换为字符串之前,可能会先读取 SV(Scalar Value,Perl 标量值)的长度。 具体而言,该 typemap 使用了如下代码: 然而,C++ 中参数的求值顺序并未明确规定,某些编译器可能会优先生成先执行 的代码。 当 不是字符串类型(例如整数、数字或引用)时, 会返回一个无效值,从而导致程序中止或发生段错误(segfault)。
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.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| - | - | 0 ~ 1.06 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet