mcaj-git / nextcloud-dev

GNU Affero General Public License v3.0
1 stars 1 forks source link

CVE-2022-21704 (Medium) detected in log4js-4.5.1.tgz, log4js-6.3.0.tgz #354

Open mend-bolt-for-github[bot] opened 1 year ago

mend-bolt-for-github[bot] commented 1 year ago

CVE-2022-21704 - Medium Severity Vulnerability

Vulnerable Libraries - log4js-4.5.1.tgz, log4js-6.3.0.tgz

log4js-4.5.1.tgz

Port of Log4js to work with node.

Library home page: https://registry.npmjs.org/log4js/-/log4js-4.5.1.tgz

Path to dependency file: /build/package.json

Path to vulnerable library: /build/node_modules/@types/karma/node_modules/log4js/package.json

Dependency Hierarchy: - karma-viewport-1.0.8.tgz (Root Library) - karma-5.0.1.tgz - :x: **log4js-4.5.1.tgz** (Vulnerable Library)

log4js-6.3.0.tgz

Port of Log4js to work with node.

Library home page: https://registry.npmjs.org/log4js/-/log4js-6.3.0.tgz

Path to dependency file: /build/package.json

Path to vulnerable library: /build/node_modules/log4js/package.json

Dependency Hierarchy: - karma-6.3.4.tgz (Root Library) - :x: **log4js-6.3.0.tgz** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

log4js-node is a port of log4js to node.js. In affected versions default file permissions for log files created by the file, fileSync and dateFile appenders are world-readable (in unix). This could cause problems if log files contain sensitive information. This would affect any users that have not supplied their own permissions for the files via the mode parameter in the config. Users are advised to update.

Publish Date: 2022-01-19

URL: CVE-2022-21704

CVSS 3 Score Details (5.5)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/log4js-node/log4js-node/security/advisories/GHSA-82v2-mx6x-wq7q

Release Date: 2022-01-19

Fix Resolution (log4js): 6.4.0

Direct dependency fix Resolution (karma-viewport): 1.0.9

Fix Resolution (log4js): 6.4.0

Direct dependency fix Resolution (karma): 6.3.5


Step up your Open Source Security Game with Mend here