diff options
Diffstat (limited to 'metadata/glsa/glsa-202301-05.xml')
-rw-r--r-- | metadata/glsa/glsa-202301-05.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/metadata/glsa/glsa-202301-05.xml b/metadata/glsa/glsa-202301-05.xml new file mode 100644 index 000000000000..2aa72064076d --- /dev/null +++ b/metadata/glsa/glsa-202301-05.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd"> +<glsa id="202301-05"> + <title>Apache Commons Text: Arbitrary Code Execution</title> + <synopsis>A vulnerability has been discovered in Apache Commons Text which could result in arbitrary code execution.</synopsis> + <product type="ebuild">commons-text</product> + <announced>2023-01-11</announced> + <revised count="1">2023-01-11</revised> + <bug>877577</bug> + <access>remote</access> + <affected> + <package name="dev-java/commons-text" auto="yes" arch="*"> + <unaffected range="ge">1.10.0</unaffected> + <vulnerable range="lt">1.10.0</vulnerable> + </package> + </affected> + <background> + <p>Apache Commons Text is a library focused on algorithms working on strings.</p> + </background> + <description> + <p>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. 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.</p> + </description> + <impact type="high"> + <p>Crafted input to Apache Commons Text could trigger remote code execution.</p> + </impact> + <workaround> + <p>There is no known workaround at this time.</p> + </workaround> + <resolution> + <p>All Apache Commons Text users should upgrade to the latest version:</p> + + <code> + # emerge --sync + # emerge --ask --oneshot --verbose ">=dev-java/commons-text-1.10.0" + </code> + </resolution> + <references> + <uri link="https://nvd.nist.gov/vuln/detail/CVE-2022-42889">CVE-2022-42889</uri> + </references> + <metadata tag="requester" timestamp="2023-01-11T05:18:10.785619Z">ajak</metadata> + <metadata tag="submitter" timestamp="2023-01-11T05:18:10.790088Z">ajak</metadata> +</glsa>
\ No newline at end of file |