CVE-2022-25863
CVSS V2 High 7.5
CVSS V3 Critical 9.8
Description
The package gatsby-plugin-mdx before 2.14.1, from 3.0.0 and before 3.15.2 are vulnerable to Deserialization of Untrusted Data when passing input through to the gray-matter package, due to its default configurations that are missing input sanitization. Exploiting this vulnerability is possible when passing input in both webpack (MDX files in src/pages or MDX file imported as a component in frontend / React code) and data mode (querying MDX nodes via GraphQL). Workaround: If an older version of gatsby-plugin-mdx must be used, input passed into the plugin should be sanitized ahead of processing.
Overview
- CVE ID
- CVE-2022-25863
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2022-06-10T20:15:08
- Last Modified Date
- 2022-06-17T18:40:18
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:gatsbyjs:gatsby:*:*:*:*:*:node.js:*:* | 1 | OR | 2.14.1 | |
cpe:2.3:a:gatsbyjs:gatsby:*:*:*:*:*:node.js:*:* | 1 | OR | 3.0.0 | 3.15.2 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
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
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-25863 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25863 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-06-10 21:00:08 | Added to TrackCVE |