@tsed/core@4.29.1 vulnerabilities

Core module for Ts.ED Framework

Direct Vulnerabilities

Known vulnerabilities in the @tsed/core package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Prototype Pollution

@tsed/core is a package of Ts.ED framework.

Affected versions of this package are vulnerable to Prototype Pollution. This vulnerability relates to the deepExtend function which is used as part of the utils directory. Depending on if user input is provided, an attacker can overwrite and pollute the object prototype of a program.


import {deepExtends} from "../../src";

var payload = JSON.parse('{"__proto__": {"a": "vulnerable"}}');
let result = deepExtends( { security: [{"1": "o"}]},payload)


How to fix Prototype Pollution?

Upgrade @tsed/core to version 5.65.7 or higher.