CVE-2022-33980
apache-commons-configuration: Apache Commons Configuration insecure interpolation defaults
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA. Niedriger laut Red Hat (mittel).
Beschreibung
Apache Commons Configuration performs variable interpolation, allowing properties to be dynamically evaluated and expanded. The standard format for interpolation is "${prefix:name}", where "prefix" is used to locate an instance of org.apache.commons.configuration2.interpol.Lookup that performs the interpolation. Starting with version 2.4 and continuing through 2.7, the set of default Lookup instances included interpolators that could result in arbitrary code execution or contact with remote servers. These lookups are: - "script" - execute expressions using the JVM script execution engine (javax.script) - "dns" - resolve dns records - "url" - load values from urls, including from remote servers Applications using the interpolation defaults in the affected versions may be vulnerable to remote code execution or unintentional contact with remote servers if untrusted configuration values are used. Users are recommended to upgrade to Apache Commons Configuration 2.8.0, which disables the problematic interpolators by default.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.apache.commons:commons-configuration2 | 2.8.0 |
| debian 11 | commons-configuration2 | 2.8.0-1~deb11u1 |
| debian 12 | commons-configuration2 | 2.8.0-1 |
| debian 13 | commons-configuration2 | 2.8.0-1 |
| debian 14 | commons-configuration2 | 2.8.0-1 |
| echo | commons-configuration2 | 2.8.0-1 |
| Red Hat | candlepin, candlepin-selinux, jenkins-2-plugins | kein Fix angegeben |
| seal Red Hat 7 | python-jinja2, seal-python-jinja2 | 2.7.2-4.el7+sp999 |
| seal Red Hat 8 | libsolv, seal-libsolv | 0.7.20-6.el8+sp999 |
Alle 13 Einträge aus 9 Quellen zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.apache.commons:commons-configuration2 | 2.8.0 |
| debian 11 | commons-configuration2 | 2.8.0-1~deb11u1 |
| debian 12 | commons-configuration2 | 2.8.0-1 |
| debian 13 | commons-configuration2 | 2.8.0-1 |
| debian 14 | commons-configuration2 | 2.8.0-1 |
| echo | commons-configuration2 | 2.8.0-1 |
| Red Hat | candlepin | kein Fix angegeben |
| Red Hat | candlepin-selinux | kein Fix angegeben |
| Red Hat | jenkins-2-plugins | kein Fix angegeben |
| seal Red Hat 7 | python-jinja2 | 2.7.2-4.el7+sp999 |
| seal Red Hat 7 | seal-python-jinja2 | 2.7.2-4.el7+sp999 |
| seal Red Hat 8 | libsolv | 0.7.20-6.el8+sp999 |
| seal Red Hat 8 | seal-libsolv | 0.7.20-6.el8+sp999 |
Referenzen
- http://www.openwall.com/lists/oss-security/2022/07/06/5
- http://www.openwall.com/lists/oss-security/2022/11/15/4
- https://access.redhat.com/security/cve/CVE-2022-33980
- https://commons.apache.org/proper/commons-configuration/changes-report.html#a2.8.0
- https://github.com/apache/commons-configuration
- https://issues.apache.org/jira/browse/CONFIGURATION-753
- https://issues.apache.org/jira/browse/CONFIGURATION-764
- https://lists.apache.org/thread/tdf5n7j80lfxdhs2764vn0xmpfodm87s