CVE-2016-3705

The (1) xmlParserEntityCheck and (2) xmlParseAttValueComplex functions in parser.c in libxml2 2.9.3 do not properly keep track of the recursion depth, which allows context-dependent attackers to cause a denial of service (stack consumption and application crash) via a crafted XML document containing a large number of nested entity references.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*

Configuration 2 (hide)

cpe:2.3:a:xmlsoft:libxml2:2.9.3:*:*:*:*:*:*:*

Configuration 3 (hide)

cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*

Configuration 4 (hide)

OR cpe:2.3:a:hp:icewall_federation_agent:3.0:*:*:*:*:*:*:*
cpe:2.3:a:hp:icewall_file_manager:3.0:*:*:*:*:*:*:*

Configuration 5 (hide)

cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*

History

12 Feb 2023, 23:18

Type Values Removed Values Added
Summary Missing incrementation of recursion depth counter were found in the xmlParserEntityCheck() and xmlParseAttValueComplex() functions used for parsing XML data. An attacker could launch a Denial of Service attack by passing specially crafted XML data to an application, forcing it to crash due to stack exhaustion. The (1) xmlParserEntityCheck and (2) xmlParseAttValueComplex functions in parser.c in libxml2 2.9.3 do not properly keep track of the recursion depth, which allows context-dependent attackers to cause a denial of service (stack consumption and application crash) via a crafted XML document containing a large number of nested entity references.
References
  • {'url': 'https://access.redhat.com/security/cve/CVE-2016-3705', 'name': 'https://access.redhat.com/security/cve/CVE-2016-3705', 'tags': [], 'refsource': 'MISC'}
  • {'url': 'https://bugzilla.redhat.com/show_bug.cgi?id=1332443', 'name': 'https://bugzilla.redhat.com/show_bug.cgi?id=1332443', 'tags': [], 'refsource': 'MISC'}
  • {'url': 'https://access.redhat.com/errata/RHSA-2016:2957', 'name': 'https://access.redhat.com/errata/RHSA-2016:2957', 'tags': [], 'refsource': 'MISC'}

02 Feb 2023, 21:16

Type Values Removed Values Added
Summary The (1) xmlParserEntityCheck and (2) xmlParseAttValueComplex functions in parser.c in libxml2 2.9.3 do not properly keep track of the recursion depth, which allows context-dependent attackers to cause a denial of service (stack consumption and application crash) via a crafted XML document containing a large number of nested entity references. Missing incrementation of recursion depth counter were found in the xmlParserEntityCheck() and xmlParseAttValueComplex() functions used for parsing XML data. An attacker could launch a Denial of Service attack by passing specially crafted XML data to an application, forcing it to crash due to stack exhaustion.
References
  • (MISC) https://access.redhat.com/security/cve/CVE-2016-3705 -
  • (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1332443 -
  • (MISC) https://access.redhat.com/errata/RHSA-2016:2957 -

Information

Published : 2016-05-17 14:08

Updated : 2023-12-10 11:46


NVD link : CVE-2016-3705

Mitre link : CVE-2016-3705

CVE.ORG link : CVE-2016-3705


JSON object : View

Products Affected

debian

  • debian_linux

xmlsoft

  • libxml2

hp

  • icewall_federation_agent
  • icewall_file_manager

opensuse

  • leap

canonical

  • ubuntu_linux
CWE
CWE-20

Improper Input Validation