Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-1537— file.copy operations in GruntJS are vulnerable to a TOCTOU race condition leading to arbitrary file write in gruntjs/grunt

Quick assessment

Affected
gruntjs gruntjs/grunt
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Grunt是一个 JavaScript 任务运行器。 Grunt 1.5.3之前版本存在安全漏洞,该漏洞源于file.copy容易受到TOCTOU的影响攻击者利用该漏洞执行任意文件写入。

AI Predicted 7.8 Difficulty: Easy EPSS 0.30% · P22
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-1537

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

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
file.copy operations in GruntJS are vulnerable to a TOCTOU race condition leading to arbitrary file write in gruntjs/grunt
Source: CVE Program / CVE List V5
Vulnerability Description
file.copy operations in GruntJS are vulnerable to a TOCTOU race condition leading to arbitrary file write in GitHub repository gruntjs/grunt prior to 1.5.3. This vulnerability is capable of arbitrary file writes which can lead to local privilege escalation to the GruntJS user if a lower-privileged user has write access to both source and destination directories as the lower-privileged user can create a symlink to the GruntJS user's .bashrc file or replace /etc/shadow file if the GruntJS user is root.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
检查时间与使用时间(TOCTOU)的竞争条件
Source: CVE Program / CVE List V5
Vulnerability Title
Grunt 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Grunt是一个 JavaScript 任务运行器。 Grunt 1.5.3之前版本存在安全漏洞,该漏洞源于file.copy容易受到TOCTOU的影响攻击者利用该漏洞执行任意文件写入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
gruntjs gruntjs/grunt unspecified ~ 1.5.3 -

II. Public POCs for CVE-2022-1537

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-1537

登录查看更多情报信息。

Patches & Fixes for CVE-2022-1537 (1)

Vendor Advisories for CVE-2022-1537 (1)

Mailing List Discussions for CVE-2022-1537 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-1537

No comments yet


Leave a comment