swagger-api / swagger-api/swagger-codegen
XML External Entity (XXE) Injection vulnerability in org.mozilla:rhino library
Open
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
There is XML External Entity (XXE) Injection vulnerability introduced in org.mozilla:rhino library.
Swagger-codegen version
Fix/enhancement
Upgrade org.mozilla:rhino to version 1.7.12 or higher.
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
Locate the dependency declarations for org.mozilla:rhino in the swagger-codegen repository and inspect how version 3.0.26 and 2.4.20 resolve it. Update the dependency to version 1.7.12 or higher, then run the relevant dependency or build checks to confirm the vulnerable version is no longer used.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- security
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100