Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. laravel/laravel
  4. ›
  5. CVE-2021-43503

CVE-2021-43503: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

April 9, 2022 (updated April 12, 2022)

A Remote Code Execution (RCE) vulnerability exists in h laravel 5.8.38 via an unserialize pop chain in (1) __destruct in \Routing\PendingResourceRegistration.php, (2) __cal in Queue\Capsule\Manager.php, and (3) __invoke in mockery\library\Mockery\ClosureWrapper.php.

References

  • github.com/advisories/GHSA-86r3-4gq8-xw8q
  • github.com/guoyanan1g/Laravel-vul/issues/2
  • nvd.nist.gov/vuln/detail/CVE-2021-43503

Code Behaviors & Features

Detect and mitigate CVE-2021-43503 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 up to 5.8.38

Solution

Unfortunately, there is no solution available yet.

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

packagist/laravel/laravel/CVE-2021-43503.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:28 +0000.