CVE-2021-39138
CVSS V2 Medium 6.4
CVSS V3 Medium 6.5
Description
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Developers can use the REST API to signup users and also allow users to login anonymously. Prior to version 4.5.1, when an anonymous user is first signed up using REST, the server creates session incorrectly. Particularly, the `authProvider` field in `_Session` class under `createdWith` shows the user logged in creating a password. If a developer later depends on the `createdWith` field to provide a different level of access between a password user and anonymous user, the server incorrectly classified the session type as being created with a `password`. The server does not currently use `createdWith` to make decisions about internal functions, so if a developer is not using `createdWith` directly, they are not affected. The vulnerability only affects users who depend on `createdWith` by using it directly. The issue is patched in Parse Server version 4.5.1. As a workaround, do not use the `createdWith` Session field to make decisions if one allows anonymous login.
Overview
- CVE ID
- CVE-2021-39138
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-08-19T16:15:12
- Last Modified Date
- 2022-08-12T18:01:28
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:parseplatform:parse-server:*:*:*:*:*:node.js:*:* | 1 | OR | 4.5.1 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 6.4
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 4.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- NONE
- Base Score
- 6.5
- Base Severity
- MEDIUM
- Exploitability Score
- 3.9
- Impact Score
- 2.5
References
Reference URL | Reference Tags |
---|---|
https://github.com/parse-community/parse-server/commit/147bd9a3dc43391e92c36e05d5db860b04ca27db | Patch Third Party Advisory |
https://github.com/parse-community/parse-server/releases/tag/4.5.1 | Release Notes Third Party Advisory |
https://github.com/parse-community/parse-server/security/advisories/GHSA-23r4-5mxp-c7g5 | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-39138 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-39138 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:07:59 | Added to TrackCVE | |||
2022-12-05 08:35:11 | 2021-08-19T16:15Z | 2021-08-19T16:15:12 | CVE Published Date | updated |
2022-12-05 08:35:11 | 2022-08-12T18:01:28 | CVE Modified Date | updated | |
2022-12-05 08:35:11 | Analyzed | Vulnerability Status | updated |