First published: Mon Nov 09 2020(Updated: )
raptor_xml_writer_start_element_common in raptor_xml_writer.c in Raptor RDF Syntax Library 2.0.15 miscalculates the maximum nspace declarations for the XML writer, leading to heap-based buffer overflows (sometimes seen in raptor_qname_format_as_xml). Reference: <a href="https://www.openwall.com/lists/oss-security/2017/06/07/1">https://www.openwall.com/lists/oss-security/2017/06/07/1</a> Upstream patch: <a href="https://github.com/LibreOffice/core/blob/master/external/redland/raptor/0001-Calcualte-max-nspace-declarations-correctly-for-XML-.patch.1">https://github.com/LibreOffice/core/blob/master/external/redland/raptor/0001-Calcualte-max-nspace-declarations-correctly-for-XML-.patch.1</a>
Affected Software | Affected Version | How to fix |
---|---|---|
Redland Libraptor |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
REDHAT-BUG-1896120 is classified as a high severity vulnerability due to the potential for heap-based buffer overflows.
To fix REDHAT-BUG-1896120, upgrade to a patched version of the Raptor RDF Syntax Library that addresses the nspace declaration calculation issue.
The vulnerability REDHAT-BUG-1896120 is caused by miscalculation of the maximum namespace declarations for the XML writer in the Raptor RDF Syntax Library.
The potential impacts of REDHAT-BUG-1896120 include application crashes and potential exploitation leading to arbitrary code execution.
REDHAT-BUG-1896120 is specifically associated with version 2.0.15 of the Raptor RDF Syntax Library.