swagger-api / swagger-api/swagger-codegen

[Bug]: Critical security vulnerability introduced by jersey-client 3.0.10

Open
#12,664 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Description

Critical security vulnerability introduced by jersey-client 3.0.10: https://security.snyk.io/package/maven/org.glassfish.jersey.core%3Ajersey-client/3.0.10

Swagger Codegen Version

3.0.75

Language / Generator

Java

OpenAPI/Swagger Spec

Command Line Used

mvn dependency:tree -Dverbose -DoutputFile=dependency-tree.txt

Steps to Reproduce

Snyk scan on the repository

Expected Behavior

No more critical issue by upgrading this dependency to v3.0.17: https://security.snyk.io/package/maven/org.glassfish.jersey.core%3Ajersey-client/3.0.17

Actual Behavior

jersey-client critical vulnerability

Related Issues / Repos

Environment

  • OS:
  • Java Version:
  • Build Tool:
  • Swagger Codegen CLI version:

Additional Context

Checklist

  • I have searched the existing issues to make sure this is not a duplicate.
  • I have included a minimal and reproducible spec example.
  • I have explained how to reproduce the issue.
  • I have specified which generator/language is affected.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the reported Maven dependency tree command and inspect dependency-tree.txt to identify where jersey-client 3.0.10 is introduced. Update that dependency to 3.0.17, then rerun the dependency check or Snyk scan and confirm the critical vulnerability is gone.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.