USN-9097-1: commons-configuration2 vulnerability
It was discovered that Apache Commons Configuration enabled the script, dns, and url interpolation lookups by default. If an application used the default interpolation settings with untrusted configuration values, an attacker could possibly use this issue to execute arbitrary code or cause the application to contact remote servers. This update removes these lookups from the default set.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/commons-configuration2to a version that resolves this vulnerability.Fixed in 2.7-2ubuntu0.1~esm1 - Upgrade
Upgrade
ubuntu/libcommons-configuration2-javato a version that resolves this vulnerability.Fixed in Ubuntu Pro
Event History
Frequently Asked Questions
Which applications are exposed to this issue?
Applications using Apache Commons Configuration with the default interpolation settings are exposed if they process untrusted configuration values. The affected default lookups are script, dns, and url.
What could an attacker do?
An attacker able to supply untrusted configuration values could potentially execute arbitrary code or cause the application to contact remote servers through interpolation lookups.
What changes with the update?
The update removes the script, dns, and url interpolation lookups from the default set.