endpointlabs / VulnerableDotNetCore3Project

.Net Core 3.0
0 stars 0 forks source link

CVE-2022-29078 | ejs:2.7.4 (CWE-74) #87

Closed ckalpakoglu closed 1 year ago

ckalpakoglu commented 1 year ago

Due Date: 2023-01-10

A critical severity vulnerability has been discovered in your project.

Project Name: kondukto-ui-vue

Scanner Name: dependabot

Cwe ID: 74

Cwe Name: Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)

Cwe Link: https://cwe.mitre.org/data/definitions/74.html

File: package-lock.json

Packages:

References:

Training(Secure Code Warrior):




Tool Description: ### Summary

ejs template injection vulnerability

Fixed Patch

3.1.7

The ejs (aka Embedded JavaScript templates) package 3.1.6 for Node.js allows server-side template injection in settings[view options][outputFunctionName]. This is parsed as an internal option, and overwrites the outputFunctionName option with an arbitrary OS command (which is executed upon template compilation).

Kondukto Link: https://82.kondukto.local/projects/63b2e875fcd0c2a01b845757/vulns/appsec?page=1&perPage=15&id=in:63bbc8a5830d80344746b537 Deeplink: https://github.com/advisories/GHSA-phwq-j96m-2c2q

ckalpakoglu commented 1 year ago

The issue has been closed by Kondukto since it is marked as won't fix.