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

CVE-2024-29800: timber/timber vulnerable to Deserialization of Untrusted Data

April 12, 2024

Timber is vulnerable to PHAR deserialization due to a lack of checking the input before passing it into the file_exists() function. If an attacker can upload files of any type to the server, he can pass in the phar:// protocol to unserialize the uploaded file and instantiate arbitrary PHP objects. This can lead to remote code execution especially when Timber is used with frameworks with documented POP chains like Wordpress/ vulnerable developer code.

References

  • github.com/advisories/GHSA-6363-v5m4-fvq3
  • github.com/timber/timber
  • github.com/timber/timber/commit/13c6b0f60346304f2eed4da1e0bb51566518de4a
  • github.com/timber/timber/security/advisories/GHSA-6363-v5m4-fvq3
  • nvd.nist.gov/vuln/detail/CVE-2024-29800

Code Behaviors & Features

Detect and mitigate CVE-2024-29800 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.1.0

Fixed versions

  • 2.1.0

Solution

Upgrade to version 2.1.0 or above.

Impact 8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data
  • CWE-73: External Control of File Name or Path

Source file

packagist/timber/timber/CVE-2024-29800.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:36 +0000.