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

Vulnerable dependencies #1813

Closed
andysm1th opened this issue Nov 30, 2021 · 8 comments
Closed

Vulnerable dependencies #1813

andysm1th opened this issue Nov 30, 2021 · 8 comments

Comments

@andysm1th
Copy link

The following 2 dependencies used by redoc have security vulnerabilities:

marked Regular Expression Denial of Service (ReDoS)
CWE-1333
CVSS 5.9 MEDIUM

json-pointer Prototype Pollution
CWE-1321
CVE-2021-23820
CVSS 5.6

@damianobarbati
Copy link

Any solution to this?

@rajeshsusai
Copy link

I believe marked has been updated to address that vulnerability, this repo would need a PR to update to the newer version.

The json-pointer package has an open PR to address the Prototype Pollution vulnerability, but it appears to be blocked: manuelstofer/json-pointer#36

@jonathan-codaio
Copy link

Hi folks! Any update updating this repo and redoc-cli to use the newer version of marked?

There is a new vulnerability in marked: GHSA-5v2h-r2cx-5xgj

We are unable to work around this one as we have in the past because it appears that redoc and redoc-cli produce build errors when we force a resolution of marked to 4.0.10.

As these are high severity vulnerabilities, any chance this could be looked into? Thanks!

@vjwilson
Copy link

vjwilson commented Feb 9, 2022

Bumping this for json-pointer

Someone has forked that repo and then published a "json-pointer-community" package with the vuln fixed in it.

Is it possible for Redoc to switch to using the updated fork?

Comment announcing the fork in original issue
New package with fix

@JackElderProscia
Copy link

The owner of json-pointer has merged a vulnerability fix and published a new version.

Linking @crenshaw-dev's PR: #1910

@crenshaw-dev
Copy link
Contributor

Looks like rc64 patches the issue?

@AlexVarchuk
Copy link
Collaborator

marked updated to 4.0.10 and json-pointer to 0.6.2 in version 2.0.0-rc.64

@AlexVarchuk
Copy link
Collaborator

seems it is resolved. If someone has questions/enhancements about that issue, please reopen it and let us know. Thanks.

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

9 participants