Bug 574386 - Vulnerabilities discovered in third-party content
Summary: Vulnerabilities discovered in third-party content
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.0.41   Edit
Assignee: Alexander Kurtakov CLA
QA Contact: David Green CLA
URL:
Whiteboard:
Keywords: security
Depends on: 576645
Blocks:
  Show dependency tree
 
Reported: 2021-06-22 09:42 EDT by Wayne Beaton CLA
Modified: 2021-11-10 19:39 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wayne Beaton CLA 2021-06-22 09:42:51 EDT
The GitHub Dependabot is reporting some discovered vulnerabilities in the Mylyn Docs repository mirror in the Eclipse GitHub organization:

--
eclipse / mylyn.docs
Known security vulnerabilities detected

Dependency
org.apache.tika:tika-core	
Version
>= 0.1 < 1.19.1	
Upgrade to
~> 1.19.1
Defined in
pom.xml
Vulnerabilities
CVE-2016-6809 High severity
CVE-2018-11761 High severity
CVE-2018-11796 Moderate severity
CVE-2018-1339 Moderate severity
CVE-2015-3271 Moderate severity

Dependency
com.google.guava:guava	
Version
> 11.0 < 24.1.1	
Upgrade to
~> 24.1.1
Defined in
pom.xml
Vulnerabilities
CVE-2020-8908 Low severity
CVE-2020-8908 Low severity
CVE-2018-10237 Moderate severity
CVE-2018-10237 Moderate severity

Dependency
org.apache.ant:ant	
Version
>= 1.1 < 1.9.15	
Upgrade to
~> 1.9.15
Defined in
pom.xml
Vulnerabilities
CVE-2020-11979 High severity
CVE-2020-11979 High severity
CVE-2020-11979 High severity
CVE-2020-1945 Moderate severity
CVE-2020-1945 Moderate severity


Dependency
junit:junit	
Version
>= 4.7 < 4.13.1	
Upgrade to
~> 4.13.1
Defined in
pom.xml
Vulnerabilities
CVE-2020-15250 Low severity
CVE-2020-15250 Low severity
CVE-2020-15250 Low severity
CVE-2020-15250 Low severity
CVE-2020-15250 Low severity
--
Comment 1 Leo Dos Santos CLA 2021-10-13 20:30:54 EDT
Most of these dependencies have been addressed for 3.0.40, with poms updated:
* com.google.guava -> 30.1.0
* org.apache.ant -> 1.10.11
* unit -> 4.13.2

The only thing outstanding is org.apache.tika which doesn't have an updated entry in Orbit. If we update the Maven dependencies to build with 1.19.1, Eclipse installs will still be stuck with 1.3. Torkild, is there any plan to update Epub with an updated Tika dependency? There's no upper bound on the Epub manifests, but I'm not familiar with Tika's API stability - if we update the poms to 1.19.1, will Eclipse users with 1.3 break?
Comment 2 Torkild Resheim CLA 2021-10-14 02:41:52 EDT
(In reply to Leo Dos Santos from comment #1)
> Most of these dependencies have been addressed for 3.0.40, with poms updated:
> * com.google.guava -> 30.1.0
> * org.apache.ant -> 1.10.11
> * unit -> 4.13.2
> 
> The only thing outstanding is org.apache.tika which doesn't have an updated
> entry in Orbit. If we update the Maven dependencies to build with 1.19.1,
> Eclipse installs will still be stuck with 1.3. Torkild, is there any plan to
> update Epub with an updated Tika dependency? There's no upper bound on the
> Epub manifests, but I'm not familiar with Tika's API stability - if we
> update the poms to 1.19.1, will Eclipse users with 1.3 break?

I have no immediate plans to update the Tika dependency, but my guess is that the API is fairly stable. Since we only use Tika to determine the MIME type of content, my guess is that an update will work just fine. I'll have a look.
Comment 3 Torkild Resheim CLA 2021-10-14 05:52:37 EDT
I've tested with Apache Tika 1.27, which is the last release in the 1.x series and can confirm that there is no API breakage and that the EPUB tests that uses Apache Tika are passing.

I'm looking into putting this version of Tika in Orbit using Orbit Bundle Recipes.
Comment 4 Torkild Resheim CLA 2021-10-15 14:54:18 EDT
(In reply to Torkild Resheim from comment #3)
> I've tested with Apache Tika 1.27, which is the last release in the 1.x
> series and can confirm that there is no API breakage and that the EPUB tests
> that uses Apache Tika are passing.
> 
> I'm looking into putting this version of Tika in Orbit using Orbit Bundle
> Recipes.

Decided to go for Apache Tika 1.19.1 which already has an approved CQ.
Comment 5 Wayne Beaton CLA 2021-10-21 12:43:52 EDT
The three month confidentiality window has passed, so I've removed the Committer-only flag.

Are we done here?
Comment 6 Leo Dos Santos CLA 2021-10-21 12:56:00 EDT
We should be able to get a release out with the updated Tika in the next few days.
Comment 7 Torkild Resheim CLA 2021-10-21 13:46:52 EDT
(In reply to Leo Dos Santos from comment #6)
> We should be able to get a release out with the updated Tika in the next few
> days.

I'm waiting for someone to review my merge request for Eclipse Orbit[1], and some changes have to be done in Mylyn Docs also. So we're not quite done.

[1] https://git.eclipse.org/r/c/orbit/orbit-recipes/+/186549
Comment 8 Leo Dos Santos CLA 2021-10-21 13:51:41 EDT
(In reply to Torkild Resheim from comment #7)
> (In reply to Leo Dos Santos from comment #6)
> > We should be able to get a release out with the updated Tika in the next few
> > days.
> 
> I'm waiting for someone to review my merge request for Eclipse Orbit[1], and
> some changes have to be done in Mylyn Docs also. So we're not quite done.
> 
> [1] https://git.eclipse.org/r/c/orbit/orbit-recipes/+/186549

I'm not to confidant with Orbit recipes, Alexander would this be something you could +2?
Comment 9 Eclipse Genie CLA 2021-11-06 12:20:14 EDT
New Gerrit change created: https://git.eclipse.org/r/c/mylyn/org.eclipse.mylyn.docs/+/187430
Comment 11 Alexander Kurtakov CLA 2021-11-06 12:58:40 EDT
Leo, everything should be ready for a release now. Hopefully you can do it for M3.
Comment 12 Leo Dos Santos CLA 2021-11-08 18:20:40 EST
Great! I'll push out a release this week.
Comment 13 Leo Dos Santos CLA 2021-11-10 19:39:49 EST
Thank you Torkild and Alexander for the work on finishing this.