Improper Control of Generation of Code ('Code Injection') (CVE-2024-21534)

admin 2024-10-13 02:32:52 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
Improper Control of Generation of Code ('Code Injection') (CVE-2024-21534)

CVE编号

CVE-2024-21534

利用情况

暂无

补丁情况

N/A

披露时间

2024-10-11
漏洞描述
A flaw was found in jsonpath-plus. This vulnerability allows remote code execution via improper input sanitisation and unsafe default usage of the vm module in Node.js. Attackers can exploit this by executing arbitrary code through the unsafe use of the vm module in Node.js, which allows for malicious code injection. This issue occurs due to the way jsonpath-plus evaluates JSON paths using vm, a Node.js module that allows code execution. If user input is not properly sanitized, an attacker can craft JSON paths that execute dangerous commands, such as reading sensitive files.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://access.redhat.com/security/cve/CVE-2024-21534
https://github.com/JSONPath-Plus/JSONPath/commit/6b2f1b4c234292c75912b790bf7e...
https://security.snyk.io/vuln/SNYK-JS-JSONPATHPLUS-7945884
CVSS3评分 9.8
  • 攻击路径 网络
  • 攻击复杂度 低
  • 权限要求 无
  • 影响范围 未更改
  • 用户交互 无
  • 可用性 高
  • 保密性 高
  • 完整性 高
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE-ID 漏洞类型
CWE-94 对生成代码的控制不恰当(代码注入)
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论:0   参与:  0