# CVE-2022-42889: Apache Commons Text vulnerability

**URL:** <https://community.dynatrace.com/t/cve-2022-42889-apache-commons-text-vulnerability/36940>\
**Category:** Open Q&A\
**Tags:** data-privacy-and-product-security\
**Created:** [October 18, 2022, 12:28pm UTC](https://community.dynatrace.com/t/cve-2022-42889-apache-commons-text-vulnerability/36940 "2022-10-18T12:28:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fstekelenburg](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fstekelenburg/32/22029_2.png) [@fstekelenburg](https://community.dynatrace.com/u/fstekelenburg)\
**Post date:** [October 18, 2022, 12:28pm UTC](https://community.dynatrace.com/t/cve-2022-42889-apache-commons-text-vulnerability/36940/1 "2022-10-18T12:28:35Z")

</div>

Hi we received report about&nbsp;CVE-2022-42889: Apache Commons Text vulnerability, and are asked to investigate if this applies to Dynatrace environments we manage. Does this issue apply to Managed and SaaS environments?

CVE-2022-42889: Apache Commons Text vulnerability  
[CVE - CVE-2022-42889 (mitre.org)](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-42889)

_Apache Commons Text 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.text.lookup.StringLookup that performs the interpolation. Starting with version 1.5 and continuing through 1.9, 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 Text 1.10.0, which disables the problematic interpolators by default._

---

<div class="post-metadata">

**Author:** ![fstekelenburg](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fstekelenburg/32/22029_2.png) [@fstekelenburg](https://community.dynatrace.com/u/fstekelenburg)\
**Post date:** [October 18, 2022, 9:03pm UTC](https://community.dynatrace.com/t/cve-2022-42889-apache-commons-text-vulnerability/36940/2 "2022-10-18T21:03:17Z")

</div>

[New critical vulnerability, CVE-2022-42889, in Apache Commons Text discovered (but no need to panic) | Dynatrace news](https://www.dynatrace.com/news/blog/new-critical-vulnerability-cve-2022-42889-in-apache-commons-text-discovered-but-no-need-to-panic/?utm_medium=social&utm_source=linkedin&utm_campaign=cve2022.42889apache&utm_content=blog&utm_term=none)

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [October 19, 2022, 6:59am UTC](https://community.dynatrace.com/t/cve-2022-42889-apache-commons-text-vulnerability/36940/3 "2022-10-19T06:59:23Z")

</div>

Hi&nbsp;[@fstekelenburg](https://community.dynatrace.com/user/21639),

Thanks for sharing this information.

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![MaciejNeumann](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@MaciejNeumann](https://community.dynatrace.com/u/MaciejNeumann)\
**Post date:** [October 19, 2022, 7:56am UTC](https://community.dynatrace.com/t/cve-2022-42889-apache-commons-text-vulnerability/36940/4 "2022-10-19T07:56:27Z")

</div>

Hello everyone,

Here is a blog post from&nbsp;[@Michael\_Plank](https://community.dynatrace.com/user/7380)&nbsp;about the&nbsp;Apache Commons Text Vulnerability and its impact on the Dynatrace. All future updates will be published also on this page:

[Apache Commons Text Vulnerability (CVE-2022-42889)](https://www.dynatrace.com/news/security-alert/apache-commons-text-vulnerability-cve-2022-42889/)
