CVE-2021-23784
CVSS V2 Medium 4.3
CVSS V3 Medium 6.1
Description
This affects the package tempura before 0.4.0. If the input to the esc function is of type object (i.e an array) it is returned without being escaped/sanitized, leading to a potential Cross-Site Scripting vulnerability.
Overview
- CVE ID
- CVE-2021-23784
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2021-11-03T18:15:08
- Last Modified Date
- 2021-11-05T18:11:35
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:tempura_project:tempura:*:*:*:*:*:*:*:* | 1 | OR | 0.4.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/lukeed/tempura/releases/tag/v0.4.0 | Release Notes Third Party Advisory |
https://github.com/lukeed/tempura/commit/58a5c3671e2f36b26810e77ead9e0dd471902f9b | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-TEMPURA-1569633 | Exploit Mitigation Patch Third Party Advisory VDB Entry |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-23784 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23784 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:48:11 | Added to TrackCVE | |||
2022-12-05 13:47:42 | 2021-11-03T18:15Z | 2021-11-03T18:15:08 | CVE Published Date | updated |
2022-12-05 13:47:42 | 2021-11-05T18:11:35 | CVE Modified Date | updated | |
2022-12-05 13:47:42 | Analyzed | Vulnerability Status | updated |