Vulnerabilities

30 via 174 paths

Dependencies

34

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
  • 15
  • 10
  • 4
Status
  • 30
  • 0
  • 0

critical severity

Heap-based Buffer Overflow

  • Vulnerable module: pillow
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 pillow@9.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0

Overview

Pillow is a PIL (Python Imaging Library) fork.

Affected versions of this package are vulnerable to Heap-based Buffer Overflow when the ReadHuffmanCodes() function is used. An attacker can craft a special WebP lossless file that triggers the ReadHuffmanCodes() function to allocate the HuffmanCode buffer with a size that comes from an array of precomputed sizes: kTableSize. The color_cache_bits value defines which size to use. The kTableSize array only takes into account sizes for 8-bit first-level table lookups but not second-level table lookups. libwebp allows codes that are up to 15-bit (MAX_ALLOWED_CODE_LENGTH). When BuildHuffmanTable() attempts to fill the second-level tables it may write data out-of-bounds. The OOB write to the undersized array happens in ReplicateValue.

Notes:

This is only exploitable if the color_cache_bits value defines which size to use.

This vulnerability was also published on libwebp CVE-2023-5129

Changelog:

2023-09-12: Initial advisory publication

2023-09-27: Advisory details updated, including CVSS, references

2023-09-27: CVE-2023-5129 rejected as a duplicate of CVE-2023-4863

2023-09-28: Research and addition of additional affected libraries

2024-01-28: Additional fix information

Remediation

Upgrade Pillow to version 10.0.1 or higher.

References

high severity
new

Out-of-bounds Write

  • Vulnerable module: pillow
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 pillow@9.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write in the ImageFilter.RankFilter process when a very large odd filter size is provided, leading to unchecked signed integer arithmetic in ImagingExpand. An attacker can cause a heap out-of-bounds write by supplying crafted input to the filter size parameter.

Remediation

Upgrade pillow to version 12.3.0 or higher.

References

high severity
new

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: pillow
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 pillow@9.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the decode function of PdfStream in PdfParser, where zlib decompression is performed without limiting the output size. An attacker can cause excessive memory consumption by submitting a specially crafted PDF file with a maliciously large Length field.

Remediation

Upgrade pillow to version 12.3.0 or higher.

References

high severity
new

Memory Allocation with Excessive Size Value

  • Vulnerable module: pillow
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 pillow@9.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0

Overview

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value via the PcfFontFile._load_bitmaps process. An attacker can cause excessive memory allocation by supplying crafted PCF font data that bypasses decompression bomb checks.

Remediation

Upgrade pillow to version 12.3.0 or higher.

References

high severity
new

Memory Allocation with Excessive Size Value

  • Vulnerable module: pillow
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 pillow@9.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0

Overview

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value in the FontFile.compile process. An attacker can cause excessive memory allocation by providing a specially crafted font file that triggers uncontrolled resource consumption during image conversion or saving.

Remediation

Upgrade pillow to version 12.3.0 or higher.

References

high severity
new

Memory Allocation with Excessive Size Value

  • Vulnerable module: pillow
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 pillow@9.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0

Overview

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value in the bdf_char process when attacker-controlled dimensions from a BDF font file are passed to Image.new() without invoking the _decompression_bomb_check function. An attacker can cause excessive memory allocation by supplying specially crafted font files.

Remediation

Upgrade pillow to version 12.3.0 or higher.

References

high severity
new

Memory Allocation with Excessive Size Value

  • Vulnerable module: pillow
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 pillow@9.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0

Overview

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value in the GdImageFile._open process. An attacker can cause excessive memory allocation by supplying a crafted .gd file that bypasses decompression bomb checks.

Remediation

Upgrade pillow to version 12.3.0 or higher.

References

high severity
new

Out-of-bounds Write

  • Vulnerable module: pillow
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 pillow@9.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write via the apply function. An attacker can cause memory corruption and potentially crash the application by providing an output image with a mode that does not match the transform's declared output mode.

Remediation

Upgrade pillow to version 12.3.0 or higher.

References

high severity

Arbitrary Code Execution

  • Vulnerable module: fonttools
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 fonttools@4.38.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 fonttools@4.38.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 fonttools@4.38.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 fonttools@4.38.0

Overview

fonttools is a Tools to manipulate font files

Affected versions of this package are vulnerable to Arbitrary Code Execution due to the parseBlendList() function's usage of built-in Python's eval() function when parsing TTX font data. An attacker can execute arbitrary scripts by supplying a specially crafted numeric value strings to TTX XML attributes.

Remediation

Upgrade fonttools to version 4.62.0 or higher.

References

high severity
new

Out-of-bounds Read

  • Vulnerable module: pillow
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 pillow@9.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read in the TGA RLE encoder process. An attacker can access sensitive heap data and potentially cause limited denial of service by crafting a specially designed image file.

Remediation

Upgrade pillow to version 12.3.0 or higher.

References

high severity

Eval Injection

  • Vulnerable module: pillow
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 pillow@9.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0

Overview

Affected versions of this package are vulnerable to Eval Injection via the PIL.ImageMath.eval function when an attacker has control over the keys passed to the environment argument.

PoC

from PIL import Image, ImageMath

image1 = Image.open('__class__')
image2 = Image.open('__bases__')
image3 = Image.open('__subclasses__')
image4 = Image.open('load_module')
image5 = Image.open('system')

expression = "().__class__.__bases__[0].__subclasses__()[104].load_module('os').system('whoami')"

environment = {
    image1.filename: image1,
    image2.filename: image2,
    image3.filename: image3,
    image4.filename: image4,
    image5.filename: image5
}

ImageMath.eval(expression, **environment)

Remediation

Upgrade pillow to version 10.2.0 or higher.

References

high severity

XML External Entity (XXE) Injection

  • Vulnerable module: fonttools
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 fonttools@4.38.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 fonttools@4.38.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 fonttools@4.38.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 fonttools@4.38.0

Overview

fonttools is a Tools to manipulate font files

Affected versions of this package are vulnerable to XML External Entity (XXE) Injection via the OT-SVG parser in the svg.py file.

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 fonttools to version 4.43.0 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: pillow
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 pillow@9.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) when using arbitrary strings as text input and the number of characters passed into PIL.ImageFont.ImageFont.getmask() is over a certain limit. This can lead to a system crash.

Details

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

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

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

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

Two common types of DoS vulnerabilities:

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

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

Remediation

Upgrade pillow to version 10.2.0 or higher.

References

high severity

Denial of Service (DoS)

  • Vulnerable module: pillow
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 pillow@9.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) if the size of individual glyphs extends beyond the bitmap image, when using PIL.ImageFont.ImageFont function. Exploiting this vulnerability could lead to a system crash.

Details

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

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

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

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

Two common types of DoS vulnerabilities:

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

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

Remediation

Upgrade pillow to version 10.2.0 or higher.

References

high severity

Uncontrolled Resource Consumption ('Resource Exhaustion')

  • Vulnerable module: pillow
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 pillow@9.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0

Overview

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') when the ImageFont truetype in an ImageDraw instance operates on a long text argument. An attacker can cause the service to crash by processing a task that uncontrollably allocates memory.

Remediation

Upgrade pillow to version 10.0.0 or higher.

References

high severity

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

  • Vulnerable module: setuptools
  • Introduced through: nolds@0.6.3 and tscfat@0.0.5

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat nolds@0.6.3 setuptools@40.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 nolds@0.6.3 setuptools@40.5.0

Overview

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

Note

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

Remediation

Upgrade setuptools to version 70.0.0 or higher.

References

medium severity

XML Injection

  • Vulnerable module: fonttools
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 fonttools@4.38.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 fonttools@4.38.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 fonttools@4.38.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 fonttools@4.38.0

Overview

fonttools is a Tools to manipulate font files

Affected versions of this package are vulnerable to XML Injection via the main() function in the fontTools/varLib/__init__.py file. An attacker can write files to the filesystem by supplying a specially crafted .designspace file.

Remediation

Upgrade fonttools to version 4.61.0 or higher.

References

medium severity

Infinite loop

  • Vulnerable module: pillow
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 pillow@9.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0

Overview

Affected versions of this package are vulnerable to Infinite loop in trailer handling in PIL/PdfParser.py. An attacker can cause the application to consume excessive CPU by supplying a malicious file that creates a cyclic reference in the trailer's Prev pointer.

Remediation

Upgrade pillow to version 12.2.0 or higher.

References

medium severity
new

Infinite loop

  • Vulnerable module: pillow
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 pillow@9.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0

Overview

Affected versions of this package are vulnerable to Infinite loop in the EPS file parsing process when handling the %%BeginBinary directive. An attacker can cause the application to enter an infinite loop by supplying a crafted EPS file with a negative byte count, resulting in resource exhaustion and denial of service.

Remediation

Upgrade pillow to version 12.3.0 or higher.

References

medium severity
new

Improper Handling of Unicode Encoding

  • Vulnerable module: setuptools
  • Introduced through: nolds@0.6.3 and tscfat@0.0.5

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat nolds@0.6.3 setuptools@40.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 nolds@0.6.3 setuptools@40.5.0

Overview

Affected versions of this package are vulnerable to Improper Handling of Unicode Encoding in the process that applies exclusion directives from MANIFEST.in due to improper Unicode normalization handling on macOS APFS or HFS+ filesystems. An attacker can cause unintended files to be included in a source distribution by creating filenames that exploit normalization collisions.

Remediation

Upgrade setuptools to version 83.0.0 or higher.

References

medium severity

Infinite loop

  • Vulnerable module: zipp
  • Introduced through: pytest@7.4.4 and tscfat@0.0.5

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat pytest@7.4.4 importlib-metadata@6.7.0 zipp@3.15.0
    Remediation: Upgrade to pytest@7.4.4.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat 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: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 pytest@7.4.4 importlib-metadata@6.7.0 zipp@3.15.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 pytest@7.4.4 pluggy@1.2.0 importlib-metadata@6.7.0 zipp@3.15.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

Directory Traversal

  • Vulnerable module: setuptools
  • Introduced through: nolds@0.6.3 and tscfat@0.0.5

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat nolds@0.6.3 setuptools@40.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 nolds@0.6.3 setuptools@40.5.0

Overview

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

PoC

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

Details

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

Directory Traversal vulnerabilities can be generally divided into two types:

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

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

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

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

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

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

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

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

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

Remediation

Upgrade setuptools to version 78.1.1 or higher.

References

medium severity

Buffer Overflow

  • Vulnerable module: pillow
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 pillow@9.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0

Overview

Affected versions of this package are vulnerable to Buffer Overflow via the strcpy function in _imagingcms.c, due to two calls that were able to copy too much data into fixed length strings.

Remediation

Upgrade pillow to version 10.3.0 or higher.

References

medium severity

Regular Expression Denial of Service (ReDoS)

  • Vulnerable module: setuptools
  • Introduced through: nolds@0.6.3 and tscfat@0.0.5

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat nolds@0.6.3 setuptools@40.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 nolds@0.6.3 setuptools@40.5.0

Overview

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

Note:

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

Details

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

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

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

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

This regular expression accomplishes the following:

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

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

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

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

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

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

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

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

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

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

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

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

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

Remediation

Upgrade setuptools to version 65.5.1 or higher.

References

medium severity

Storage of Sensitive Data in a Mechanism without Access Control

  • Vulnerable module: scikit-learn
  • Introduced through: scikit-learn@1.0.2, tslearn@0.6.4 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat scikit-learn@1.0.2
    Remediation: Upgrade to scikit-learn@1.5.0.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tslearn@0.6.4 scikit-learn@1.0.2
    Remediation: Upgrade to tslearn@0.6.4.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 tslearn@0.6.4 scikit-learn@1.0.2

Overview

scikit-learn is a Python module for machine learning built on top of SciPy and is distributed under the 3-Clause BSD license.

Affected versions of this package are vulnerable to Storage of Sensitive Data in a Mechanism without Access Control due to the unexpected storage of all tokens present in the training data within the stop_words_ attribute. An attacker can access sensitive information, such as passwords or keys, by exploiting this behavior.

PoC

Limiting vocabulary is a very common setting hence provided by the library. The expected behaviour is that the object stores the frequent tokens, and discards the rest after the fitting process. In theory and practice, the vectorizer only needs the vocabulary and the rest of the possible tokens will be simply non needed, hence should be discarded.

While the object correctly forms the required vocabulary, it stores the rest of the tokens in the `stop_words_ attribute. Therefore stores the entire unique tokens that have been passed in the fitting operation. Below it's demonstrated this:

# ╰─$ pip freeze | grep pandas
# pandas==2.2.1
import pandas as pd
# ╰─$ pip freeze | grep scikit-learn
# scikit-learn==1.4.1.post1
from sklearn.feature_extraction.text import TfidfVectorizer

if __name__ == '__main__':
    # Fitting the vectorizer will save every token presented
    vectorizer = TfidfVectorizer(
        max_features=2,
        # min_df=2/6  # Same results occur with different ways of limiting the vocabulary
    ).fit(
        pd.Series([
            "hello", "world", "hello", "world", "secretkey", "password123"
        ])
    )
    # Expected storage for frequent tokens
    print(vectorizer.vocabulary_)  # {'hello': 0, 'server': 1}
    # Unexpected data leak
    print(vectorizer.stop_words_)  # {'password123', 'secretkey'}

It is demonstrated below that the storage in the stop_words_ attribute is unnecessary. Nullifying the attribute will give the same results:

# ╰─$ pip freeze | grep pandas
# pandas==2.2.1
import pandas as pd
# ╰─$ pip freeze | grep scikit-learn
# scikit-learn==1.4.1.post1
from sklearn.feature_extraction.text import TfidfVectorizer

if __name__ == '__main__':
    # Fitting the vectorizer will save every token presented
    vectorizer = TfidfVectorizer(
        max_features=2,
        # min_df=2/6  # Same results occur with different ways of limiting the vocabulary
    ).fit(
        pd.Series([
            "hello", "world", "hello", "world", "secretkey", "password123"
        ])
    )
    # Expected storage for frequent tokens
    print(vectorizer.vocabulary_)  # {'hello': 0, 'server': 1}
    # Unexpected data leak
    print(vectorizer.stop_words_)  # {'password123', 'secretkey'}

    # Wiping-out the stop_words_ attribute does not change the behaviour
    print(vectorizer.transform(["hello world"]).toarray())  # [[0.70710678 0.70710678]]
    vectorizer.stop_words_ = None
    assert vectorizer.stop_words_ is None
    print(vectorizer.transform(["hello world"]).toarray())  # [[0.70710678 0.70710678]]

Remediation

Upgrade scikit-learn to version 1.5.0 or higher.

References

medium severity

Integer Overflow or Wraparound

  • Vulnerable module: pillow
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 pillow@9.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. An attacker can cause unexpected behavior by supplying a font where each glyph advances by an excessively large amount.

Remediation

Upgrade pillow to version 12.2.0 or higher.

References

low severity

Buffer Overflow

  • Vulnerable module: numpy
  • Introduced through: numpy@1.21.3, matplotlib@3.5.3 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat numpy@1.21.3
    Remediation: Upgrade to numpy@1.22.0.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 numpy@1.21.3
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat nolds@0.6.3 numpy@1.21.3
    Remediation: Upgrade to nolds@0.6.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat pandas@1.3.5 numpy@1.21.3
    Remediation: Upgrade to pandas@2.1.0.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat scikit-learn@1.0.2 numpy@1.21.3
    Remediation: Upgrade to scikit-learn@1.3.1.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 numpy@1.21.3
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat statsmodels@0.13.5 numpy@1.21.3
    Remediation: Upgrade to statsmodels@0.14.1.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tslearn@0.6.4 numpy@1.21.3
    Remediation: Upgrade to tslearn@0.6.4.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 numpy@1.21.3
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 nolds@0.6.3 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 pandas@1.3.5 numpy@1.21.3
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat statsmodels@0.13.5 pandas@1.3.5 numpy@1.21.3
    Remediation: Upgrade to statsmodels@0.14.1.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 pandas@1.3.5 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tslearn@0.6.4 scikit-learn@1.0.2 numpy@1.21.3
    Remediation: Upgrade to tslearn@0.6.4.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat statsmodels@0.13.5 patsy@1.0.2 numpy@1.21.3
    Remediation: Upgrade to statsmodels@0.14.1.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 statsmodels@0.13.5 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 tslearn@0.6.4 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 pandas@1.3.5 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 statsmodels@0.13.5 pandas@1.3.5 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 tslearn@0.6.4 scikit-learn@1.0.2 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 statsmodels@0.13.5 patsy@1.0.2 numpy@1.21.3

Overview

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

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

Remediation

Upgrade numpy to version 1.22.0 or higher.

References

low severity

Denial of Service (DoS)

  • Vulnerable module: numpy
  • Introduced through: numpy@1.21.3, matplotlib@3.5.3 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat numpy@1.21.3
    Remediation: Upgrade to numpy@1.22.0.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 numpy@1.21.3
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat nolds@0.6.3 numpy@1.21.3
    Remediation: Upgrade to nolds@0.6.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat pandas@1.3.5 numpy@1.21.3
    Remediation: Upgrade to pandas@2.1.0.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat scikit-learn@1.0.2 numpy@1.21.3
    Remediation: Upgrade to scikit-learn@1.3.1.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 numpy@1.21.3
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat statsmodels@0.13.5 numpy@1.21.3
    Remediation: Upgrade to statsmodels@0.14.1.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tslearn@0.6.4 numpy@1.21.3
    Remediation: Upgrade to tslearn@0.6.4.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 numpy@1.21.3
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 nolds@0.6.3 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 pandas@1.3.5 numpy@1.21.3
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat statsmodels@0.13.5 pandas@1.3.5 numpy@1.21.3
    Remediation: Upgrade to statsmodels@0.14.1.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 pandas@1.3.5 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tslearn@0.6.4 scikit-learn@1.0.2 numpy@1.21.3
    Remediation: Upgrade to tslearn@0.6.4.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat statsmodels@0.13.5 patsy@1.0.2 numpy@1.21.3
    Remediation: Upgrade to statsmodels@0.14.1.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 statsmodels@0.13.5 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 tslearn@0.6.4 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 pandas@1.3.5 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 statsmodels@0.13.5 pandas@1.3.5 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 tslearn@0.6.4 scikit-learn@1.0.2 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 statsmodels@0.13.5 patsy@1.0.2 numpy@1.21.3

Overview

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

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

Details

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

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

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

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

Two common types of DoS vulnerabilities:

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

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

Remediation

Upgrade numpy to version 1.22.0rc1 or higher.

References

low severity

NULL Pointer Dereference

  • Vulnerable module: numpy
  • Introduced through: numpy@1.21.3, matplotlib@3.5.3 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat numpy@1.21.3
    Remediation: Upgrade to numpy@1.22.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 numpy@1.21.3
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat nolds@0.6.3 numpy@1.21.3
    Remediation: Upgrade to nolds@0.6.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat pandas@1.3.5 numpy@1.21.3
    Remediation: Upgrade to pandas@2.1.0.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat scikit-learn@1.0.2 numpy@1.21.3
    Remediation: Upgrade to scikit-learn@1.3.1.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 numpy@1.21.3
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat statsmodels@0.13.5 numpy@1.21.3
    Remediation: Upgrade to statsmodels@0.14.1.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tslearn@0.6.4 numpy@1.21.3
    Remediation: Upgrade to tslearn@0.6.4.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 numpy@1.21.3
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 nolds@0.6.3 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 pandas@1.3.5 numpy@1.21.3
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat statsmodels@0.13.5 pandas@1.3.5 numpy@1.21.3
    Remediation: Upgrade to statsmodels@0.14.1.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 pandas@1.3.5 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tslearn@0.6.4 scikit-learn@1.0.2 numpy@1.21.3
    Remediation: Upgrade to tslearn@0.6.4.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat statsmodels@0.13.5 patsy@1.0.2 numpy@1.21.3
    Remediation: Upgrade to statsmodels@0.14.1.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 statsmodels@0.13.5 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 tslearn@0.6.4 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 pandas@1.3.5 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 statsmodels@0.13.5 pandas@1.3.5 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 tslearn@0.6.4 scikit-learn@1.0.2 numpy@1.21.3
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 statsmodels@0.13.5 patsy@1.0.2 numpy@1.21.3

Overview

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

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

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

Remediation

Upgrade numpy to version 1.22.2 or higher.

References

low severity
new

Command Injection

  • Vulnerable module: pillow
  • Introduced through: matplotlib@3.5.3, seaborn@0.12.2 and others

Detailed paths

  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to matplotlib@3.5.3.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0
    Remediation: Upgrade to seaborn@0.12.2.
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 matplotlib@3.5.3 pillow@9.5.0
  • Introduced through: ArgonSilicon/tscfat@ArgonSilicon/tscfat tscfat@0.0.5 seaborn@0.12.2 matplotlib@3.5.3 pillow@9.5.0

Overview

Affected versions of this package are vulnerable to Command Injection via the get_command function. An attacker can execute arbitrary commands by supplying a file path containing shell metacharacters.

Remediation

Upgrade pillow to version 12.3.0 or higher.

References