YJSoft / xe-core-old

PHP Open Source CMS
http://www.xpressengine.com
Other
0 stars 0 forks source link

CVE-2022-1537 (High) detected in librejslibrejs-7.19 #71

Open mend-bolt-for-github[bot] opened 2 years ago

mend-bolt-for-github[bot] commented 2 years ago

CVE-2022-1537 - High Severity Vulnerability

Vulnerable Library - librejslibrejs-7.19

Gnu Distributions

Library home page: https://ftp.gnu.org/gnu/librejs?wsslib=librejs

Found in HEAD commit: 721f00c7479af73f0a73be46c2bc6853e1da863b

Found in base branch: master

Vulnerable Source Files (1)

/node_modules/grunt/lib/grunt/file.js

Vulnerability Details

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.

Publish Date: 2022-05-10

URL: CVE-2022-1537

CVSS 3 Score Details (7.0)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: High - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://huntr.dev/bounties/0179c3e5-bc02-4fc9-8491-a1a319b51b4d/

Release Date: 2022-05-10

Fix Resolution: grunt - v1.5.3


Step up your Open Source Security Game with Mend here