Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DoS Vulnerability was discovered in logback-core #738

Open
Alex111998 opened this issue Nov 27, 2023 · 0 comments
Open

DoS Vulnerability was discovered in logback-core #738

Alex111998 opened this issue Nov 27, 2023 · 0 comments

Comments

@Alex111998
Copy link

Summary

Denial of service vulnerability in logback-core was discovered by CIFuzz. Method new CyclicBuffer(int) and CyclicBuffer.resize(int) can receive a too big number which can lead to OOM.

POC

pom

<dependency>
       <groupId>ch.qos.logback</groupId>
       <artifactId>logback-core</artifactId>
       <version>1.4.11</version>
</dependency>

code1

CyclicBuffer cyc = new CyclicBuffer(1611270666);

image

code2

CyclicBuffer cyc = new CyclicBuffer(123);
cyc.resize(1611270666);

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant