VDB
Sign up
LOW3.1

GHSA-r275-j57c-7mf2

Race condition in Endorsements

Quick fix

GHSA-r275-j57c-7mf2 — decidim: upgrade to the fixed version with the command below.

bundle update decidim

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/decidim
Introduced in: 0.10.0Fixed in: 0.26.9
Fixbundle update decidim
RubyGems/decidim
Introduced in: 0.27.0Fixed in: 0.27.5
Fixbundle update decidim

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:gem/decidim"]}'