GHSA-m8jx-mxf9-2rpw
NukeViet SQL Injection vulnerability
Quick fix
GHSA-m8jx-mxf9-2rpw — nukeviet/nukeviet: upgrade to the fixed version with the command below.
composer require nukeviet/nukeviet:^4.0.29Details
SQL Injection vulnerability in NukeViet CMS module Shops 4.0.29 and 4.3 via the (1) listid parameter in detail.php and the (2) group_price or groupid parameters in search_result.php.
### Fix Implementation: Download the update package corresponding to the NukeViet version you are using, extract and upload to hosting according to NukeViet's structure: For NukeViet 4.0 Official (4.0.29) For NukeViet 4.1 Official (4.1.02) For NukeViet 4.2 (4.2.01) As for NukeViet 4.3, you can update according to the notice in the admin page or see here: https://nukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4- 3-08-613.html
Are you affected?
Enter the version of the package you're using.
Affected packages
4.0Fixed in: 4.0.29composer require nukeviet/nukeviet:^4.0.294.1Fixed in: 4.1.02composer require nukeviet/nukeviet:^4.1.024.2Fixed in: 4.2.01composer require nukeviet/nukeviet:^4.2.01No fixed version published yet for nukeviet/nukeviet (composer). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-21809[ADVISORY]
- https://github.com/nukeviet/module-shops/commit/742c0e0f74364f7250c2a69f0a957d4e6317be68[WEB]
- https://github.com/nukeviet/nukeviet[PACKAGE]
- https://nukeviet.vn/vi/news/Tin-an-ninh/huong-dan-fix-loi-bao-mat-nukeviet-4-va-module-shops-612.html[WEB]
- https://whitehub.net/submissions/1517[WEB]
- https://whitehub.net/submissions/1518[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/nukeviet/nukeviet"]}'