6.9
CVSSv2

CVE-2022-1537

Published: 10/05/2022 Updated: 05/04/2023
CVSS v2 Base Score: 6.9 | Impact Score: 10 | Exploitability Score: 3.4
CVSS v3 Base Score: 7 | Impact Score: 5.9 | Exploitability Score: 1
VMScore: 615
Vector: AV:L/AC:M/Au:N/C:C/I:C/A:C

Vulnerability Summary

file.copy operations in GruntJS are vulnerable to a TOCTOU race condition leading to arbitrary file write in GitHub repository gruntjs/grunt before 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.

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

gruntjs grunt

Vendor Advisories

filecopy operations in GruntJS are vulnerable to a TOCTOU race condition leading to arbitrary file write in GitHub repository gruntjs/grunt prior to 153 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 destinatio ...
filecopy operations in GruntJS are vulnerable to a TOC-TOU race condition leading to arbitrary file write when an attacker can create a symlink just after deletion of the dest symlink ...

Github Repositories

WP REST API enhancement to return JSON arrays containing localized strings registered with WordPress' wp_localize_script() function

RESTful Localized Scripts Contributors: shooper Donate link: shawnhooperca/ Tags: javascript, i18n, api Requires at least: 44 Tested up to: 442 Stable tag: trunk License: GPLv2 or later License URI: wwwgnuorg/licenses/gpl-20html WP REST API enhancement to return JSON arrays containing localized strings registered with WordPress' wp_localize_script()

Adds links to posts in other languages into the results of a WP REST API query for sites running the WPML plugin.

WPML REST API Contributors: shooper Donate link: shawnhooperca/ Tags: wpml, api, rest Requires at least: 52 Tested up to: 642 Requires PHP: 74 Stable tag: trunk License: GPLv2 or later License URI: wwwgnuorg/licenses/gpl-20html Get translations details with the WP REST API on sites running WordPress & WPML Description This plugin adds links to pag