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

ejs-locals-1.0.2.tgz: 1 vulnerabilities (highest severity is: 9.8) #6

Open
dev-mend-for-github-com bot opened this issue Mar 5, 2023 · 4 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@dev-mend-for-github-com
Copy link
Contributor

dev-mend-for-github-com bot commented Mar 5, 2023

Vulnerable Library - ejs-locals-1.0.2.tgz

Path to dependency file: /Scripts/Custom/Core/package.json

Path to vulnerable library: /Scripts/Custom/Core/node_modules/ejs-locals/node_modules/ejs/package.json,/Scripts/Custom/noVersion/node_modules/ejs/package.json

Found in HEAD commit: 83a994ce390bc004db7f58abf322b705a096886b

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (ejs-locals version) Remediation Possible**
CVE-2017-1000228 Critical 9.8 ejs-0.8.8.tgz Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

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

Details

CVE-2017-1000228

Vulnerable Library - ejs-0.8.8.tgz

Embedded JavaScript templates

Library home page: https://registry.npmjs.org/ejs/-/ejs-0.8.8.tgz

Path to dependency file: /Scripts/Custom/Core/package.json

Path to vulnerable library: /Scripts/Custom/Core/node_modules/ejs-locals/node_modules/ejs/package.json,/Scripts/Custom/noVersion/node_modules/ejs/package.json

Dependency Hierarchy:

  • ejs-locals-1.0.2.tgz (Root Library)
    • ejs-0.8.8.tgz (Vulnerable Library)

Found in HEAD commit: 83a994ce390bc004db7f58abf322b705a096886b

Found in base branch: main

Vulnerability Details

nodejs ejs versions older than 2.5.3 is vulnerable to remote code execution due to weak input validation in ejs.renderFile() function

Publish Date: 2017-11-17

URL: CVE-2017-1000228

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • 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: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-1000228

Release Date: 2017-11-17

Fix Resolution: 2.5.3

@dev-mend-for-github-com dev-mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Mar 5, 2023
@dev-mend-for-github-com dev-mend-for-github-com bot changed the title ejs-locals-1.0.2.tgz: 1 vulnerabilities (highest severity is: 9.8) ejs-locals-1.0.2.tgz: 1 vulnerabilities (highest severity is: 9.8) - autoclosed Mar 6, 2023
@dev-mend-for-github-com
Copy link
Contributor Author

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

@dev-mend-for-github-com dev-mend-for-github-com bot changed the title ejs-locals-1.0.2.tgz: 1 vulnerabilities (highest severity is: 9.8) - autoclosed ejs-locals-1.0.2.tgz: 1 vulnerabilities (highest severity is: 9.8) Mar 6, 2023
@dev-mend-for-github-com
Copy link
Contributor Author

ℹ️ This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.

@dev-mend-for-github-com dev-mend-for-github-com bot changed the title ejs-locals-1.0.2.tgz: 1 vulnerabilities (highest severity is: 9.8) ejs-locals-1.0.2.tgz: 1 vulnerabilities (highest severity is: 9.8) - autoclosed Mar 6, 2023
@dev-mend-for-github-com
Copy link
Contributor Author

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

@dev-mend-for-github-com dev-mend-for-github-com bot changed the title ejs-locals-1.0.2.tgz: 1 vulnerabilities (highest severity is: 9.8) - autoclosed ejs-locals-1.0.2.tgz: 1 vulnerabilities (highest severity is: 9.8) Mar 6, 2023
@dev-mend-for-github-com
Copy link
Contributor Author

ℹ️ This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants