{"id":"GHSA-r578-pj6f-r4ff","summary":"Auto-merging Person Records Compromised","details":"### Impact\n\nNew user registrations are able to access anyone's account by only knowing their basic profile information (name, birthday, gender, etc). This includes all app functionality within the app, as well as any authenticated links to Rock-based webpages (such as giving and events).\n\n### Patches\n\nWe have released a security patch on v2.20.0. The solution was to create a duplicate person and then patch the new person with their profile details.\n\n### Workarounds\n\nIf you do not wish to upgrade your app to the new version, you can patch your server by overriding the `create` data source method on the `People` class.\n\n```js\n  create = async (profile) =\u003e {\n    const rockUpdateFields = this.mapApollosFieldsToRock(profile);\n    // auto-merge functionality is compromised\n    // we are creating a new user and patching them with profile details\n    const id = await this.post('/People', {\n      Gender: 0, // required by Rock. Listed first so it can be overridden.\n      IsSystem: false, // required by rock\n    });\n    await this.patch(`/People/${id}`, {\n      ...rockUpdateFields,\n    });\n    return id;\n  };\n```\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [support@apollos.app](mailto:support@apollos.app)\n","aliases":["CVE-2021-32691"],"modified":"2026-07-08T06:28:52.894954069Z","published":"2021-06-21T17:07:47Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-06-16T18:55:04Z","nvd_published_at":"2021-06-16T22:15:00Z","cwe_ids":["CWE-287","CWE-303"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/ApollosProject/apollos-apps/security/advisories/GHSA-r578-pj6f-r4ff"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32691"},{"type":"WEB","url":"https://github.com/ApollosProject/apollos-apps/commit/cb5f8f1c0b24f1b215b2bb5eb6f9a8e16d728ce2"},{"type":"WEB","url":"https://github.com/ApollosProject/apollos-apps/releases/tag/v2.20.0"}],"affected":[{"package":{"name":"@apollosproject/data-connector-rock","ecosystem":"npm","purl":"pkg:npm/%40apollosproject/data-connector-rock"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.20.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-r578-pj6f-r4ff/GHSA-r578-pj6f-r4ff.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}