guanana/netbox-scanner

Vulnerabilities

5 via 30 paths

Dependencies

32

Source

GitHub

Commit

5494641f

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 5
  • 2
Severity
  • 7
Status
  • 7
  • 0
  • 0

medium severity

Infinite loop

  • Vulnerable module: zipp
  • Introduced through: python3-nmap@1.4.9

Detailed paths

  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 sphinx@5.3.0 importlib-metadata@6.7.0 zipp@3.15.0
    Remediation: Upgrade to python3-nmap@1.5.1.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 sphinx-rtd-theme@2.0.0 sphinx@5.3.0 importlib-metadata@6.7.0 zipp@3.15.0
    Remediation: Upgrade to python3-nmap@1.5.1.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 sphinx-rtd-theme@2.0.0 sphinxcontrib-jquery@4.1 sphinx@5.3.0 importlib-metadata@6.7.0 zipp@3.15.0
    Remediation: Upgrade to python3-nmap@1.5.1.

Overview

Affected versions of this package are vulnerable to Infinite loop where an attacker can cause the application to stop responding by initiating a loop through functions affecting the Path module, such as joinpath, the overloaded division operator, and iterdir.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.

Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.

One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.

When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.

Two common types of DoS vulnerabilities:

  • High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.

  • Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm ws package

Remediation

Upgrade zipp to version 3.19.1 or higher.

References

medium severity

Resource Exhaustion

  • Vulnerable module: idna
  • Introduced through: idna@2.10, requests@2.31.0 and others

Detailed paths

  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 idna@2.10
    Remediation: Upgrade to idna@3.7.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 requests@2.31.0 idna@2.10
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 pynetbox@5.1.1 requests@2.31.0 idna@2.10
    Remediation: Upgrade to pynetbox@7.1.0.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 requests@2.31.0 idna@2.10
    Remediation: Upgrade to python3-nmap@1.5.1.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 sphinx@5.3.0 requests@2.31.0 idna@2.10
    Remediation: Upgrade to python3-nmap@1.5.1.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 sphinx-rtd-theme@2.0.0 sphinx@5.3.0 requests@2.31.0 idna@2.10
    Remediation: Upgrade to python3-nmap@1.5.1.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 sphinx-rtd-theme@2.0.0 sphinxcontrib-jquery@4.1 sphinx@5.3.0 requests@2.31.0 idna@2.10
    Remediation: Upgrade to python3-nmap@1.5.1.

…and 4 more

Overview

Affected versions of this package are vulnerable to Resource Exhaustion via the idna.encode function. An attacker can consume significant resources and potentially cause a denial-of-service by supplying specially crafted arguments to this function.

Note: This is triggered by arbitrarily large inputs that would not occur in normal usage but may be passed to the library assuming there is no preliminary input validation by the higher-level application.

Remediation

Upgrade idna to version 3.7 or higher.

References

medium severity

Insufficient Verification of Data Authenticity

  • Vulnerable module: certifi
  • Introduced through: certifi@2023.7.22, requests@2.31.0 and others

Detailed paths

  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 certifi@2023.7.22
    Remediation: Upgrade to certifi@2024.7.4.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 requests@2.31.0 certifi@2023.7.22
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 pynetbox@5.1.1 requests@2.31.0 certifi@2023.7.22
    Remediation: Upgrade to pynetbox@7.1.0.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 requests@2.31.0 certifi@2023.7.22
    Remediation: Upgrade to python3-nmap@1.5.1.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 sphinx@5.3.0 requests@2.31.0 certifi@2023.7.22
    Remediation: Upgrade to python3-nmap@1.5.1.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 sphinx-rtd-theme@2.0.0 sphinx@5.3.0 requests@2.31.0 certifi@2023.7.22
    Remediation: Upgrade to python3-nmap@1.5.1.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 sphinx-rtd-theme@2.0.0 sphinxcontrib-jquery@4.1 sphinx@5.3.0 requests@2.31.0 certifi@2023.7.22
    Remediation: Upgrade to python3-nmap@1.5.1.

…and 4 more

Overview

Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity due to the presence of the root certificate for GLOBALTRUST in the root store. The root certificates are being removed pursuant to an investigation into non-compliance.

Remediation

Upgrade certifi to version 2024.7.4 or higher.

References

medium severity

Improper Removal of Sensitive Information Before Storage or Transfer

  • Vulnerable module: urllib3
  • Introduced through: urllib3@1.26.18, requests@2.31.0 and others

Detailed paths

  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 urllib3@1.26.18
    Remediation: Upgrade to urllib3@1.26.19.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 requests@2.31.0 urllib3@1.26.18
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 pynetbox@5.1.1 requests@2.31.0 urllib3@1.26.18
    Remediation: Upgrade to pynetbox@7.1.0.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 requests@2.31.0 urllib3@1.26.18
    Remediation: Upgrade to python3-nmap@1.5.1.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 sphinx@5.3.0 requests@2.31.0 urllib3@1.26.18
    Remediation: Upgrade to python3-nmap@1.5.1.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 sphinx-rtd-theme@2.0.0 sphinx@5.3.0 requests@2.31.0 urllib3@1.26.18
    Remediation: Upgrade to python3-nmap@1.5.1.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 sphinx-rtd-theme@2.0.0 sphinxcontrib-jquery@4.1 sphinx@5.3.0 requests@2.31.0 urllib3@1.26.18
    Remediation: Upgrade to python3-nmap@1.5.1.

…and 4 more

Overview

urllib3 is a HTTP library with thread-safe connection pooling, file post, and more.

Affected versions of this package are vulnerable to Improper Removal of Sensitive Information Before Storage or Transfer due to the improper handling of the Proxy-Authorization header during cross-origin redirects when ProxyManager is not in use. When the conditions below are met, including non-recommended configurations, the contents of this header can be sent in an automatic HTTP redirect.

Notes:

To be vulnerable, the application must be doing all of the following:

  1. Setting the Proxy-Authorization header without using urllib3's built-in proxy support.

  2. Not disabling HTTP redirects (e.g. with redirects=False)

  3. Either not using an HTTPS origin server, or having a proxy or target origin that redirects to a malicious origin.

Workarounds

  1. Using the Proxy-Authorization header with urllib3's ProxyManager.

  2. Disabling HTTP redirects using redirects=False when sending requests.

  3. Not using the Proxy-Authorization header.

Remediation

Upgrade urllib3 to version 1.26.19, 2.2.2 or higher.

References

medium severity

Always-Incorrect Control Flow Implementation

  • Vulnerable module: requests
  • Introduced through: requests@2.31.0, pynetbox@5.1.1 and others

Detailed paths

  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 requests@2.31.0
    Remediation: Upgrade to requests@2.32.2.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 pynetbox@5.1.1 requests@2.31.0
    Remediation: Upgrade to pynetbox@7.1.0.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 requests@2.31.0
    Remediation: Upgrade to python3-nmap@1.5.1.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 sphinx@5.3.0 requests@2.31.0
    Remediation: Upgrade to python3-nmap@1.5.1.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 sphinx-rtd-theme@2.0.0 sphinx@5.3.0 requests@2.31.0
    Remediation: Upgrade to python3-nmap@1.5.1.
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 sphinx-rtd-theme@2.0.0 sphinxcontrib-jquery@4.1 sphinx@5.3.0 requests@2.31.0
    Remediation: Upgrade to python3-nmap@1.5.1.

…and 3 more

Overview

Affected versions of this package are vulnerable to Always-Incorrect Control Flow Implementation when making requests through a Requests Session. An attacker can bypass certificate verification by making the first request with verify=False, causing all subsequent requests to ignore certificate verification regardless of changes to the verify value.

Notes:

  1. For requests <2.32.0, avoid setting verify=False for the first request to a host while using a Requests Session.

  2. For requests <2.32.0, call close() on Session objects to clear existing connections if verify=False is used.

  3. This vulnerability was initially fixed in version 2.32.0, which was yanked. Therefore, the next available fixed version is 2.32.2.

Remediation

Upgrade requests to version 2.32.2 or higher.

References

medium severity
new

MPL-2.0 license

  • Module: certifi
  • Introduced through: certifi@2023.7.22, requests@2.31.0 and others

Detailed paths

  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 certifi@2023.7.22
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 requests@2.31.0 certifi@2023.7.22
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 pynetbox@5.1.1 requests@2.31.0 certifi@2023.7.22
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 requests@2.31.0 certifi@2023.7.22
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 sphinx@5.3.0 requests@2.31.0 certifi@2023.7.22
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 sphinx-rtd-theme@2.0.0 sphinx@5.3.0 requests@2.31.0 certifi@2023.7.22
  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 python3-nmap@1.4.9 sphinx-rtd-theme@2.0.0 sphinxcontrib-jquery@4.1 sphinx@5.3.0 requests@2.31.0 certifi@2023.7.22

…and 4 more

MPL-2.0 license

medium severity
new

LGPL-2.1 license

  • Module: chardet
  • Introduced through: chardet@3.0.4

Detailed paths

  • Introduced through: guanana/netbox-scanner@guanana/netbox-scanner#5494641f078a3767cea77370c8337e69ffc897a7 chardet@3.0.4

LGPL-2.1 license