Improper Input Validation Affecting libxml-security-java package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.78% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1804-LIBXMLSECURITYJAVA-1170813
  • published26 Jul 2022
  • disclosed23 Aug 2019

Introduced: 23 Aug 2019

CVE-2019-12400  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:18.04 libxml-security-java.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libxml-security-java package and not the libxml-security-java package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

In version 2.0.3 Apache Santuario XML Security for Java, a caching mechanism was introduced to speed up creating new XML documents using a static pool of DocumentBuilders. However, if some untrusted code can register a malicious implementation with the thread context class loader first, then this implementation might be cached and re-used by Apache Santuario - XML Security for Java, leading to potential security flaws when validating signed documents, etc. The vulnerability affects Apache Santuario - XML Security for Java 2.0.x releases from 2.0.3 and all 2.1.x releases before 2.1.4.

References

CVSS Base Scores

version 3.1