GitHub Advisory Database
GHSA-r275-j57c-7mf2
Race condition in Endorsements
Details
Impact
A race condition in the endorsement of resources (for instance, a proposal) allows a user to make more than once endorsement.
To exploit this vulnerability, the request to set an endorsement must be sent several times in parallel.
Workarounds
Disable the Endorsement feature in the components.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| RubyGems | decidim | From 0.10.0 before 0.26.9 (fixed in 0.26.9) |
| RubyGems | decidim | From 0.27.0 before 0.27.5 (fixed in 0.27.5) |
References
- https://github.com/decidim/decidim/security/advisories/GHSA-r275-j57c-7mf2
- https://nvd.nist.gov/vuln/detail/CVE-2023-47634
- https://github.com/decidim/decidim/commit/5c5ee7a50d75c10643dd8c495e2517641e4d74db
- https://github.com/decidim/decidim/commit/7b840d2c37a562709f4481db644d8c43add28536
- https://github.com/decidim/decidim
- https://github.com/decidim/decidim/releases/tag/v0.26.9
- https://github.com/decidim/decidim/releases/tag/v0.27.5
- https://github.com/decidim/decidim/releases/tag/v0.28.0
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/decidim/CVE-2023-47634.yml