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

CVE-2022-21704 (Medium) detected in log4js-5.3.0.tgz #20

Open
mend-bolt-for-github bot opened this issue Jan 6, 2023 · 0 comments
Open

CVE-2022-21704 (Medium) detected in log4js-5.3.0.tgz #20

mend-bolt-for-github bot opened this issue Jan 6, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

CVE-2022-21704 - Medium Severity Vulnerability

Vulnerable Library - log4js-5.3.0.tgz

Port of Log4js to work with node.

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

Path to dependency file: /Ubuntu_server/dots/.local/share/nvim/site/pack/coc/start/coc.nvim-release/package.json

Path to vulnerable library: /Ubuntu_server/dots/.local/share/nvim/site/pack/coc/start/coc.nvim-release/node_modules/log4js/package.json

Dependency Hierarchy:

  • log4js-5.3.0.tgz (Vulnerable Library)

Found in HEAD commit: 62c4b9c46c652dc0b44ecb53df7d2e950d9bab8c

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: GHSA-82v2-mx6x-wq7q

Release Date: 2022-01-19

Fix Resolution: 6.4.0


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jan 6, 2023
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