CVE-2022-21704
CVSS V2 Low 2.1
CVSS V3 Medium 5.5
Description
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.
Overview
- CVE ID
- CVE-2022-21704
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-01-19T23:15:08
- Last Modified Date
- 2023-02-03T19:16:11
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:log4js_project:log4js:*:*:*:*:*:node.js:*:* | 1 | OR | 6.4.0 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:L/AC:L/Au:N/C:P/I:N/A:N
- Access Vector
- LOCAL
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 2.1
- Severity
- LOW
- Exploitability Score
- 3.9
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Attack Vector
- LOCAL
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 5.5
- Base Severity
- MEDIUM
- Exploitability Score
- 1.8
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://github.com/log4js-node/log4js-node/blob/v6.4.0/CHANGELOG.md#640 | Release Notes Third Party Advisory |
https://github.com/log4js-node/log4js-node/pull/1141/commits/8042252861a1b65adb66931fdf702ead34fa9b76 | Patch Third Party Advisory |
https://github.com/log4js-node/log4js-node/security/advisories/GHSA-82v2-mx6x-wq7q | Patch Third Party Advisory |
https://github.com/log4js-node/streamroller/pull/87 | Issue Tracking Patch Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2022/12/msg00014.html |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-21704 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21704 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:36:00 | Added to TrackCVE | |||
2022-12-06 07:16:40 | 2022-01-19T23:15Z | 2022-01-19T23:15:08 | CVE Published Date | updated |
2022-12-06 07:16:40 | 2022-01-27T16:50:57 | CVE Modified Date | updated | |
2022-12-06 07:16:40 | Analyzed | Vulnerability Status | updated | |
2022-12-06 23:13:00 | 2022-12-06T22:15:10 | CVE Modified Date | updated | |
2022-12-06 23:13:00 | Analyzed | Modified | Vulnerability Status | updated |
2022-12-06 23:13:01 | References | updated | ||
2022-12-08 06:33:36 | Modified | Undergoing Analysis | Vulnerability Status | updated |
2023-02-03 20:15:01 | 2023-02-03T19:16:11 | CVE Modified Date | updated | |
2023-02-03 20:15:01 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |