7.2
CWE
22 29 290
Advisory Published
Advisory Published
Updated

CVE-2024-21518: Path Traversal

First published: Sat Jun 22 2024(Updated: )

This affects versions of the package opencart/opencart from 4.0.0.0. A Zip Slip issue was identified via the marketplace installer due to improper sanitization of the target path, allowing files within a malicious archive to traverse the filesystem and be extracted to arbitrary locations. An attacker can create arbitrary files in the web root of the application and overwrite other existing files by exploiting this vulnerability.

Credit: report@snyk.io report@snyk.io

Affected SoftwareAffected VersionHow to fix
composer/opencart/opencart>=4.0.0.0
OpenCart>=4.0.0.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-21518?

    CVE-2024-21518 is classified as a high-severity vulnerability due to its potential for arbitrary file extraction.

  • How do I fix CVE-2024-21518?

    To fix CVE-2024-21518, upgrade to a version of OpenCart that is not affected by this vulnerability.

  • What versions are affected by CVE-2024-21518?

    CVE-2024-21518 affects all versions of OpenCart starting from 4.0.0.0.

  • What is a Zip Slip vulnerability in CVE-2024-21518?

    A Zip Slip vulnerability allows a malicious zip file to extract files to arbitrary locations in the file system.

  • Where can I find more information about CVE-2024-21518?

    For more information about CVE-2024-21518, check security advisories and databases related to OpenCart.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203