You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 20, 2025. It is now read-only.
I ran vuln-reach-cli for package jest-environment-jsdom@28.1.3 which depends on tough-cookie@4.0.0. This version has the following vulnerability: salesforce/tough-cookie@12d4747?diff=split
I specified in the config file a few of the code locations that were patched , but vuln-reach-cli reports an error for all locations that I tried.
Reproduction Steps
Create a config
# config.toml
[[projects]]
name = "jest-environment-jsdom:28.1.3"
tarballs = "./tarballs"
packages = [
{ name = "jest-environment-jsdom", version = "28.1.3" },
{ name = "jsdom", version = "19.0.0" },
{ name = "tough-cookie", version = "4.0.0"}
]
vuln = [
{ package = "tough-cookie", module = "lib/memstore.js", start_row = 111, start_column = 32, end_row = 34, end_column = 111 }
]
Compile vuln-reach-cli and call it with the config from the previous section.
./vuln-reach-cli config.toml
Expected Behavior
Reachability analysis does not fail.
Actual Behavior
(Note the line staring with Reachability failed)
Reachability for jest-environment-jsdom:28.1.3
Package spec not found in project: psl
Package spec not found in project: universalify
Package spec not found in project: util
Package spec not found in project: punycode
Package spec not found in project: url
Package spec not found in project: whatwg-url
Package spec not found in project: stream
Package spec not found in project: acorn-globals
Package spec not found in project: saxes
Package spec not found in project: decimal.js
Package spec not found in project: nwsapi
Package spec not found in project: is-potential-custom-element-name
Package spec not found in project: whatwg-mimetype
Package spec not found in project: w3c-xmlserializer
Package spec not found in project: events
Package spec not found in project: escodegen
Package spec not found in project: path
Package spec not found in project: vm
Package spec not found in project: cssstyle
Package spec not found in project: acorn
Package spec not found in project: whatwg-encoding
Package spec not found in project: html-encoding-sniffer
Package spec not found in project: http
Package spec not found in project: https-proxy-agent
Package spec not found in project: https
Package spec not found in project: ws
Package spec not found in project: webidl-conversions
Reachability failed: Generic("All identifiers should have an access scope: {Node { (111, 32) - (111, 33)} {")
Package spec not found in project: fs
Package spec not found in project: cssom
Package spec not found in project: parse5
Package spec not found in project: child_process
Package spec not found in project: abab
Package spec not found in project: zlib
Package spec not found in project: http-proxy-agent
Package spec not found in project: canvas
Package spec not found in project: data-urls
Package spec not found in project: xml-name-validator
Package spec not found in project: form-data
Package spec not found in project: symbol-tree
Package spec not found in project: w3c-hr-time
Package spec not found in project: os
Package spec not found in project: domexception
Package spec not found in project: @jest/fake-timers
Package spec not found in project: jest-util
Package spec not found in project: jest-mock
*** No paths to tough-cookie/lib/memstore.js:111:32 found.
Description
I ran
vuln-reach-clifor packagejest-environment-jsdom@28.1.3which depends ontough-cookie@4.0.0. This version has the following vulnerability: salesforce/tough-cookie@12d4747?diff=splitI specified in the config file a few of the code locations that were patched , but
vuln-reach-clireports an error for all locations that I tried.Reproduction Steps
Create a config
Compile
vuln-reach-cliand call it with the config from the previous section.Expected Behavior
Reachability analysis does not fail.
Actual Behavior
(Note the line staring with
Reachability failed)