UBUNTU-CVE-2021-45046

Source
https://ubuntu.com/security/CVE-2021-45046
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45046.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-45046
Related
Published
2021-12-14T16:30:00Z
Modified
2021-12-14T16:30:00Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • 9.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

It was found that the fix to address CVE-2021-44228 in Apache Log4j 2.15.0 was incomplete in certain non-default configurations. This could allows attackers with control over Thread Context Map (MDC) input data when the logging configuration uses a non-default Pattern Layout with either a Context Lookup (for example, $${ctx:loginId}) or a Thread Context Map pattern (%X, %mdc, or %MDC) to craft malicious input data using a JNDI Lookup pattern resulting in an information leak and remote code execution in some environments and local code execution in all environments. Log4j 2.16.0 (Java 8) and 2.12.2 (Java 7) fix this issue by removing support for message lookup patterns and disabling JNDI functionality by default.

References

Affected packages

Ubuntu:20.04:LTS / apache-log4j2

Package

Name
apache-log4j2
Purl
pkg:deb/ubuntu/apache-log4j2?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.16.0-0.20.04.1

Affected versions

2.*

2.11.1-2
2.11.2-1
2.15.0-0.20.04.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "2.16.0-0.20.04.1",
            "binary_name": "liblog4j2-java"
        },
        {
            "binary_version": "2.16.0-0.20.04.1",
            "binary_name": "liblog4j2-java-doc"
        }
    ]
}

Ubuntu:22.04:LTS / apache-log4j2

Package

Name
apache-log4j2
Purl
pkg:deb/ubuntu/apache-log4j2?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.16.0-1

Affected versions

2.*

2.13.3-1
2.15.0-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "2.16.0-1",
            "binary_name": "liblog4j2-java"
        }
    ]
}