XStream: Remote execution of arbitrary code — GLSA 201612-35

A vulnerability in XStream may allow remote attackers to execute arbitrary code.

Affected Packages

dev-java/xstream on all architectures
Affected versions < 1.4.8-r1
Unaffected versions >= 1.4.8-r1

Background

XStream is a simple library to serialize objects to XML and back again.

Description

It was found that XStream would deserialize arbitrary user-supplied XML content, thus representing objects of any type.

Impact

A remote attacker could pass a specially crafted XML document to XStream, possibly resulting in the execution of arbitrary code with the privileges of the process or a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All XStream users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-java/xstream-1.4.8-r1"
 

References

Release Date
December 13, 2016

Latest Revision
December 13, 2016: 2

Severity
normal

Exploitable
remote

Bugzilla entries