MidnightBSD

Advisories for librdf

CVE-2012-0037 MEDIUM

Redland Raptor (aka libraptor) before 2.0.7, as used by OpenOffice 3.3 and 3.4 Beta, LibreOffice before 3.4.6 and 3.5.x before 3.5.1, and other products, allows user-assisted remote attackers to read arbitrary files via a crafted XML external entity (XXE) declaration and reference in an RDF document.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-611,

Products Affected

Vendor Product Version
redhat enterprise_linux_workstation 6.0
redland libraptor *
redhat enterprise_linux_eus 6.2
redhat enterprise_linux_server 5.0
apache openoffice 3.4.0
apache openoffice.org 3.4
redhat storage 2.0
libreoffice libreoffice 3.5.0
debian debian_linux 6.0
redhat enterprise_linux_workstation 5.0
libreoffice libreoffice 3.4.2
redhat enterprise_linux_desktop 6.0
redhat enterprise_linux_server 6.0
redhat enterprise_linux_desktop 5.0
libreoffice libreoffice 3.4.1
libreoffice libreoffice 3.3.2
libreoffice libreoffice *
redhat gluster_storage_server_for_on-premise 2.0
fedoraproject fedora 16
libreoffice libreoffice 3.3.3
libreoffice libreoffice 3.4.5
apache openoffice 3.3.0
librdf raptor *
libreoffice libreoffice 3.4.0
redhat storage_for_public_cloud 2.0
libreoffice libreoffice 3.5
fedoraproject fedora 17
apache openoffice.org 3.3
libreoffice libreoffice 3.3.0
libreoffice libreoffice 3.3.4
libreoffice libreoffice 3.3.1
redhat enterprise_linux_server_aus 6.2
CVE-2017-18926 MEDIUM

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).

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-787,

Products Affected

Vendor Product Version
debian debian_linux 10.0
fedoraproject fedora 32
fedoraproject fedora 31
fedoraproject fedora 33
librdf raptor_rdf_syntax_library 2.0.15
debian debian_linux 9.0
CVE-2020-25713 MEDIUM

A malformed input file can lead to a segfault due to an out of bounds array access in raptor_xml_writer_start_element_common.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 6.5 MEDIUM CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H 2.8 3.6

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-20,CWE-125,

Products Affected

Vendor Product Version
fedoraproject fedora 32
fedoraproject fedora 33
librdf raptor_rdf_syntax_library 2.0.15
debian debian_linux 9.0
CVE-2024-57822

In Raptor RDF Syntax Library through 2.0.16, there is a heap-based buffer over-read when parsing triples with the nquads parser in raptor_ntriples_parse_term_internal().

CVSS 3.x

Source Score Severity Vector Exploitability Impact
cve@mitre.org 4.0 MEDIUM CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L 2.5 1.4

Products Affected

Vendor Product Version
librdf raptor_rdf_syntax_library *
CVE-2024-57823

In Raptor RDF Syntax Library through 2.0.16, there is an integer underflow when normalizing a URI with the turtle parser in raptor_uri_normalize_path().

CVSS 3.x

Source Score Severity Vector Exploitability Impact
cve@mitre.org 9.3 CRITICAL CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H 2.5 6.0

Products Affected

Vendor Product Version
librdf raptor_rdf_syntax_library *