swagger-api / swagger-api/swagger-codegen
WS-2019-0490 (High) detected in jcommander-1.48.jar
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
WS-2019-0490 - High Severity Vulnerability
Vulnerable Library - jcommander-1.48.jar
A Java framework to parse command line options with annotations.
Library home page: http://beust.com/
Path to vulnerable library: /modules/swagger-generator/target/lib/jcommander-1.48.jar
Dependency Hierarchy:
- ❌ jcommander-1.48.jar (Vulnerable Library)
Found in HEAD commit: 4b7a8d7d7384aa6a27d6309c35ade0916edae7ed
Found in base branches: 3.0.0, master
Vulnerability Details
Inclusion of Functionality from Untrusted Control Sphere vulnerability found in jcommander before 1.75. jcommander resolving dependencies over HTTP instead of HTTPS.
Publish Date: 2019-02-19
URL: WS-2019-0490
CVSS 3 Score Details (8.1)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: High
Suggested Fix
Type: Upgrade version
Release Date: 2019-02-19
Fix Resolution: 1.75
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how jcommander-1.48.jar reaches modules/swagger-generator/target/lib, using the dependency hierarchy and HEAD commit 4b7a8d7. Update the dependency to the stated fixed version, 1.75, then rebuild the 3.0.0 and master targets and verify the vulnerable 1.48 artifact is no longer present.
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
- 35/100