XStream is a simple library to serialize objects to XML and back again. A high level facade is supplied that simplifies common use cases. Custom objects can be serialized without need for specifying mappings. Speed and low memory footprint are a crucial part of the design, making it suitable for large object graphs or systems with high message throughput. No information is duplicated that can be obtained via reflection. This results in XML that is easier to read for humans and more compact than native Java serialization. XStream serializes internal fields, including private and final. Supports non-public and inner classes. Classes are not required to have default constructor. Duplicate references encountered in the object-model will be maintained. Supports circular references. By implementing an interface, XStream can serialize directly to/from any tree structure (not just XML). Strategies can be registered allowing customization of how particular types are represented as XML. When an exception occurs due to malformed XML, detailed diagnostics are provided to help isolate and fix the problem.
Security Fix(es):
XStream provides a BinaryStreamDriver with an own optimized serialization format. The format uses ids for string values as deduplication. The mapping for these ids are created on-the-fly at marshalling time. At unmarshalling time the reader_x27;s implementation simply used a simple one-time recursion after reading a mapping token to process the next normal token of the data stream. However, an endless recursion could be triggered with manipulated input data resulting in a stack overflow causing a denial of service.(CVE-2024-47072)
{ "severity": "High" }
{ "src": [ "xstream-1.4.20-2.oe2403.src.rpm" ], "noarch": [ "xstream-1.4.20-2.oe2403.noarch.rpm", "xstream-benchmark-1.4.20-2.oe2403.noarch.rpm", "xstream-hibernate-1.4.20-2.oe2403.noarch.rpm", "xstream-javadoc-1.4.20-2.oe2403.noarch.rpm", "xstream-parent-1.4.20-2.oe2403.noarch.rpm" ] }
{ "src": [ "xstream-1.4.20-2.oe2203sp4.src.rpm" ], "noarch": [ "xstream-1.4.20-2.oe2203sp4.noarch.rpm", "xstream-benchmark-1.4.20-2.oe2203sp4.noarch.rpm", "xstream-hibernate-1.4.20-2.oe2203sp4.noarch.rpm", "xstream-javadoc-1.4.20-2.oe2203sp4.noarch.rpm", "xstream-parent-1.4.20-2.oe2203sp4.noarch.rpm" ] }
{ "src": [ "xstream-1.4.20-2.oe2203sp3.src.rpm" ], "noarch": [ "xstream-1.4.20-2.oe2203sp3.noarch.rpm", "xstream-benchmark-1.4.20-2.oe2203sp3.noarch.rpm", "xstream-hibernate-1.4.20-2.oe2203sp3.noarch.rpm", "xstream-javadoc-1.4.20-2.oe2203sp3.noarch.rpm", "xstream-parent-1.4.20-2.oe2203sp3.noarch.rpm" ] }
{ "src": [ "xstream-1.4.20-2.oe2003sp4.src.rpm" ], "noarch": [ "xstream-1.4.20-2.oe2003sp4.noarch.rpm", "xstream-benchmark-1.4.20-2.oe2003sp4.noarch.rpm", "xstream-hibernate-1.4.20-2.oe2003sp4.noarch.rpm", "xstream-javadoc-1.4.20-2.oe2003sp4.noarch.rpm", "xstream-parent-1.4.20-2.oe2003sp4.noarch.rpm" ] }
{ "src": [ "xstream-1.4.20-2.oe2203sp1.src.rpm" ], "noarch": [ "xstream-1.4.20-2.oe2203sp1.noarch.rpm", "xstream-benchmark-1.4.20-2.oe2203sp1.noarch.rpm", "xstream-hibernate-1.4.20-2.oe2203sp1.noarch.rpm", "xstream-javadoc-1.4.20-2.oe2203sp1.noarch.rpm", "xstream-parent-1.4.20-2.oe2203sp1.noarch.rpm" ] }