Information Exposure Affecting github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/generators package, versions <2.9.9


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.13% (49th percentile)

Do your applications use this vulnerable package?

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 applications

Snyk Learn

Learn about Information Exposure vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMPROJECTDISCOVERYNUCLEIV2PKGPROTOCOLSCOMMONGENERATORS-5821377
  • published6 Aug 2023
  • disclosed4 Aug 2023
  • creditUnknown

Introduced: 4 Aug 2023

CVE-2023-37896  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/generators to version 2.9.9 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure due to relative paths not being converted to absolute paths before doing the check for sandbox flag, allowing arbitrary files to be read on the filesystem in certain cases when using Nuclei from Go SDK implementation.

Note: The vulnerability affects users utilizing Nuclei as "Go code (SDK)" running "custom templates" due to sanitization issues with payloads loading in sandbox mode. This issue does not affect CLI users.

CVSS Base Scores

version 3.1