Hi all,
We (several Committers) analyzed this vulnerability yesterday.
No version of DSpace appears to be vulnerable to CVE-2022-42889, based on the current information available. This includes DSpace
7.x, 6.x, 5.x and every other release before then. Apache Commons Text is only included in the DSpace 7.x releases.
This PR is still being tested/reviewed, but the results are good so far. It will be included in the upcoming 7.5 release (due in Feb 2023). This PR's description also contains notes
of our analysis of this vulnerability.
If more information becomes available about CVE-2022-42889 that causes a concern for DSpace, we'll reanalyze and possibly release an immediate patched version of 7.x. However, at
this time, we don't anticipate that occurring. From what I'm reading, this security vulnerability is dangerous, but also very rare. Exploiting the vulnerability seems to require using a very
specific feature of Apache Commons Text & passing it untrusted user input. DSpace doesn't use the vulnerable feature, and never passes any untrusted data to Apache Commons Text.
If anyone has any further questions or concerns, feel free to reach out to me or email
secu...@dspace.org (which goes to all active DSpace Committers).
Thanks,
Tim Donohue