Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2022-1537 @ Npm-grunt-1.0.3 #193

Open
CMaheshBL opened this issue Jun 8, 2022 · 0 comments
Open

CVE-2022-1537 @ Npm-grunt-1.0.3 #193

CMaheshBL opened this issue Jun 8, 2022 · 0 comments

Comments

@CMaheshBL
Copy link
Owner

CMaheshBL commented Jun 8, 2022

Vulnerable Package issue exists @ Npm-grunt-1.0.3 in branch master

file.copy operations in GruntJS are vulnerable to a TOCTOU race condition leading to arbitrary file write in versions 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.

Namespace: CMaheshBL
Repository: NodeGoat
Repository Url: https://github.com/CMaheshBL/NodeGoat
CxAST-Project: CMaheshBL/NodeGoat
CxAST platform scan: d7c1c0af-6b2d-455e-8753-a6b87dbf733d
Branch: master
Application: NodeGoat
Severity: HIGH
State: NOT_IGNORED
Status: RECURRENT
CWE: CWE-367


Addition Info
Attack vector: LOCAL
Attack complexity: HIGH
Confidentiality impact: HIGH
Availability impact: HIGH
Remediation Upgrade Recommendation: 1.5.3


References
Advisory
Pull request
Commit
Release Note
Disclosure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant