Skip to content

Nested arrays can be used to crash node. #104

Description

@Dshiv

This may be the same as issue #28 but the parser will create a new array if the parameter looks like: foo[0]=bar. Taking that a step farther foo[0][100000000]=bar will create an array with an array of null objects at the first index of the object. Any time the server tries to perform an action on this object the process runs out of memory and crashes.

I'd suggest range checks be performed before the creation of the query string parameter object, or cap the size of the parameter object.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions