CVE-2021-43801
CVSS V2 Medium 5
CVSS V3 High 7.5
Description
Mercurius is a GraphQL adapter for Fastify. Any users from Mercurius@8.10.0 to 8.11.1 are subjected to a denial of service attack by sending a malformed JSON to `/graphql` unless they are using a custom error handler. The vulnerability has been fixed in https://github.com/mercurius-js/mercurius/pull/678 and shipped as v8.11.2. As a workaround users may use a custom error handler.
Overview
- CVE ID
- CVE-2021-43801
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-12-13T20:15:07
- Last Modified Date
- 2021-12-15T21:46:47
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:mercurius_project:mercurius:*:*:*:*:*:node.js:*:* | 1 | OR | 8.10.0 | 8.11.2 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- HIGH
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://github.com/mercurius-js/mercurius/pull/678/commits/732b2f895312da8deadd7b173dcd2d141d54b223 | Patch Third Party Advisory |
https://github.com/mercurius-js/mercurius/security/advisories/GHSA-273r-rm8g-7f3x | Patch Third Party Advisory |
https://github.com/mercurius-js/mercurius/issues/677 | Issue Tracking Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-43801 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-43801 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:41:06 | Added to TrackCVE | |||
2022-12-06 03:41:55 | 2021-12-13T20:15Z | 2021-12-13T20:15:07 | CVE Published Date | updated |
2022-12-06 03:41:55 | 2021-12-15T21:46:47 | CVE Modified Date | updated | |
2022-12-06 03:41:55 | Analyzed | Vulnerability Status | updated |