Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. dolibarr/dolibarr
  4. ›
  5. CVE-2024-37821

CVE-2024-37821: Dolibarr arbitrary file upload vulnerability

June 18, 2024

An arbitrary file upload vulnerability in the Upload Template function of Dolibarr ERP CRM up to v19.0.1 allows attackers to execute arbitrary code via uploading a crafted .SQL file.

References

  • github.com/Dolibarr/dolibarr
  • github.com/advisories/GHSA-p7r8-7w87-8g46
  • github.com/alexbsec/CVEs/blob/master/2024/CVE-2024-37821.md
  • nvd.nist.gov/vuln/detail/CVE-2024-37821

Code Behaviors & Features

Detect and mitigate CVE-2024-37821 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 19.0.2

Fixed versions

  • 19.0.2

Solution

Upgrade to version 19.0.2 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

packagist/dolibarr/dolibarr/CVE-2024-37821.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:30 +0000.