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

Dependency Handlebars 4.3.0 has vulnerability to CVE-2022-42889 #1994

Open
juliank8080 opened this issue Oct 19, 2022 · 4 comments
Open

Dependency Handlebars 4.3.0 has vulnerability to CVE-2022-42889 #1994

juliank8080 opened this issue Oct 19, 2022 · 4 comments

Comments

@juliank8080
Copy link

The current Handlebars dependency used by Wiremock 2.34 uses the Apache.commons.text library, which contains a security vulnerability with ID CVE-2022-42889. Handlebars version 4.3.1 uses the updated version of the Apache library which mitigates this vulnerability.

Wiremock version

2.34.0

What is the issue

Inside the main build.gradle file there is a dependency on Handlebars version 4.3.0. This version uses a vulnerable version of the Apache.commons.text library. Handlebars has a newer version available which uses a non-vulnerable version of the Apache library (issue: jknack/handlebars.java#1009).

What would I like to see

I would like to see the handlebars dependency used by Wiremock updated to version 4.3.1

@lucasvc
Copy link
Contributor

lucasvc commented Oct 20, 2022

I think this is duplicated by #1990.

@pcgeng
Copy link

pcgeng commented Oct 26, 2022

@lucasvc will you team update the handlebars to 4.3.1 in the next version (2.35.0?) of wiremock?

@lucasvc
Copy link
Contributor

lucasvc commented Oct 26, 2022

I am not part of the team, I just made the PR to fix the issue #1995.
As you see it is merged and also will be created new wiremock version.

@Yury-Fridlyand
Copy link

Apache Commons FileUpload =< 1.4 has this vulnerability. If was fixed in 1.5. link.
It is recommended to update commons-fileupload component to version 1.5.

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

4 participants