Perl 的 Tie::Hash::Regex 模块在 2.0.0 版本之前,会在尝试使用无法解析的查找键(lookup keys)时抛出异常。 当正则表达式格式不正确时,FETCH、EXISTS 和 DELETE 方法均会抛出异常。 在键尚未存储在哈希中时,上述每个方法都会回退到正则表达式匹配:它将调用者提供的键与裸正则表达式 进行编译,且未使用任何 保护机制。如果键不是有效的正则表达式模式(例如,包含未闭合的方括号),程序将直接死亡(die)。 因此,如果应用程序在绑定哈希中查找外部传入的字符串,当遇到无效的键
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 ~ 2.0.0 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet