GHSA-vmfg-rjjm-rjrj

QOS.ch Logback vulnerable to Deserialization of Untrusted Data

At a glance

Published
Updated
CVE
CVE-2017-5929
CVSS_V3
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

QOS.ch Logback before 1.2.0 has a serialization vulnerability affecting the SocketServer and ServerSocketReceiver components. The RemoteStreamAppenderClient class in logback-classic and the SocketNode classes in logback-classic and logback-access allow data to be deserialized over a Java Socket, via an ObjectInputStream, without validating the data beforehand. When data is received from the Socket, to be logged, it is deserialized into Java objects.An attacker can exploit this vulnerability by sending malicious, serialized Java objects over the connection to the Socket, which may result in execution of arbitrary code when those objects are deserialized. Note that although logback-core is implicated by the Logback project here, the Sonatype Security Research team discovered that the vulnerability is actually present in the logback-classic and logback-access components. Versions prior to 1.2.0 are vulnerable, as stated in the advisory.

Affected packages

PackageVersions
Maven · ch.qos.logback:logback-classicintroduced 0, fixed 1.2.0
Maven · ch.qos.logback:logback-coreintroduced 0, fixed 1.2.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database