GHSA-w9j7-phm3-f97j

Suggest an improvement
Source
https://github.com/advisories/GHSA-w9j7-phm3-f97j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-w9j7-phm3-f97j/GHSA-w9j7-phm3-f97j.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-w9j7-phm3-f97j
Aliases
Published
2024-12-13T20:35:57Z
Modified
2024-12-13T21:12:11Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
Summary
Ucum-java has an XXE vulnerability in XML parsing
Details

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

Database specific
{
    "cwe_ids":  [
        "CWE-611"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2024-12-13T20:35:57Z",
    "nvd_published_at":  "2024-12-13T16:15:28Z",
    "severity":  "HIGH"
}
References

Affected packages

Maven / org.fhir:ucum

Package

Name
org.fhir:ucum
View open source insights on deps.dev
Purl
pkg:maven/org.fhir/ucum

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.0.9

Affected versions

1.*
1.0
1.0.1
1.0.2
1.0.3
1.0.6
1.0.7
1.0.8

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-w9j7-phm3-f97j/GHSA-w9j7-phm3-f97j.json"