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",
...
}
},
The Twistlock results from 1/18/2024 for
sam-frontend-entityshow two vulnerabilities for thenode-fetchv1.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-fetchis not inpackage.json, but is found inpackage-lock.json.I traced
node-fetchup the dependency tree to a dependency forreact-syntax-highlighterinsam-styles: