CVE-2022-25760
Summary
| CVE | CVE-2022-25760 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-03-17 12:15:00 UTC |
| Updated | 2022-03-23 18:40:00 UTC |
| Description | All versions of package accesslog are vulnerable to Arbitrary Code Injection due to the usage of the Function constructor without input sanitization. If (attacker-controlled) user input is given to the format option of the package's exported constructor function, it is possible for an attacker to execute arbitrary JavaScript code on the host that this package is being run on. |
Risk And Classification
Problem Types: CWE-94
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Accesslog Project | Accesslog | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/carlos8f/node-accesslog/blob/master/lib/compile.js%23L6 | MISC | github.com | |
| Arbitrary Code Injection in accesslog | CVE-2022-25760 | Snyk | MISC | snyk.io | |
| node-accesslog/compile.js at master · carlos8f/node-accesslog · GitHub | MITRE | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: OmniTaint
There are currently no legacy QID mappings associated with this CVE.