Ucum-java has an XXE vulnerability in XML parsing
Description
Published by the National Vulnerability Database
Dec 13, 2024
Published to the GitHub Advisory Database
Dec 13, 2024
Reviewed
Dec 13, 2024
Last updated
Dec 13, 2024
Impact
XML parsing performed by the UcumEssenceService is vulnerable to XML external entity injections. A processed XML file with a malicious DTD tag could produce XML containing data from the host system. This impacts use cases where ucum is being used to within a host where external clients can submit XML.
Patches
Release 1.0.9 of ucum fixes this vulnerability
Workarounds
Ensure that the source xml for instantiating UcumEssenceService is trusted.
References
References