Skip to content
OpenAdvisories
Medium · 6.6 CVE-2021-42550 EUVD-2021-2454GHSA-668q-qrv7-99fm

RCE from attacker with configuration edit priviledges through JNDI lookup

Published Dec 16, 2021 · Updated Aug 4, 2024 · Assigned by NCSC.ch

Description

In logback version 1.2.7 and prior versions, an attacker with the required privileges to edit configurations files could craft a malicious configuration allowing to execute arbitrary code loaded from LDAP servers.

Affected products

VendorProductAffectedFixed
QOS.ch logback unspecified – < 1.2.9, unspecified – < 1.3.0-alpha11 1.2.9

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 logback 1:1.2.8-1 —
Debian 13 logback 1:1.2.8-1 —
Debian 12 logback 1:1.2.8-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS logback 1:1.2.10-1ubuntu0.1~esm1 USN-7616-1
Ubuntu Pro 20.04 LTS logback 1:1.2.3-5ubuntu0.1~esm1 USN-7616-1
Ubuntu Pro 18.04 LTS logback 1:1.2.3-2ubuntu1~18.04.1+esm1 USN-7616-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS logback 1:1.1.3-2ubuntu0.1~esm1 USN-7616-1
ReleasePackageFixed inAdvisory
Red Hat Satellite Utils 6 foreman 3.1.1.21-2.el7sat RHSA-2022:5498
Red Hat Satellite Utils 6 satellite 6.11.0-2.el7sat RHSA-2022:5498
Red Hat Satellite Capsule 6 foreman 3.1.1.21-2.el7sat RHSA-2022:5498
Red Hat Satellite Capsule 6 libsolv 0.7.22-1.el7pc RHSA-2022:5498
Red Hat Satellite Capsule 6 python-django +1 3.2.13-1.el8pc RHSA-2022:5498
Red Hat Satellite Capsule 6 python-lxml 4.7.1-1.el8pc RHSA-2022:5498
Red Hat Satellite Capsule 6 python-sqlparse 0.4.2-2.el8pc RHSA-2022:5498
Red Hat Satellite Capsule 6 satellite 6.11.0-2.el7sat RHSA-2022:5498
Red Hat Satellite 6 candlepin 4.1.13-1.el7sat RHSA-2022:5498
Red Hat Satellite 6 foreman 3.1.1.21-2.el7sat RHSA-2022:5498
Red Hat Satellite 6 libsolv 0.7.22-1.el7pc RHSA-2022:5498
Red Hat Satellite 6 python-django +1 3.2.13-1.el8pc RHSA-2022:5498
Red Hat Satellite 6 python-lxml 4.7.1-1.el8pc RHSA-2022:5498
Red Hat Satellite 6 python-sqlparse 0.4.2-2.el8pc RHSA-2022:5498
Red Hat Satellite 6 rubygem-actionpack 6.0.4.7-1.el8sat RHSA-2022:5498
Red Hat Satellite 6 rubygem-puma 5.6.2-1.el8sat RHSA-2022:5498
Red Hat Satellite 6 rubygem-sidekiq 5.2.10-1.el8sat RHSA-2022:5498
Red Hat Satellite 6 satellite 6.11.0-2.el7sat RHSA-2022:5498
Red Hat Satellite 6 tfm-rubygem-actionpack 6.0.4.7-1.el7sat RHSA-2022:5498
Red Hat Satellite 6 tfm-rubygem-puma 5.6.2-1.el7sat RHSA-2022:5498
Red Hat Satellite 6 tfm-rubygem-sidekiq 5.2.10-1.el7sat RHSA-2022:5498

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 libdb 5.3.28-42.el8_4 RLSA-2022:5498
ReleasePackageFixed inAdvisory
SLES 15 SP4 maven 3.8.6-150200.4.9.8 SUSE-SU-2023:2097-1
SLES 15 SP4 minlog 1.3.1-150200.3.7.8 SUSE-SU-2023:2097-1
SLES 15 SP4 xmvn +1 4.0.0-150200.3.7.1 SUSE-SU-2023:2097-1
SLES 15 SP4 xmvn-connector 4.0.0-150200.3.7.3 SUSE-SU-2023:2097-1
SLES 15 SP4 xmvn-mojo 4.0.0-150200.3.7.8 SUSE-SU-2023:2097-1
SLES 15 SP3 maven 3.8.6-150200.4.9.8 SUSE-SU-2023:2097-1
SLES 15 SP3 minlog 1.3.1-150200.3.7.8 SUSE-SU-2023:2097-1
SLES 15 SP3 xmvn +1 4.0.0-150200.3.7.1 SUSE-SU-2023:2097-1
SLES 15 SP3 xmvn-connector 4.0.0-150200.3.7.3 SUSE-SU-2023:2097-1
SLES 15 SP3 xmvn-mojo 4.0.0-150200.3.7.8 SUSE-SU-2023:2097-1
SLES 15 SP2 maven 3.8.6-150200.4.9.8 SUSE-SU-2023:2097-1
SLES 15 SP2 minlog 1.3.1-150200.3.7.8 SUSE-SU-2023:2097-1
SLES 15 SP2 xmvn +1 4.0.0-150200.3.7.1 SUSE-SU-2023:2097-1
SLES 15 SP2 xmvn-connector 4.0.0-150200.3.7.3 SUSE-SU-2023:2097-1
SLES 15 SP2 xmvn-mojo 4.0.0-150200.3.7.8 SUSE-SU-2023:2097-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP3 maven 3.8.6-150200.4.9.8 SUSE-SU-2023:2097-1
SLES for SAP 15 SP3 minlog 1.3.1-150200.3.7.8 SUSE-SU-2023:2097-1
SLES for SAP 15 SP3 xmvn +1 4.0.0-150200.3.7.1 SUSE-SU-2023:2097-1
SLES for SAP 15 SP3 xmvn-connector 4.0.0-150200.3.7.3 SUSE-SU-2023:2097-1
SLES for SAP 15 SP3 xmvn-mojo 4.0.0-150200.3.7.8 SUSE-SU-2023:2097-1
SLES for SAP 15 SP2 maven 3.8.6-150200.4.9.8 SUSE-SU-2023:2097-1
SLES for SAP 15 SP2 minlog 1.3.1-150200.3.7.8 SUSE-SU-2023:2097-1
SLES for SAP 15 SP2 xmvn +1 4.0.0-150200.3.7.1 SUSE-SU-2023:2097-1
SLES for SAP 15 SP2 xmvn-connector 4.0.0-150200.3.7.3 SUSE-SU-2023:2097-1
SLES for SAP 15 SP2 xmvn-mojo 4.0.0-150200.3.7.8 SUSE-SU-2023:2097-1
SLE Real Time 15 SP3 maven 3.8.6-150200.4.9.8 SUSE-SU-2023:2097-1
SLE Real Time 15 SP3 minlog 1.3.1-150200.3.7.8 SUSE-SU-2023:2097-1
SLE Real Time 15 SP3 xmvn +1 4.0.0-150200.3.7.1 SUSE-SU-2023:2097-1
SLE Real Time 15 SP3 xmvn-connector 4.0.0-150200.3.7.3 SUSE-SU-2023:2097-1
SLE Real Time 15 SP3 xmvn-mojo 4.0.0-150200.3.7.8 SUSE-SU-2023:2097-1
SLE HPC 15 SP3 maven 3.8.6-150200.4.9.8 SUSE-SU-2023:2097-1
SLE HPC 15 SP3 minlog 1.3.1-150200.3.7.8 SUSE-SU-2023:2097-1
SLE HPC 15 SP3 xmvn +1 4.0.0-150200.3.7.1 SUSE-SU-2023:2097-1
SLE HPC 15 SP3 xmvn-connector 4.0.0-150200.3.7.3 SUSE-SU-2023:2097-1
SLE HPC 15 SP3 xmvn-mojo 4.0.0-150200.3.7.8 SUSE-SU-2023:2097-1
SLE HPC 15 SP2 maven 3.8.6-150200.4.9.8 SUSE-SU-2023:2097-1
SLE HPC 15 SP2 minlog 1.3.1-150200.3.7.8 SUSE-SU-2023:2097-1
SLE HPC 15 SP2 xmvn +1 4.0.0-150200.3.7.1 SUSE-SU-2023:2097-1
SLE HPC 15 SP2 xmvn-connector 4.0.0-150200.3.7.3 SUSE-SU-2023:2097-1
SLE HPC 15 SP2 xmvn-mojo 4.0.0-150200.3.7.8 SUSE-SU-2023:2097-1
SUSE Manager Server Module 4.3 antlr3-java 3.5.3-150200.3.11.8 SUSE-SU-2023:2097-1
SUSE Enterprise Storage 7.1 maven 3.8.6-150200.4.9.8 SUSE-SU-2023:2097-1
SUSE Enterprise Storage 7.1 minlog 1.3.1-150200.3.7.8 SUSE-SU-2023:2097-1
SUSE Enterprise Storage 7.1 xmvn +1 4.0.0-150200.3.7.1 SUSE-SU-2023:2097-1
SUSE Enterprise Storage 7.1 xmvn-connector 4.0.0-150200.3.7.3 SUSE-SU-2023:2097-1
SUSE Enterprise Storage 7.1 xmvn-mojo 4.0.0-150200.3.7.8 SUSE-SU-2023:2097-1
SUSE Enterprise Storage 7 maven 3.8.6-150200.4.9.8 SUSE-SU-2023:2097-1
SUSE Enterprise Storage 7 minlog 1.3.1-150200.3.7.8 SUSE-SU-2023:2097-1
SUSE Enterprise Storage 7 xmvn +1 4.0.0-150200.3.7.1 SUSE-SU-2023:2097-1
SUSE Enterprise Storage 7 xmvn-connector 4.0.0-150200.3.7.3 SUSE-SU-2023:2097-1
SUSE Enterprise Storage 7 xmvn-mojo 4.0.0-150200.3.7.8 SUSE-SU-2023:2097-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.4 antlr3 +2 3.5.3-150200.3.11.8 SUSE-SU-2023:2097-1
openSUSE Leap 15.4 maven 3.8.6-150200.4.9.8 SUSE-SU-2023:2097-1
openSUSE Leap 15.4 minlog 1.3.1-150200.3.7.8 SUSE-SU-2023:2097-1
openSUSE Leap 15.4 sbt +1 0.13.18-150200.4.7.8 SUSE-SU-2023:2097-1
openSUSE Leap 15.4 xmvn +2 4.0.0-150200.3.7.1 SUSE-SU-2023:2097-1
openSUSE Leap 15.4 xmvn-connector 4.0.0-150200.3.7.3 SUSE-SU-2023:2097-1
openSUSE Leap 15.4 xmvn-mojo 4.0.0-150200.3.7.8 SUSE-SU-2023:2097-1

Affected packages

EcosystemPackageAffectedFixedRecord
Maven ch.qos.logback:logback-core < 1.2.9 1.2.9 GHSA-668q-qrv7-99fm

Advisories 13

References