NVD Vulnerability Detail
Search Exploit, PoC
CVE-2022-1537
Summary

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.

Publication Date May 10, 2022, 11:15 p.m.
Registration Date May 11, 2022, 10:01 a.m.
Last Update Nov. 21, 2024, 3:40 p.m.
CVSS3.1 : HIGH
スコア 7.0
Vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(AV) ローカル
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR)
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
CVSS2.0 : MEDIUM
Score 6.9
Vector AV:L/AC:M/Au:N/C:C/I:C/A:C
攻撃元区分(AV) ローカル
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:gruntjs:grunt:*:*:*:*:*:node.js:*:* 1.5.3
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
gruntjs の Node.js 用 grunt における Time-of-check Time-of-use (TOCTOU) 競合状態の脆弱性
Title gruntjs の Node.js 用 grunt における Time-of-check Time-of-use (TOCTOU) 競合状態の脆弱性
Summary

gruntjs の Node.js 用 grunt には、Time-of-check Time-of-use (TOCTOU) 競合状態の脆弱性が存在します。

Possible impacts 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
Solution

ベンダアドバイザリまたはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

Publication Date May 10, 2022, midnight
Registration Date Aug. 3, 2023, 5:31 p.m.
Last Update Aug. 3, 2023, 5:31 p.m.
Affected System
gruntjs
grunt 1.5.3 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2023年08月03日]
  掲載
Aug. 3, 2023, 5:31 p.m.