{"id":"CVE-2023-22474","aliases":["CVE-2023-22474","GHSA-vm5r-c87r-pf6x","BIT-PARSE-2023-22474"],"related":[],"kind":"vulnerability","state":"published","title":"Parse Server is vulnerable to authentication bypass via spoofing","summary":"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 doesn't 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`.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 doesn't 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`.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nParse Server uses the request header `x-forwarded-for` to determine the client IP address. If Parse Server doesn't 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.\n\n### Patches\n\nThe mechanism to determine the client IP address has been rewritten. The correct IP address determination now requires to set the Parse Server option `trustProxy` accordingly, see the express framework's [trust proxy](https://expressjs.com/en/guide/behind-proxies.html) setting.\n\n### References\n- https://github.com/parse-community/parse-server/security/advisories/GHSA-vm5r-c87r-pf6x\n- https://expressjs.com/en/guide/behind-proxies.html","format":"markdown","source":"ghsa"}],"published":"2023-01-31T22:21:48.000Z","modified":"2026-09-10T03:49:51.742Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-290"],"affected":[{"ranges":[{"version":"< 5.4.1","status":"affected"}],"vendor":"parse-community","product":"parse-server","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"5.4.1","status":"affected"}],"vendor":"parseplatform","product":"parse_server","cpe":"cpe:2.3:a:parseplatform:parse_server:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.4.1"}],"ecosystem":"npm","package":"parse-server","purl":"pkg:npm/parse-server","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.4.1"}],"vendor":"parseplatform","product":"parse-server","cpe":"cpe:2.3:a:parseplatform:parse-server:*:*:*:*:*:node.js:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.4.1"}],"ecosystem":"Bitnami","package":"parse","purl":"pkg:bitnami/parse","source":"bitnami"}],"references":[{"url":"https://github.com/parse-community/parse-server/security/advisories/GHSA-vm5r-c87r-pf6x","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/parse-community/parse-server/commit/e016d813e083ce6828f9abce245d15b681a224d8","tags":["advisory","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20230309-0005/","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22474","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/parse-community/parse-server","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-08-01T17:36:20.113Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-22474","url":"https://www.cve.org/CVERecord?id=CVE-2023-22474","licence":"CVE Terms of Use","modified":"2024-08-02T10:13:48.475Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vm5r-c87r-pf6x","url":"https://github.com/advisories/GHSA-vm5r-c87r-pf6x","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:51.742Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-22474","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22474","licence":"Public domain","modified":"2026-06-17T05:35:32.080Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PARSE-2023-22474","url":"https://osv.dev/vulnerability/BIT-PARSE-2023-22474","licence":"Apache-2.0","modified":"2026-09-08T08:48:24.529Z"}],"updatedAt":"2026-11-25T22:58:21.826Z","epss":{"score":0.00694,"percentile":0.54199,"date":"2026-12-01T12:00:22.000Z"}}