CVE-2022-33980
apache-commons-configuration: Apache Commons Configuration insecure interpolation defaults
Kaynağa göre önem derecesi
Trivy'nin kendi etiketi CRITICAL. Kritik diyenler: NVD, GHSA. Daha düşük diyenler: Red Hat (orta).
Açıklama
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.
Etkilenen paketler ve düzeltilmiş sürümler
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| 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 | düzeltme belirtilmemiş |
| 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 |
9 kaynaktaki 13 kaydın hepsini göster
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| 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 | düzeltme belirtilmemiş |
| Red Hat | candlepin-selinux | düzeltme belirtilmemiş |
| Red Hat | jenkins-2-plugins | düzeltme belirtilmemiş |
| 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 |
Referanslar
- 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