UBUNTU-CVE-2021-4104

    Dashboard / Vulnerabilities / UBUNTU-CVE-2021-4104

    UBUNTU-CVE-2021-4104

    Published: 14 Dec 2021Last Modified: 29 May 2026

    Summary:

    Details: JMSAppender in Log4j 1.2 is vulnerable to deserialization of untrusted data when the attacker has write access to the Log4j configuration. The attacker can provide TopicBindingName and TopicConnectionFactoryBindingName configurations causing JMSAppender to perform JNDI requests that result in remote code execution in a similar fashion to CVE-2021-44228. Note this issue only affects Log4j 1.2 when specifically configured to use JMSAppender, which is not the default. Apache Log4j 1.2 reached end of life in August 2015. Users should upgrade to Log4j 2 as it addresses numerous other issues from the previous versions.

    Affected packages

    Package

    Name: apache-log4j1.2

    Purl: pkg:deb/ubuntu/apache-log4j1.2?arch=source&distro=trusty%2Fesm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.2.17-4ubuntu3+esm1

    Affected versions

    1.2.17-3ubuntu1
    1.2.17-4ubuntu1
    1.2.17-4ubuntu2
    1.2.17-4ubuntu3

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2021-4104 | CVE-DB