CVE-2022-25760
CVSS V2 High 10
CVSS V3 Critical 9.8
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.
Overview
- CVE ID
- CVE-2022-25760
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2022-03-17T12:15:08
- Last Modified Date
- 2022-03-23T18:40:44
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:accesslog_project:accesslog:*:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:C/I:C/A:C
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- COMPLETE
- Integrity Impact
- COMPLETE
- Availability Impact
- COMPLETE
- Base Score
- 10
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 10
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://snyk.io/vuln/SNYK-JS-ACCESSLOG-2312099 | Exploit Third Party Advisory |
https://github.com/carlos8f/node-accesslog/blob/master/lib/compile.js%23L6 | Broken Link |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-25760 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25760 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-04-04 00:42:38 | Added to TrackCVE | |||
2022-12-06 12:41:26 | 2022-03-17T12:15Z | 2022-03-17T12:15:08 | CVE Published Date | updated |
2022-12-06 12:41:26 | 2022-03-23T18:40:44 | CVE Modified Date | updated | |
2022-12-06 12:41:26 | Analyzed | Vulnerability Status | updated |