Vulnerabilities in pkg:npm/parse-server-push-adapter

PACKAGE
Advisory Identifier: GHSA-mxhg-rvwx-x993
Advisory Summary

CVE-2023-32688 is a MODERATE (CVSS 4.9) invalid push request payload crashes vulnerability (CWE-20: Improper Input Validation) affecting Parse server push adapter libraries in the npm ecosystem. The issue involves invalid push request payload crashes parse server. Remediation is available by upgrading affected packages to version 4.1.3.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/parse-server-push-adapter

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/parse-server-push-adapter. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-mxhg-rvwx-x993 CVE-2023-32688 MODERATE Invalid push request payload crashes Parse Server

CVE-2023-32688 at a Glance

CVE Identifier CVE-2023-32688
GHSA Identifier GHSA-mxhg-rvwx-x993
Severity MODERATE
CVSS v3.1 Base Score 4.9
CWE Classification CWE-20: Improper Input Validation
Affected Product Parse server push adapter
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 4.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2023-32688

To remediate this vulnerability, upgrade all affected Parse server push adapter dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

parse-server-push-adapter fixed: 4.1.3
npm install parse-server-push-adapter@4.1.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls parse-server-push-adapter

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2023-32688, inspect your project dependencies using npm:

npm ls parse-server-push-adapter

Analyze the terminal output to locate any version of Parse server push adapter in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.3), your application is affected.

Note: The npm ls parse-server-push-adapter command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Parse server push adapter, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact The Parse Server Push Adapter can crash Parse Server due to an invalid push notification payload. ### Patches Invalid push notification payload is caught and an logged. ### Workarounds n/a ### References - https://github.com/parse-community/parse-server-push-adapter/security/advisories/GHSA-mxhg-rvwx-x993 - https://github.com/parse-community/parse-server-push-adapter/pull/217

CVE-2023-32688 Affected Parse server push adapter Versions

1 component(s)
Fixed Versions:
4.1.3
Product / Package Ecosystem Affected Versions Fixed Version
parse-server-push-adapter
npm
< 4.1.3
4.1.3

References

Frequently Asked Questions

What is CVE-2023-32688?
CVE-2023-32688 is a security vulnerability in Parse server push adapter involving Invalid push request payload crashes Parse Server under CWE-20: Improper Input Validation.
Which Parse server push adapter versions are affected?
Affected versions include releases prior to 4.1.3 across affected packages: parse-server-push-adapter.
What version fixes CVE-2023-32688?
Upgrading to 4.1.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is parse-server-push-adapter affected?
Yes, parse-server-push-adapter is affected in releases prior to 4.1.3. Upgrade your dependency to 4.1.3 or later.
What is the CVSS score of CVE-2023-32688?
CVE-2023-32688 has a CVSS v3.1 base score of 4.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2023-32688?
CVE-2023-32688 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check npm dependencies for CVE-2023-32688?
Run the dependency tree command: 'npm ls parse-server-push-adapter'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-mxhg-rvwx-x993",
  "modified" : "2023-05-23T16:23:09Z",
  "published" : "2023-05-22T19:50:04Z",
  "aliases" : [ "CVE-2023-32688" ],
  "summary" : "Invalid push request payload crashes Parse Server",
  "details" : "### Impact\n\nThe Parse Server Push Adapter can crash Parse Server due to an invalid push notification payload.\n\n### Patches\n\nInvalid push notification payload is caught and an logged.\n\n### Workarounds\nn/a\n\n### References\n- https://github.com/parse-community/parse-server-push-adapter/security/advisories/GHSA-mxhg-rvwx-x993\n- https://github.com/parse-community/parse-server-push-adapter/pull/217",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "parse-server-push-adapter"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.1.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/parse-community/parse-server-push-adapter/security/advisories/GHSA-mxhg-rvwx-x993"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-32688"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/parse-community/parse-server-push-adapter/pull/217"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/parse-community/parse-server-push-adapter/commit/598cb84d0866b7c5850ca96af920e8cb5ba243ec"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/parse-community/parse-server-push-adapter"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/parse-community/parse-server-push-adapter/releases/tag/4.1.3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-05-22T19:50:04Z",
    "nvd_published_at" : "2023-05-27T04:15:25Z"
  }
}