Skip to content

Twistlock Vulnerability for node-fetch v1.7.3 #692

@brandydanner-gsa

Description

@brandydanner-gsa

The Twistlock results from 1/18/2024 for sam-frontend-entity show two vulnerabilities for the node-fetch v1.7.3 package:

https://nvd.nist.gov/vuln/detail/CVE-2020-15168
https://nvd.nist.gov/vuln/detail/CVE-2022-0235

In sam-frontend-entity, node-fetch is not in package.json, but is found in package-lock.json.

I traced node-fetch up the dependency tree to a dependency for react-syntax-highlighter in sam-styles:

"node_modules/@gsa-sam/sam-styles": {
      "version": "3.0.18",
      "resolved": "https://artifactory.helix.gsa.gov/artifactory/api/npm/ART-001-GP-SFE-npm/@gsa-sam/sam-styles/sam-styles-3.0.18.tgz",
     ...
      "dependencies": {
        ...
        "react-syntax-highlighter": "^15.5.0",
        ...
      }
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions