Buffer overflow in Raptor RDF Syntax Library - CVE-2017-18926

 

Buffer overflow in Raptor RDF Syntax Library - CVE-2017-18926

Published: November 6, 2020 / Updated: November 24, 2020


Vulnerability identifier: #VU48481
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-18926
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the raptor_xml_writer_start_element_common() function in raptor_xml_writer.c. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Raptor RDF Syntax Library
Arch Linux
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Ubuntu
Fedora
libraptor1 (Ubuntu package)
raptor-utils (Ubuntu package)
raptor
raptor2 (Red Hat package)
raptor2 (Alpine package)
libraptor2-0 (Ubuntu package)
raptor2 (Debian package)

How to mitigate CVE-2017-18926

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

libraptor1 (Ubuntu package) - update to 1.4.21-11ubuntu0.1~esm1
raptor-utils (Ubuntu package) - update to 1.4.21-11ubuntu0.1~esm1
raptor - addressed in versions 1.4.21-33.fc31, 1.4.21-33.fc32, 1.4.21-33.fc33
raptor2 (Red Hat package) - update to 2.0.15-16.el8
raptor2 (Alpine package) - update to 2.0.15-r0
libraptor2-0 (Ubuntu package) - addressed in versions 2.0.14-1ubuntu0.16.04.1, 2.0.14-1ubuntu0.18.04.1, 2.0.15-0ubuntu1.20.04.1, 2.0.15-0ubuntu1.20.10.1
raptor2 (Debian package) - update to 2.0.14-1.1~deb10u1

External References

Related Security Bulletins