ApostropheCMS apostrophe
ApostropheCMS: Authenticated projection-exclusion prototype-member deletion in @apostrophecms/db-connect causes process-wide denial of service
ApostropheCMS is an open-source Node.js content management system. Prior to 1.1.0 of db-connect and 4.33.0 of ApostropheCMS, an account with view-draft access can submit a projection exclusion path that traverses through a constructor prototype chain to a shared prototype member when a consumer uses a SQLite, PostgreSQL, or multipostgres adapter and has a matching document. Every editing role has view-draft access, while guestApiAccess broadens this prerequisite to any logged-in account. The unsetNestedField helper then deletes the shared runtime member, causing persistent process-wide integrity and availability effects; the default MongoDB adapter is not affected. This issue is fixed in db-connect 1.1.0 and ApostropheCMS 4.33.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.33.0
Fixed in 4.33.0
- < 1.1.0
Fixed in 1.1.0
Mitigation
Upgrade apostrophe to 4.33.0 or later.
Upgrade db-connect to 1.1.0 or later.
References
- Vendor advisory github.com/apostrophecms/apostrophe/security/a…
- Patch github.com/apostrophecms/apostrophe/commit/950…
- Patch github.com/apostrophecms/apostrophe/commit/f84…
2 more
- Release notes github.com/apostrophecms/apostrophe/releases/t…
- Release notes github.com/apostrophecms/apostrophe/releases/t…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.