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

Rest-Assured vulnerabilities #1772

Open
alinaavr opened this issue Feb 15, 2024 · 1 comment
Open

Rest-Assured vulnerabilities #1772

alinaavr opened this issue Feb 15, 2024 · 1 comment

Comments

@alinaavr
Copy link

Hi,

I am using rest-assured version 5.4.0 in my project. How can a resolve vulnerability issues for jackson-mapper-asl ?
I tried to add this library : com.fasterxml.jackson.core 2.16.1, but it's not working. Also I tried to exclude this library from rest-assured .

Thank you

@lucas-nguyen-17
Copy link
Contributor

I think your solution solves this problem.

  1. Exclude jackson-mapper-asl from rest-assured
<dependency>
    <groupId>io.rest-assured</groupId>
    <artifactId>rest-assured</artifactId>
    <version>5.4.0</version>
    <scope>test</scope>
    <exclusions>
        <exclusion>
            <groupId>org.codehaus.jackson</groupId>
            <artifactId>jackson-mapper-asl</artifactId>
        </exclusion>
    </exclusions>
</dependency>
  1. Add jackson data-bind
<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-databind</artifactId>
    <version>2.16.1</version>
</dependency>
  1. Use mvn dependecy:tree to verify that changes.

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