Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authzforce GE docker image is vulnerable #22

Closed
kirgahn opened this issue Jun 9, 2022 · 2 comments
Closed

Authzforce GE docker image is vulnerable #22

kirgahn opened this issue Jun 9, 2022 · 2 comments
Assignees

Comments

@kirgahn
Copy link

kirgahn commented Jun 9, 2022

As per subject of this issue, the current Authzforce GE docker image is vulnerable (for eg. see CVE-2022-29885) due to its dependence on the base tomcat:9-jre11-slim docker image which hasn't been updated in three years and is currently unmaintained.

Unfortunately, simply building the image from another up-to-date official image doesn't work. For example, here's an log excerpt of Authzforce failing when running an image built from tomcat:9-jdk11:

2022-06-09 09:51:36,866|ERROR|main|org.springframework.web.context.ContextLoader:313|Context initialization failed|
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/beans.xml]; nested exception is org.springframework.beans.FatalBeanException: Unresolvable class definition for NamespaceHandler class [org.apache.cxf.bus.spring.NamespaceHandler] for namespace [http://cxf.apache.org/core]; nested exception is java.lang.NoClassDefFoundError: javax/xml/ws/WebServiceFeature

I've tested several different base images, both JRE and OpenJDK based, with no success.
This GE is currently deployed on VMs hosted on FIWARE nodes and should be maintained on an updated base image for security reasons.

@cdanger cdanger self-assigned this Jun 9, 2022
@cdanger
Copy link
Member

cdanger commented Jun 9, 2022

Yes, it is about time we switch to the latest official Docker images for tomcat 9, such as this one:
https://hub.docker.com/layers/tomcat/library/tomcat/9-jre11-temurin-focal/images/sha256-561eaf1795a547db766341ce94073c274f8ea5f72d4b3b042c87e6c2d4bc4a69

@cdanger
Copy link
Member

cdanger commented Jun 9, 2022

@cdanger cdanger closed this as completed Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants