UBUNTU-CVE-2024-12798

Source
https://ubuntu.com/security/CVE-2024-12798
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-12798.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2024-12798
Related
Published
2024-12-19T16:15:00Z
Modified
2025-01-13T10:24:48Z
Summary
[none]
Details

ACE vulnerability in JaninoEventEvaluator by QOS.CH logback-core upto including version 0.1 to 1.3.14 and 1.4.0 to 1.5.12 in Java applications allows attacker to execute arbitrary code by compromising an existing logback configuration file or by injecting an environment variable before program execution. Malicious logback configuration files can allow the attacker to execute arbitrary code using the JaninoEventEvaluator extension. A successful attack requires the user to have write access to a configuration file. Alternatively, the attacker could inject a malicious environment variable pointing to a malicious configuration file. In both cases, the attack requires existing privilege.

References

Affected packages

Ubuntu:Pro:16.04:LTS / logback

Package

Name
logback
Purl
pkg:deb/ubuntu/logback@1:1.1.3-2?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:1.*

1:1.1.3-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / logback

Package

Name
logback
Purl
pkg:deb/ubuntu/logback@1:1.2.3-2ubuntu1~18.04.1?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:1.*

1:1.1.9-4
1:1.1.9-5
1:1.2.3-2
1:1.2.3-2ubuntu1~18.04.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / logback

Package

Name
logback
Purl
pkg:deb/ubuntu/logback@1:1.2.3-5?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:1.*

1:1.2.3-5

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / logback

Package

Name
logback
Purl
pkg:deb/ubuntu/logback@1:1.2.10-1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:1.*

1:1.2.3-6
1:1.2.7-1
1:1.2.8-1
1:1.2.9-1
1:1.2.10-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / logback

Package

Name
logback
Purl
pkg:deb/ubuntu/logback@1:1.2.11-5?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:1.*

1:1.2.11-5

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / logback

Package

Name
logback
Purl
pkg:deb/ubuntu/logback@1:1.2.11-5?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:1.*

1:1.2.11-3
1:1.2.11-4
1:1.2.11-5

Ecosystem specific

{
    "ubuntu_priority": "medium"
}