UK-Export-Finance / nestjs-template

NestJS template using MSSQL, Docker, Pino.js, Renovate, CommitLint, etc
MIT License
1 stars 1 forks source link

typeorm-0.3.13.tgz: 1 vulnerabilities (highest severity is: 5.5) #47

Closed mend-bolt-for-github[bot] closed 1 year ago

mend-bolt-for-github[bot] commented 1 year ago
Vulnerable Library - typeorm-0.3.13.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/xml2js/package.json

Found in HEAD commit: 6890bd27a868af409cbaea667c2899e8a45887f1

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (typeorm version) Remediation Available
CVE-2023-0842 Medium 5.5 xml2js-0.4.23.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.

Details

CVE-2023-0842 ### Vulnerable Library - xml2js-0.4.23.tgz

Simple XML to JavaScript object converter.

Library home page: https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/xml2js/package.json

Dependency Hierarchy: - typeorm-0.3.13.tgz (Root Library) - :x: **xml2js-0.4.23.tgz** (Vulnerable Library)

Found in HEAD commit: 6890bd27a868af409cbaea667c2899e8a45887f1

Found in base branch: main

### Vulnerability Details

xml2js version 0.4.23 allows an external attacker to edit or add new properties to an object. This is possible because the application does not properly validate incoming JSON keys, thus allowing the __proto__ property to be edited.

Publish Date: 2023-04-05

URL: CVE-2023-0842

### CVSS 3 Score Details (5.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High

For more information on CVSS3 Scores, click here.

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)