CVE-2024-21518 in the critical feed json
Zip slip in opencart
published 2024-06-22 2 y ago modified 2026-09-10 1 mo ago also BIT-opencart-2024-21518 , EUVD-2024-2100 , GHSA-m7r8-2r98-vppj
- cvss
- 7.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 14.1%
- EPSS 14.1% chance of exploitation in 30 days, percentile 96%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
14.13% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- security.snyk.io https://security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266578 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P |
| GitHub | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | opencart/opencart | >=4.0.0.0 |
no fix listed |
| bitnami | opencart | >=4.0.0-0 |
no fix listed |
Affected products
- n/a opencart/opencart
- opencart opencart
Classification
References
-
github.com
/opencart/opencart/blob/04c1724370ab02967d3b4f668c1b67771ecf1ff4/upload/admin/controller/marketplace/installer
web, patch
-
security.snyk.io
/vuln/SNYK-PHP-OPENCARTOPENCART-7266578
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-21518
advisory, web
-
github.com
/opencart/opencart
package
Sources
- CVE List CVE-2024-21518
- GitHub Advisory GHSA-m7r8-2r98-vppj
- NVD CVE-2024-21518
- OSV BIT-opencart-2024-21518
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.