USN-9142-1: Apache XML Security for Java vulnerability
It was discovered that Apache XML Security for Java incorrectly passed a configuration property when creating specific key elements. An attacker could possibly use this issue to abuse an XPath Transform and extract sensitive information. After this update, file: and http: URIs are only dereferenced when the org.apache.xml.security.allowUnsafeResourceResolving property is set.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/libxml-security-javato a version that resolves this vulnerability.Fixed in 1.5.6-1ubuntu0.1~esm1
Event History
Frequently Asked Questions
When are file: and http: URIs dereferenced after the update?
They are dereferenced only when the org.apache.xml.security.allowUnsafeResourceResolving property is explicitly set. This changes the behavior for XPath Transform processing that relies on external file: or http: resources.
What can be done if updating is not immediately possible?
The provided data does not specify a workaround for unpatched installations. The update restricts unsafe resource resolving by default, so applying it is the documented remediation.