RCE in Accesslog Project
CVE-2022-25760
- CVSS v3
- 7.1 High
- Public exploits
- None known
- EPSS
- 0.016 · 77.0th percentile
- Published
- 2022-03-17
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.016, 77.0th percentile (last changed ); unchanged over 30 days. About EPSS.
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)