Skip to content

getrruleset has no limiter, potential DoS #133

Description

@pbiering

vobject's getrruleset has no limiter inside:

def getrruleset(self, addRDate=False):

This can cause a potential DoS if e.g. COUNT is too high or FREQ in combination with UNTIL creates too many entries.

Found in radicale by Kozea/Radicale#2188

Suggestion: add an optional parameter to be able to provide a limit while calling the function, otherwise workarounds are needed like parsing COUNT or calculate outside using FREQ and UNTIL.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestsecuritySecurity-related issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions