Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. parse-server
  4. ›
  5. CVE-2023-22474

CVE-2023-22474: Authentication Bypass by Spoofing

February 3, 2023 (updated February 10, 2023)

Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Parse Server uses the request header x-forwarded-for to determine the client IP address. If Parse Server does not run behind a proxy server, then a client can set this header and Parse Server will trust the value of the header. The incorrect client IP address will be used by various features in Parse Server. This allows to circumvent the security mechanism of the Parse Server option masterKeyIps by setting an allowed IP address as the x-forwarded-for header value. This issue has been patched in version 5.4.1. The mechanism to determine the client IP address has been rewritten. The correct IP address determination now requires to set the Parse Server option trustProxy.

References

  • github.com/advisories/GHSA-vm5r-c87r-pf6x
  • github.com/parse-community/parse-server/commit/e016d813e083ce6828f9abce245d15b681a224d8
  • github.com/parse-community/parse-server/security/advisories/GHSA-vm5r-c87r-pf6x
  • nvd.nist.gov/vuln/detail/CVE-2023-22474

Code Behaviors & Features

Detect and mitigate CVE-2023-22474 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.4.1

Fixed versions

  • 5.4.1

Solution

Upgrade to version 5.4.1 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-290: Authentication Bypass by Spoofing

Source file

npm/parse-server/CVE-2023-22474.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:59 +0000.