Skip to content

Conversation

@nixxquality
Copy link

These two functions use to_atom which is inappropriate for untrusted input.
Not really a problem in recurrence.ex since it's only accepting rules from the developer as far as I can see, but deserialize.ex takes raw file data, which is definitely untrusted.

I haven't tested it since my Erlang version is too new and there was a breaking change with ssl_verify_fun a while back, but I'm certain it will work.

duics added a commit to in-parallel-oy/icalendar that referenced this pull request Nov 17, 2025
CRITICAL SECURITY FIX: Use to_existing_atom instead of to_atom when
processing ICS files. This prevents atom table exhaustion attacks from
untrusted input that could crash the VM.

From: lpil#75
Author: nixx quality
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant