Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade gatsby
to version 4.25.7, 5.9.1 or higher.
gatsby is a framework based on React that helps developers build blazing fast websites and apps
Affected versions of this package are vulnerable to Information Exposure via local file inclusion in __file-code-frame
or __original-stack-frame
, when gatsby develop
is in use and exposed to the internet.
NOTE: By default gatsby develop
is only accessible via the localhost 127.0.0.1
, and one would need to intentionally expose the server to other interfaces to exploit this vulnerability by using server options such as --host 0.0.0.0
, -H 0.0.0.0
, or the GATSBY_HOST=0.0.0.0
environment variable.
# Local File Inclusion in __file-code-frame
$ curl "http://127.0.0.1:8000/__file-code-frame?filePath=/etc/passwd&lineNumber=1"
# Local File Inclusion in __original-stack-frame
$ curl "http://127.0.0.1:8000/__original-stack-frame?moduleId=/etc/hosts&lineNumber=1&skipSourceMap=1"