UBUNTU-CVE-2022-21704

Source
https://ubuntu.com/security/CVE-2022-21704
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21704.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-21704
Upstream
Downstream
Related
Published
2022-01-19T23:15:00Z
Modified
2026-12-03T20:47:51Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N (Source: CNA) CVSS Calculator
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N (Source: NVD) CVSS Calculator
  • Ubuntu - low (Source: SELF)
Summary
[none]
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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / node-log4js

Package

Name
node-log4js
Purl
pkg:deb/ubuntu/node-log4js?arch=source&distro=esm-apps-legacy%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.6.18-1ubuntu0.16.04.1~esm1

Affected versions

0.*
0.6.18-1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "node-log4js",
            "binary_version":  "0.6.18-1ubuntu0.16.04.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21704.json"

Ubuntu:Pro:18.04:LTS / node-log4js

Package

Name
node-log4js
Purl
pkg:deb/ubuntu/node-log4js?arch=source&distro=esm-apps%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.6.18-1ubuntu0.18.04.1~esm1

Affected versions

0.*
0.6.18-1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "node-log4js",
            "binary_version":  "0.6.18-1ubuntu0.18.04.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21704.json"

Ubuntu:Pro:20.04:LTS / node-log4js

Package

Name
node-log4js
Purl
pkg:deb/ubuntu/node-log4js?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
6.1.0-1ubuntu0.1~esm1

Affected versions

4.*
4.5.1-3
5.*
5.2.1-1
6.*
6.1.0-1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "node-log4js",
            "binary_version":  "6.1.0-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21704.json"