Skip to content

[Bug]: Test masking using rounding algorithm may cause denial of service (DoS) risk #2270

@smallsheeeep

Description

@smallsheeeep

ODC version

4.2.4

OB version

any

What happened?

When I test masking using rounding algorithm, and input a big decimal such as 100e999999, then it occupied large CPU usage. And if I mock many these request at same time ,then DoS may occur.

What did you expect to happen?

Defend these risk.

How can we reproduce it (as minimally and precisely as possible)?

Ditto.

Anything else we need to know?

No response

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status

Closed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions