CVE-2017-18926
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).
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.12%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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 3.1
- 7.1 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
- EPSS
- 3.12% probability · 87th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-787
- Affected
- librdf/raptor rdf syntax library · debian/debian linux · fedoraproject/fedora
- Source
- cve@mitre.org
References
- http://www.openwall.com/lists/oss-security/2020/11/13/1Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/11/13/2Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/11/14/2Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/11/16/2Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/11/16/3Mailing List, Third Party Advisory
- https://github.com/LibreOffice/core/blob/master/external/redland/raptor/0001-Calcualte-max-nspace-declarations-correctly-for-XML-.patch.1Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/11/msg00012.htmlMailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RD67AVORGQXORPWNYYUHCH6YPPT6CI4O/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RVHFYQDMVEBICIL4DBAGRRLPUR4QYWMV/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WDZRNM45VPTQF2BKRWG4YRCHJGQ2L7NS/
- https://www.debian.org/security/2020/dsa-4785Third Party Advisory
- https://www.openwall.com/lists/oss-security/2017/06/07/1Exploit, Mailing List, Patch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/11/13/1Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/11/13/2Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/11/14/2Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/11/16/2Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/11/16/3Mailing List, Third Party Advisory
- https://github.com/LibreOffice/core/blob/master/external/redland/raptor/0001-Calcualte-max-nspace-declarations-correctly-for-XML-.patch.1Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/11/msg00012.htmlMailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RD67AVORGQXORPWNYYUHCH6YPPT6CI4O/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RVHFYQDMVEBICIL4DBAGRRLPUR4QYWMV/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WDZRNM45VPTQF2BKRWG4YRCHJGQ2L7NS/
- https://www.debian.org/security/2020/dsa-4785Third Party Advisory
- https://www.openwall.com/lists/oss-security/2017/06/07/1Exploit, Mailing List, Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.