Skip to content

infinite recursive loops in unwrapFEELValue() #29

Description

@nitram509

Found by Gemeni ...

Issue Description

The unwrapFEELValue function is recursive and lacks a depth limit or cycle detection. If the evaluation result contains a circular structure (e.g., a map that contains itself, which could be provided via the scope), the function will recurse infinitely, leading to a stack overflow and process crash. This represents a potential Denial of Service (DoS) vulnerability.

File eval.go
Function func unwrapFEELValue(v any) (any, error) {...}

classification: Medium Priority

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions