Information Exposure Affecting glance package, versions <3.0.7


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

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 ID SNYK-JS-GLANCE-174130
  • published 7 Apr 2019
  • disclosed 7 Apr 2019
  • credit skyn3t

Introduced: 7 Apr 2019

CVE NOT AVAILABLE CWE-200 Open this link in a new tab

How to fix?

Upgrade glance to version 3.0.7 or higher.

Overview

glance is a quick disposable http server for static files.

Affected versions of this package are vulnerable to Information Exposure. The config option nodot could be used to prevent serving sensitive folders such as .git or .DS_Store. This rule could be bypassed using the technique below which could lead to sensitive information disclosure.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    None