Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. october/system
  4. ›
  5. CVE-2022-24800

CVE-2022-24800: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

July 13, 2022 (updated July 21, 2022)

October/System is the system module for October CMS, a self-hosted CMS platform based on the Laravel PHP Framework. Prior to versions 1.0.476, 1.1.12, and 2.2.15, when the developer allows the user to specify their own filename in the fromData method, an unauthenticated user can perform remote code execution (RCE) by exploiting a race condition in the temporary storage directory. This vulnerability affects plugins that expose the October\Rain\Database\Attach\File::fromData as a public interface and does not affect vanilla installations of October CMS since this method is not exposed or used by the system internally or externally. The issue has been patched in Build 476 (v1.0.476), v1.1.12, and v2.2.15. Those who are unable to upgrade may apply with patch to their installation manually as a workaround.

References

  • github.com/advisories/GHSA-8v7h-cpc2-r8jp
  • github.com/octobercms/library/commit/fe569f3babf3f593be2b1e0a4ae0283506127a83
  • github.com/octobercms/october/security/advisories/GHSA-8v7h-cpc2-r8jp
  • nvd.nist.gov/vuln/detail/CVE-2022-24800

Code Behaviors & Features

Detect and mitigate CVE-2022-24800 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.0.476, all versions starting from 1.1.0 before 1.1.12, all versions starting from 2.0.0 before 2.2.15

Fixed versions

  • 1.0.476
  • 1.1.12
  • 2.2.15

Solution

Upgrade to versions 1.0.476, 1.1.12, 2.2.15 or above.

Impact 8.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

packagist/october/system/CVE-2022-24800.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:15 +0000.