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

Security Vulnerability #163

Closed
chirag-rakholiya opened this issue Feb 1, 2022 · 2 comments
Closed

Security Vulnerability #163

chirag-rakholiya opened this issue Feb 1, 2022 · 2 comments

Comments

@chirag-rakholiya
Copy link

Security Vulnerability found in one of the Dependency library named markdown-it@10.0.0 .
More details - opensearch-project/OpenSearch-Dashboards#1135

As a user of the react-native-markdown-display , there is still dependency version of markdown-it has 10.0.0 which cause the security issue while using the latest version of the react-native-display and even old version having same issue.

please upgrade the markdown-it to 12.3.2 so we can feel free to use react-native-markdown-display without any security concern.

markdown-it is a Markdown parser. Prior to version 1.3.2, special patterns with length greater than 50 thousand characters could slow down the parser significantly. Users should upgrade to version 12.3.2 to receive a patch. There are no known workarounds aside from upgrading.

@robsonbbs
Copy link

I didn't test it yet, but a workaround would be to use resolutions into your package.json:

"resolutions": {
    "markdown-it": "12.3.2"
  },

@paulosborne
Copy link

I didn't test it yet

warning Resolution field "markdown-it@12.3.2" is incompatible with requested version "markdown-it@^10.0.0"

@iamacup iamacup closed this as completed Dec 11, 2023
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

4 participants