CVE-2021-23439
CVSS V2 Medium 4.3
CVSS V3 Medium 6.1
Description
This affects the package file-upload-with-preview before 4.2.0. A file containing malicious JavaScript code in the name can be uploaded (a user needs to be tricked into uploading such a file).
Overview
- CVE ID
- CVE-2021-23439
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2021-09-05T14:15:07
- Last Modified Date
- 2021-09-10T19:46:37
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:file-upload-with-preview_project:file-upload-with-preview:*:*:*:*:*:node.js:*:* | 1 | OR | 4.2.0 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 4.3
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- CHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- NONE
- Base Score
- 6.1
- Base Severity
- MEDIUM
- Exploitability Score
- 2.8
- Impact Score
- 2.7
References
Reference URL | Reference Tags |
---|---|
https://github.com/johndatserakis/file-upload-with-preview/pull/40/files?file-filters%5B%5D=.js&hide-deleted-files=true%23diff-fe47b243de17419c0daa22cd785cd754baed60cf3679d3da1d6fe006f9f4a7f0R174 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-FILEUPLOADWITHPREVIEW-1579492 | Third Party Advisory |
https://github.com/johndatserakis/file-upload-with-preview/blob/develop/src/file-upload-with-preview.js%23L168 | Broken Link |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-23439 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23439 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:06:06 | Added to TrackCVE | |||
2022-12-05 09:37:48 | 2021-09-05T14:15Z | 2021-09-05T14:15:07 | CVE Published Date | updated |
2022-12-05 09:37:48 | 2021-09-10T19:46:37 | CVE Modified Date | updated | |
2022-12-05 09:37:48 | Analyzed | Vulnerability Status | updated |