Skip to content

Protect against hash attacks. #131

@martinmr

Description

@martinmr

An attacker can prevent new items from being accepted by the policy by artificially raising the frequency of the victim.

Caffeine code: https://github.com/ben-manes/caffeine/blob/8bdfb0d95db523d15c2560f05a228468ecdbe98d/caffeine/src/main/java/com/github/benmanes/caffeine/cache/BoundedLocalCache.java#L752-L776

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementSomething could be better.priority/P2Somehow important but would not block a release.status/acceptedWe accept to work on it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions