Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. S3Scanner
  4. ›
  5. CVE-2021-32061

CVE-2021-32061: S3Scanner allows Directory Traversal

November 30, 2021 (updated October 26, 2024)

S3Scanner before 2.0.2 allows Directory Traversal via a crafted bucket, as demonstrated by a <Key>../ substring in a ListBucketResult element.

References

  • github.com/advisories/GHSA-qppg-v75c-r5ff
  • github.com/pypa/advisory-database/tree/main/vulns/s3scanner/PYSEC-2021-433.yaml
  • github.com/sa7mon/S3Scanner
  • github.com/sa7mon/S3Scanner/commit/fafa30a3bd35b496b3f7db9bfc35b75a8a06bcd1
  • github.com/sa7mon/S3Scanner/issues/122
  • github.com/sa7mon/S3Scanner/releases/tag/2.0.2
  • nvd.nist.gov/vuln/detail/CVE-2021-32061
  • vuln.ryotak.me/advisories/62

Code Behaviors & Features

Detect and mitigate CVE-2021-32061 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.0.2

Fixed versions

  • 2.0.2

Solution

Upgrade to version 2.0.2 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/S3Scanner/CVE-2021-32061.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:07 +0000.