Cloudanix VulnDB

CVE-2012-0881

High · 7.5

CVSS

7.5

EPSS

17.5%

Published

Oct 30, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

Attackers can send specially made data to certain software and make servers work so hard they become unavailable to users.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The flaw permits remote attackers to trigger hash table collisions in the XML parser through specially crafted messages, resulting in excessive CPU consumption and denial of service.

Why it matters to the business

Service availability can be disrupted across applications relying on the vulnerable parser component, which appears in 98 downstream dependents and can lead to operational downtime without requiring authentication.

How an attack unfolds

An attacker identifies an exposed XML service that uses the vulnerable parser, crafts a message designed to induce hash collisions, and transmits it over the network to exhaust CPU resources on the target system.

How to fix it

Upgrade Apache Xerces2 Java Parser to version 2.12.0 or later. For tensorflow (Bitnami) deployments, upgrade to version 2.1.4 which incorporates the fix.

How to confirm the fix worked

Inventory parser versions in use across environments and verify that deployed instances meet or exceed the fixed release; test XML processing endpoints under load with known benign inputs to confirm absence of disproportionate CPU spikes.

Typical attack path

  1. Locate services exposing XML processing that depend on the affected parser
  2. Generate a crafted XML payload engineered to cause hash table collisions
  3. Transmit the payload to the service endpoint to induce high CPU load
  4. Repeat or sustain the traffic to maintain denial of service conditions

How to detect it

Review application and system logs for sudden spikes in CPU usage tied to XML parsing activity, and inspect network traffic or request logs for unusually structured or repetitive XML payloads arriving from external sources.

What your security team should do

  • Apply the listed upgrades to affected products immediately
  • Scan dependency trees for any remaining instances of the vulnerable parser
  • Implement input validation and rate limiting on XML endpoints as a temporary control

The record

Apache Xerces2 Java Parser before 2.12.0 allows remote attackers to cause a denial of service (CPU consumption) via a crafted message to an XML service, which triggers hash table collisions.

Affected packages

Ecosystem Package Introduced Fixed
Maven xerces:xercesImpl 0 2.12.0
Debian:10 libxerces2-java 0 No fix
Debian:11 libxerces2-java 0 No fix
Debian:12 libxerces2-java 0 No fix
Debian:13 libxerces2-java 0 No fix
Ubuntu:14.04:LTS libxerces2-java 0 No fix
Ubuntu:16.04:LTS libxerces2-java 0 No fix
Ubuntu:18.04:LTS libxerces2-java 0 No fix
Ubuntu:20.04:LTS libxerces2-java 0 No fix
Ubuntu:22.04:LTS libxerces2-java 0 No fix
Ubuntu:24.04:LTS libxerces2-java 0 No fix
Ubuntu:24.10 libxerces2-java 0 No fix
Ubuntu:25.04 libxerces2-java 0 No fix
Ubuntu:25.10 libxerces2-java 0 No fix
Ubuntu:Pro:14.04:LTS libxerces2-java 0 No fix
Ubuntu:Pro:16.04:LTS libxerces2-java 0 No fix
Ubuntu:Pro:18.04:LTS libxerces2-java 0 No fix
Ubuntu:Pro:20.04:LTS libxerces2-java 0 No fix

Related vulnerabilities