Skip to content

Json parse keys limit #19

@afwn90cj93201nixr2e1re

Description

@afwn90cj93201nixr2e1re

owasp-modsecurity/ModSecurity#2060

should we do same here?
coz native Json.parse seems also vulnerable.
i mean i can recompile v8/nodejs, add additional params, like keyLimits, to prevent it, but, that's not a good solution.

also im using express with body parser, which also can be vulnerable in this case, also with limit: 1mb, as you can see.

i also using ajv for object validating, but it's can validate it only after body parser parse it to object, so...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions