gitsafehub
github.com/xinshengwang/pggan-pytorch ↗

xinshengwang/pggan-pytorch

scanned 2026-08-13 · git dab2ec7
3 of 6 checks flagged a security issue
🔴 Needs attention
Only 5 of 6 checks finished — treat this as provisional. Re-check ↻

Informational scan, not a security audit. How this is computed.

Leaked secretsVulnerable dependencies61Known OSS vulnerabilities84Risky code patternsMalicious dependencies1Project health

Security checks

Leaked secrets — Gitleaks none found ✓

API keys, passwords or tokens committed into the repo.

Nothing found by this check. ✓

via Gitleaks v8.21.2 · MIT

Vulnerable dependencies — Trivy 61 found · 11 serious

Packages you depend on that have known security holes (CVEs).

  • Serious CVE-2020-11538 python-pillow: out-of-bounds reads/writes in the parsing of SGI image files in expandrow/expandrow2
    requirements.txt
    A package you depend on has a known security hole (CVE-2020-11538). Fix: Update that package to its patched version.
  • Serious CVE-2020-5310 python-pillow: Integer overflow leading to buffer overflow in ImagingLibTiffDecode
    requirements.txt
    A package you depend on has a known security hole (CVE-2020-5310). Fix: Update that package to its patched version.
  • Serious CVE-2020-5311 python-pillow: out-of-bounds write in expandrow in libImaging/SgiRleDecode.c
    requirements.txt
    A package you depend on has a known security hole (CVE-2020-5311). Fix: Update that package to its patched version.
  • Serious CVE-2020-5312 python-pillow: improperly restricted operations on memory buffer in libImaging/PcxDecode.c
    requirements.txt
    A package you depend on has a known security hole (CVE-2020-5312). Fix: Update that package to its patched version.
  • Serious CVE-2021-25289 python-pillow: insufficent fix for CVE-2020-35654 due to incorrect error checking in TiffDecode.c
    requirements.txt
    A package you depend on has a known security hole (CVE-2021-25289). Fix: Update that package to its patched version.
  • Serious CVE-2021-34552 python-pillow: Buffer overflow in image convert function
    requirements.txt
    A package you depend on has a known security hole (CVE-2021-34552). Fix: Update that package to its patched version.
  • Serious CVE-2022-22817 python-pillow: PIL.ImageMath.eval allows evaluation of arbitrary expressions
    requirements.txt
    A package you depend on has a known security hole (CVE-2022-22817). Fix: Update that package to its patched version.
  • Serious CVE-2023-50447 pillow: Arbitrary Code Execution via the environment parameter
    requirements.txt
    A package you depend on has a known security hole (CVE-2023-50447). Fix: Update that package to its patched version.
  • Serious CVE-2019-6446 numpy: crafted serialized object passed in numpy.load() in pickle python module allows arbitrary code execution
    requirements.txt
    A package you depend on has a known security hole (CVE-2019-6446). Fix: Update that package to its patched version.
  • Serious CVE-2022-45907 In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line c ...
    requirements.txt
    A package you depend on has a known security hole (CVE-2022-45907). Fix: Update that package to its patched version.
  • Serious CVE-2025-32434 PyTorch is a Python package that provides tensor computation with stro ...
    requirements.txt
    A package you depend on has a known security hole (CVE-2025-32434). Fix: Update that package to its patched version.
  • Worth fixing CVE-2019-16865 python-pillow: reading specially crafted image files leads to allocation of large amounts of memory and denial of service
    requirements.txt
    A package you depend on has a known security hole (CVE-2019-16865). Fix: Update that package to its patched version.
  • Worth fixing CVE-2019-19911 python-pillow: uncontrolled resource consumption in FpxImagePlugin.py
    requirements.txt
    A package you depend on has a known security hole (CVE-2019-19911). Fix: Update that package to its patched version.
  • Worth fixing CVE-2020-10177 python-pillow: multiple out-of-bounds reads in libImaging/FliDecode.c
    requirements.txt
    A package you depend on has a known security hole (CVE-2020-10177). Fix: Update that package to its patched version.
  • Worth fixing CVE-2020-10378 python-pillow: an out-of-bounds read in libImaging/PcxDecode.c can occur when reading PCX files
    requirements.txt
    A package you depend on has a known security hole (CVE-2020-10378). Fix: Update that package to its patched version.
  • Worth fixing CVE-2020-10379 python-pillow: two buffer overflows in libImaging/TiffDecode.c due to small buffers allocated in ImagingLibTiffDecode()
    requirements.txt
    A package you depend on has a known security hole (CVE-2020-10379). Fix: Update that package to its patched version.
  • Worth fixing CVE-2020-10994 python-pillow: multiple out-of-bounds reads via a crafted JP2 file
    requirements.txt
    A package you depend on has a known security hole (CVE-2020-10994). Fix: Update that package to its patched version.
  • Worth fixing CVE-2020-35653 python-pillow: Buffer over-read in PCX image reader
    requirements.txt
    A package you depend on has a known security hole (CVE-2020-35653). Fix: Update that package to its patched version.
  • Worth fixing CVE-2020-35654 python-pillow: decoding crafted YCbCr files could result in heap-based buffer overflow
    requirements.txt
    A package you depend on has a known security hole (CVE-2020-35654). Fix: Update that package to its patched version.
  • Worth fixing CVE-2020-5313 python-pillow: out-of-bounds read in ImagingFliDecode when loading FLI images
    requirements.txt
    A package you depend on has a known security hole (CVE-2020-5313). Fix: Update that package to its patched version.
  • Worth fixing CVE-2021-25287 python-pillow: Out-of-bounds read in J2K image reader
    requirements.txt
    A package you depend on has a known security hole (CVE-2021-25287). Fix: Update that package to its patched version.
  • Worth fixing CVE-2021-25288 python-pillow: Out-of-bounds read in J2K image reader
    requirements.txt
    A package you depend on has a known security hole (CVE-2021-25288). Fix: Update that package to its patched version.
  • Worth fixing CVE-2021-25290 python-pillow: Negative-offset memcpy in TIFF image reader
    requirements.txt
    A package you depend on has a known security hole (CVE-2021-25290). Fix: Update that package to its patched version.
  • Worth fixing CVE-2021-25291 python-pillow: out-of-bounds read in TiffReadRGBATile in TiffDecode.c
    requirements.txt
    A package you depend on has a known security hole (CVE-2021-25291). Fix: Update that package to its patched version.
  • Worth fixing CVE-2021-27921 python-pillow: Excessive memory allocation in BLP image reader
    requirements.txt
    A package you depend on has a known security hole (CVE-2021-27921). Fix: Update that package to its patched version.
… 36 more not shown

via Trivy v0.70.0 · Apache-2.0

Known OSS vulnerabilities — OSV-Scanner 84 found · 15 serious

Your dependencies cross-checked against the OSV vulnerability database.

  • Serious PYSEC-2020-80 In libImaging/SgiRleDecode.c in Pillow through 7.0.0, a number of out-of-bounds reads exist in the parsing of SGI image files, a different issue than CVE-2020-5311.
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2020-11538). Fix: Update that package to its patched version.
  • Serious PYSEC-2020-81 libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2020-5310). Fix: Update that package to its patched version.
  • Serious PYSEC-2020-82 libImaging/SgiRleDecode.c in Pillow before 6.2.2 has an SGI buffer overflow.
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2020-5311). Fix: Update that package to its patched version.
  • Serious PYSEC-2020-83 libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2020-5312). Fix: Update that package to its patched version.
  • Serious PYSEC-2021-137 An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2021-25287). Fix: Update that package to its patched version.
  • Serious PYSEC-2021-138 An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_gray_i.
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2021-25288). Fix: Update that package to its patched version.
  • Serious PYSEC-2021-331 Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2021-34552). Fix: Update that package to its patched version.
  • Serious PYSEC-2021-35 An issue was discovered in Pillow before 8.1.1. TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode. NOT
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2021-25289). Fix: Update that package to its patched version.
  • Serious PYSEC-2022-10 PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method.
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2022-22817). Fix: Update that package to its patched version.
  • Serious PYSEC-2022-168 Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2022-24303). Fix: Update that package to its patched version.
  • Serious PYSEC-2026-457 Arbitrary Code Execution in Pillow
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2023-50447). Fix: Update that package to its patched version.
  • Serious PYSEC-2019-108 ** DISPUTED ** An issue was discovered in NumPy 1.16.0 and earlier. It uses the pickle Python module unsafely, which allows remote attackers to execute arbitrary code via a crafted serialized object
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2019-6446). Fix: Update that package to its patched version.
  • Serious PYSEC-2022-43015 In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2022-45907). Fix: Update that package to its patched version.
  • Serious PYSEC-2024-259 In PyTorch <=2.4.1, the RemoteModule has Deserialization RCE. NOTE: this is disputed by multiple parties because this is intended behavior in PyTorch distributed computing.
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2024-48063). Fix: Update that package to its patched version.
  • Serious PYSEC-2025-41 PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built on a tape-based autograd system. In version 2.5.1 and prior, a Remote Command E
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2025-32434). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2019-110 An issue was discovered in Pillow before 6.2.0. When reading specially crafted invalid image files, the library can either allocate very large amounts of memory or take an extremely long period of tim
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2019-16865). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2020-172 There is a DoS vulnerability in Pillow before 6.2.2 caused by FpxImagePlugin.py calling the range function on an unvalidated 32-bit integer if the number of bands is large. On Windows running 32-bit P
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2019-19911). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2020-76 Pillow before 7.1.0 has multiple out-of-bounds reads in libImaging/FliDecode.c.
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2020-10177). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2020-77 In libImaging/PcxDecode.c in Pillow before 7.1.0, an out-of-bounds read can occur when reading PCX files where state->shuffle is instructed to read beyond state->buffer.
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2020-10378). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2020-78 In Pillow before 7.1.0, there are two Buffer Overflows in libImaging/TiffDecode.c.
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2020-10379). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2020-79 In libImaging/Jpeg2KDecode.c in Pillow before 7.1.0, there are multiple out-of-bounds reads via a crafted JP2 file.
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2020-10994). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2020-84 libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow.
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2020-5313). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2021-139 An issue was discovered in Pillow before 8.2.0. PSDImagePlugin.PsdImageFile lacked a sanity check on the number of input layers relative to the size of the data block. This could lead to a DoS on Imag
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2021-28675). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2021-36 An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is a negative-offset memcpy with an invalid size.
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2021-25290). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2021-37 An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is an out-of-bounds read in TiffreadRGBATile via invalid tile boundaries.
    /workdirs/scan-e9033762-e57b-4c7f-8eec-9427d996b714/requirements.txt
    A package you depend on has a known security hole (CVE-2021-25291). Fix: Update that package to its patched version.
… 59 more not shown

via OSV-Scanner v1.9.2 · Apache-2.0

Risky code patterns — Semgrep none found ✓

Code that can be exploited: injection, hardcoded credentials and similar.

Nothing found by this check. ✓

via Semgrep v1.147.0 · LGPL-2.1

Malicious dependencies — Guarddog 1 found · 1 serious

Packages that look intentionally malicious: typosquats, sneaky install scripts.

  • Serious guarddog-pypi-code-execution code-execution match in scipy 0.19.0
    scipy
    A dependency shows signs of being intentionally malicious (typosquat, hidden install script, etc.). Fix: Don’t install it until you’ve verified the package. Consider removing it.

via Guarddog v2.10.0 · Apache-2.0

Project health

A signal about how the project is maintained — not a vulnerability in your code. It doesn’t affect the verdict above.

Project health — OpenSSF Scorecard didn’t run

Maintenance & supply-chain hygiene. A signal about the project, not a vulnerability in your code.

This check didn’t finish — that’s not the same as “clean.” Try Check again above.

via OpenSSF Scorecard · Apache-2.0

About these results. Six open-source checks ran in parallel; every finding is tagged with the tool that produced it. The verdict follows a published rule. False positives and false negatives are normal — a clean scan does not mean the code is secure, and a red verdict does not mean the project is compromised.