Uploaded image for project: 'ui-circulation'
  1. ui-circulation
  2. UICIRC-574

Upgrade react-codemirror2 from 1.0.0 to >=7.0.0 (CVE-2020-7760)

    XMLWordPrintable

Details

    • Vega
    • Small < 3 days

    Description

      Overview:

      ui-circulation ships with a ReDoS (regular expressions denial of service) vulnerability.

      https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7760

      Steps to Reproduce:

      snyk.io and yarn why codemirror show this dependency path:

      @folio/platform-complete@3.4.0 › 
      @folio/circulation@5.0.1 › 
      react-codemirror2@1.0.0 › 
      codemirror@5.29.0 

      codemirror before 5.58.2 has a ReDoS (regular expressions denial of service) vulnerability: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7760

      react-codemirror2 before 7.0.0 depends on a vulnerable codemirror version: https://github.com/scniro/react-codemirror2/commit/1801460b2c35db1372afe221b070143b6e52199c

      react-codemirror2 from 7.0.0 depends on a fixed codemirror version.

      Task:

      Upgrade react-codemirror2 from 1.0.0 to a version that is >=7.0.0.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                julianladisch Julian Ladisch
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases