swagger-api / swagger-api/swagger-ui
Use of Deprecated or Obsolete Functions - SlowBuffer
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
Used version - 4.15.5
Category - Security Misconfiguration
Description - The application references an obsolete/ deprecated function SlowBuffer.
Impact - Use of a deprecated function may leave users vulnerable to browser-based attacks.
Referencing deprecated modules can cause an application to be exposed to known
vulnerabilities, that have been publicly reported and already fixed. A common attack
technique is to scan applications for these known vulnerabilities, and then exploit the
application through these deprecated versions
impacted file - swagger-ui-es-bundle-core.js
Do let us know when this planned to be addressed.
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 locating the SlowBuffer reference in swagger-ui-es-bundle-core.js and trace it to the source or dependency that produces the bundle. Confirm the replacement path with the project’s build process, then verify that the generated bundle no longer contains the deprecated reference.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100