Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. io.github.robothy/local-s3-rest
  4. ›
  5. GHSA-v232-254c-m6p7

GHSA-v232-254c-m6p7: LocalS3 Project Vulnerable to XML External Entity (XXE) Injection via Bucket Tagging API

March 10, 2025

The LocalS3 project, an S3-compatible storage service, is vulnerable to XML External Entity (XXE) injection through its bucket tagging API. The vulnerability exists because the application processes XML input without properly disabling external entity resolution.

When processing XML data for bucket tagging operations, the application allows the definition and resolution of external entities. This vulnerability allows an attacker to read arbitrary files from the server’s filesystem by defining an external entity that references local files.

The vulnerability is particularly severe because it allows direct access to sensitive files on the server’s filesystem, bypassing any intended access controls. The XXE vulnerability can be exploited to read any file that the application process has access to, potentially exposing sensitive configuration files, credentials, or other confidential information.

References

  • github.com/Robothy/local-s3
  • github.com/Robothy/local-s3/commit/d6ed756ceb30c1eb9d4263321ac683d734f8836f
  • github.com/Robothy/local-s3/security/advisories/GHSA-v232-254c-m6p7
  • github.com/advisories/GHSA-v232-254c-m6p7

Code Behaviors & Features

Detect and mitigate GHSA-v232-254c-m6p7 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 1.21

Fixed versions

  • 1.21

Solution

Upgrade to version 1.21 or above.

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference

Source file

maven/io.github.robothy/local-s3-rest/GHSA-v232-254c-m6p7.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:00 +0000.