Skip to content

Upgrade grunt-contrib-clean to 2.0.1 to fix CVE-2021-43138#943

Draft
Copilot wants to merge 2 commits into
masterfrom
copilot/fix-grunt-contrib-clean-vulnerability
Draft

Upgrade grunt-contrib-clean to 2.0.1 to fix CVE-2021-43138#943
Copilot wants to merge 2 commits into
masterfrom
copilot/fix-grunt-contrib-clean-vulnerability

Conversation

Copilot AI commented Mar 17, 2026

Copy link
Copy Markdown

High-severity (CVSS 7.8) prototype pollution vulnerability in transitive dependency async@2.6.3 via grunt-contrib-clean@2.0.0.

  • Bump grunt-contrib-clean from ^2.0.0 to ^2.0.1 in package.json
  • Update package-lock.json: async 2.6.3 → 3.2.6 (no longer vulnerable, drops lodash transitive dep)
Original prompt

This section details on the original issue you should resolve

<issue_title>grunt-contrib-clean-2.0.0.tgz: 1 vulnerabilities (highest severity is: 7.8) unreachable</issue_title>
<issue_description>

Vulnerable Library - grunt-contrib-clean-2.0.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Found in HEAD commit: 7c898c0839317ea7989d15935972aa4dc520b907

Vulnerabilities

Vulnerability Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (grunt-contrib-clean version) Fix PR available Reachability
CVE-2021-43138 High 7.8 Not Defined 0.70000005% async-2.6.3.tgz Transitive 2.0.1

Unreachable

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2021-43138

Vulnerable Library - async-2.6.3.tgz

Higher-order functions and common patterns for asynchronous code

Library home page: https://registry.npmjs.org/async/-/async-2.6.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • grunt-contrib-clean-2.0.0.tgz (Root Library)
    • async-2.6.3.tgz (Vulnerable Library)

Found in HEAD commit: 7c898c0839317ea7989d15935972aa4dc520b907

Found in base branches: develop, master

Reachability Analysis

The vulnerable code is unreachable

Vulnerability Details

In Async before 2.6.4 and 3.x before 3.2.2, a malicious user can obtain privileges via the mapValues() method, aka lib/internal/iterator.js createObjectIterator prototype pollution.

Publish Date: 2022-04-06

URL: CVE-2021-43138

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.70000005%

CVSS 3 Score Details (7.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • 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://nvd.nist.gov/vuln/detail/CVE-2021-43138

Release Date: 2022-04-06

Fix Resolution (async): async - 2.6.4,3.2.2

Direct dependency fix Resolution (grunt-contrib-clean): 2.0.1

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: VZaphod <210490533+VZaphod@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix vulnerability in grunt-contrib-clean-2.0.0 Upgrade grunt-contrib-clean to 2.0.1 to fix CVE-2021-43138 Mar 17, 2026
Copilot AI requested a review from VZaphod March 17, 2026 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

grunt-contrib-clean-2.0.0.tgz: 1 vulnerabilities (highest severity is: 7.8) unreachable

2 participants