Skip to content

Update yargs-parser from 5.0.0 to 22.0.0#376

Open
zeropath-ai-dev[bot] wants to merge 1 commit intomasterfrom
zvuln_fix_c6f5c3f1
Open

Update yargs-parser from 5.0.0 to 22.0.0#376
zeropath-ai-dev[bot] wants to merge 1 commit intomasterfrom
zvuln_fix_c6f5c3f1

Conversation

@zeropath-ai-dev
Copy link
Copy Markdown

Summary

Update yargs-parser from 5.0.0 to 22.0.0 in owasp-top10-2021-apps/a5/stegonography/app/static/admin-page/package.json to address GHSA-p9pc-299p-vxgp

View in dashboard

Vulnerability Details

  • Vulnerability Class: GHSA-p9pc-299p-vxgp
  • Severity: 0.0
  • Affected File: owasp-top10-2021-apps/a5/stegonography/app/static/admin-page/package-lock.json
  • Vulnerable Lines: 1-1

Code Snippets

diff --git a/owasp-top10-2021-apps/a5/stegonography/app/static/admin-page/package-lock.json b/owasp-top10-2021-apps/a5/stegonography/app/static/admin-page/package-lock.json
--- a/owasp-top10-2021-apps/a5/stegonography/app/static/admin-page/package-lock.json
+++ b/owasp-top10-2021-apps/a5/stegonography/app/static/admin-page/package-lock.json
@@ -2831,13 +2831,13 @@
                         "string-width": "^1.0.2",
                         "which-module": "^1.0.0",
                         "y18n": "^3.2.1",
-                        "yargs-parser": "^5.0.0"
+                        "yargs-parser": "^22.0.0"
                     }
                 },
                 "yargs-parser": {
-                    "version": "5.0.0",
-                    "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz",
-                    "integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=",
+                    "version": "22.0.0",
+                    "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz",
+                    "integrity": "",
                     "dev": true,
                     "requires": {
                         "camelcase": "^3.0.0"
@@ -5344,13 +5344,13 @@
                         "string-width": "^1.0.2",
                         "which-module": "^1.0.0",
                         "y18n": "^3.2.1",
-                        "yargs-parser": "^5.0.0"
+                        "yargs-parser": "^22.0.0"
                     }
                 },
                 "yargs-parser": {
-                    "version": "5.0.0",
-                    "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz",
-                    "integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=",
+                    "version": "22.0.0",
+                    "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz",
+                    "integrity": "",
                     "dev": true,
                     "requires": {
                         "camelcase": "^3.0.0"

diff --git a/owasp-top10-2021-apps/a5/stegonography/app/static/admin-page/package.json b/owasp-top10-2021-apps/a5/stegonography/app/static/admin-page/package.json
--- a/owasp-top10-2021-apps/a5/stegonography/app/static/admin-page/package.json
+++ b/owasp-top10-2021-apps/a5/stegonography/app/static/admin-page/package.json
@@ -36,7 +36,8 @@
         "chart.js": "2.8.0",
         "datatables.net-bs4": "1.10.19",
         "jquery": "3.3.1",
-        "jquery.easing": "^1.4.1"
+        "jquery.easing": "^1.4.1",
+        "yargs-parser": "^22.0.0"
     },
     "devDependencies": {
         "browser-sync": "2.26.3",

How to Modify the Patch

You can modify this patch by using one of the two methods outlined below. We recommend using the @zeropath-ai bot for updating the code. If you encounter any bugs or issues with the patch, please report them here.

Ask @zeropath-ai!

To request modifications, please post a comment beginning with @zeropath-ai and specify the changes required.

@zeropath-ai will then implement the requested adjustments and commit them to the specified branch in this pull request. Our bot is capable of managing changes across multiple files and various development-related requests.

Manually Modify the Files

# Checkout created branch:
git checkout zvuln_fix_c6f5c3f1

# if vscode is installed run (or use your favorite editor / IDE):
code owasp-top10-2021-apps/a5/stegonography/app/static/admin-page/package-lock.json

# Add, commit, and push changes:
git add -A
git commit -m "Update generated patch with x, y, and z changes."
git push zvuln_fix_c6f5c3f1

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.

0 participants