From 82033eea612dddccf5f135417feba5bfd2c0b1e1 Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Mon, 15 Dec 2014 12:19:11 +0100 Subject: [PATCH] BUG-2511 Fix possible XXE vulnerability in restconf Change-Id: I16eaf8a743b94ec26e3ac427fb777d0c769ec3c2 Signed-off-by: Maros Marsalek --- .../sal/rest/impl/RestconfDocumentedExceptionMapper.java | 1 + .../sal/rest/impl/XmlNormalizedNodeBodyReader.java | 9 +++++++++ .../sal/rest/impl/XmlToCompositeNodeReader.java | 3 +++ 3 files changed, 13 insertions(+) diff --git a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/RestconfDocumentedExceptionMapper.java b/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/RestconfDocumentedExceptionMapper.java index d564d4cbd4..16b3ee6708 100644 --- a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/RestconfDocumentedExceptionMapper.java +++ b/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/RestconfDocumentedExceptionMapper.java @@ -211,6 +211,7 @@ public class RestconfDocumentedExceptionMapper implements ExceptionMapper read(InputStream entityStream) throws XMLStreamException, -- 2.36.6