The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-55887

CVE-2024-55887: Ucum-java XXE Vulnerability in XML Parsing

CVE-2024-55887 is an XML external entity injection flaw in Ucum-java that allows attackers to extract host system data through malicious XML files. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2024-55887 Overview

CVE-2024-55887 is an XML External Entity (XXE) injection vulnerability affecting Ucum-java, a FHIR Java library that provides Unified Code for Units of Measure (UCUM) services. In versions prior to 1.0.9, XML parsing performed by the UcumEssenceService is vulnerable to XXE attacks. A processed XML file containing a malicious DTD tag could enable attackers to extract data from the host system, potentially exposing sensitive configuration files, credentials, or other critical information.

Critical Impact

Attackers can exploit this XXE vulnerability to read arbitrary files from the host system and potentially perform Server-Side Request Forgery (SSRF) attacks when external clients can submit XML to applications using Ucum-java.

Affected Products

  • Ucum-java versions prior to 1.0.9
  • Applications using UcumEssenceService to process untrusted XML input
  • FHIR implementations utilizing the vulnerable Ucum-java library

Discovery Timeline

  • 2024-12-13 - CVE-2024-55887 published to NVD
  • 2024-12-13 - Last updated in NVD database

Technical Details for CVE-2024-55887

Vulnerability Analysis

This vulnerability falls under CWE-611 (Improper Restriction of XML External Entity Reference). The UcumEssenceService component in Ucum-java fails to properly configure the XML parser to disable external entity processing. When parsing XML input, the vulnerable parser processes Document Type Definition (DTD) declarations, including external entity references that can point to local files or remote resources.

The impact primarily affects confidentiality, as attackers can read sensitive files from the server's file system. This vulnerability is particularly dangerous in healthcare environments where FHIR implementations may process XML from external sources, potentially exposing patient data, system credentials, or internal network resources.

Root Cause

The root cause is the insecure default configuration of the XML parser used by UcumEssenceService. The parser does not disable DTD processing or external entity resolution, allowing malicious XML documents to include references to external resources. When the parser encounters these references, it attempts to resolve them, leading to information disclosure or SSRF vulnerabilities.

Attack Vector

The attack requires network access where an attacker can submit malicious XML content to an application using the vulnerable Ucum-java library. The attacker crafts an XML document containing a malicious DTD that defines an external entity pointing to a local file (such as /etc/passwd on Linux systems) or an internal network resource. When the vulnerable parser processes this XML, it resolves the external entity and includes the content in the parsed output, which may then be returned to the attacker or logged in an accessible location.

The vulnerability mechanism works as follows: An attacker submits XML with a DOCTYPE declaration containing an external entity definition. The malicious entity references a file path or URL that the server can access. When UcumEssenceService parses the XML, the parser resolves the entity, reads the referenced resource, and substitutes it into the document. For detailed technical information, refer to the GitHub Security Advisory.

Detection Methods for CVE-2024-55887

Indicators of Compromise

  • Unusual XML parsing errors in application logs referencing external files or URLs
  • Unexpected outbound network connections from the application server to internal resources
  • Log entries showing attempts to access sensitive system files like /etc/passwd, /etc/shadow, or Windows credential stores
  • HTTP requests containing DOCTYPE declarations with ENTITY definitions in XML payloads

Detection Strategies

  • Monitor application logs for XML parsing exceptions related to file access or network connections
  • Implement Web Application Firewall (WAF) rules to detect and block XML payloads containing DOCTYPE declarations
  • Use intrusion detection systems to identify patterns of XXE exploitation attempts in network traffic
  • Audit dependencies to identify applications using Ucum-java versions prior to 1.0.9

Monitoring Recommendations

  • Enable verbose logging for XML parsing operations in affected applications
  • Set up alerts for file access attempts from the XML parser to sensitive system locations
  • Monitor outbound network traffic from application servers for unusual internal network scanning patterns
  • Implement runtime application self-protection (RASP) to detect XXE exploitation attempts

How to Mitigate CVE-2024-55887

Immediate Actions Required

  • Upgrade Ucum-java to version 1.0.9 or later immediately
  • Audit all applications using Ucum-java to identify vulnerable deployments
  • Ensure that XML input to UcumEssenceService comes only from trusted sources
  • Implement input validation to reject XML documents containing DOCTYPE declarations

Patch Information

The vulnerability has been fixed in Ucum-java version 1.0.9. Organizations should update their Maven or Gradle dependencies to reference the patched version. For more information about the fix, consult the GitHub Security Advisory.

Workarounds

  • Ensure that the source XML for instantiating UcumEssenceService is from a trusted source only
  • Implement application-level filtering to strip DOCTYPE declarations from incoming XML before processing
  • Deploy network segmentation to limit the impact of potential SSRF attacks
  • Use a security-hardened XML parser wrapper that disables external entity processing at the application layer

To configure secure XML parsing at the application level if upgrading is not immediately possible, ensure your XML parser factory disables DTD processing by setting the appropriate parser features. Specifically, disable http://apache.org/xml/features/disallow-doctype-decl and http://xml.org/sax/features/external-general-entities features. Consult the OWASP XXE Prevention Cheat Sheet for language-specific configuration guidance.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXXE

  • Vendor/TechUcum Java

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability0.21%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-611
  • Technical References
  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2026-40322: SiYuan Knowledge Management RCE Vulnerability

  • CVE-2026-40318: SiYuan Path Traversal Vulnerability

  • CVE-2026-40259: SiYuan Auth Bypass Vulnerability

  • CVE-2026-40255: AdonisJS HTTP Server CSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English