RCE in Accesslog Project
CVE-2022-25760
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L.
EPSS exploit prediction
EPSS: 0.016 (75.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 76th percentile — 75.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.016 · newest: 0.016 · change: 0.000
Affected products
- Accesslog Project
- Accesslog — versions 0
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-JS-ACCESSLOG-2312099 (Exploit, Third Party Advisory)
- github.com/carlos8f/node-accesslog/blob/master/lib/compile.js#L6 (Broken Link)
Frequently asked questions
- What is CVE-2022-25760?
- CVE-2022-25760 is a high-severity vulnerability in Accesslog Project, classified under Code Injection. CVSS score: 7.1/10. Published 2022-03-17.
- How severe is CVE-2022-25760?
- High severity. CVSS v3 base score is 7.1 out of 10.