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

Upgrade guava version #453

Closed
BOFA1ex opened this issue May 13, 2022 · 2 comments · Fixed by #526
Closed

Upgrade guava version #453

BOFA1ex opened this issue May 13, 2022 · 2 comments · Fixed by #526
Labels
type/enhancement Type: make the code neat or more efficient

Comments

@BOFA1ex
Copy link

BOFA1ex commented May 13, 2022

Incorrect Permission Assignment For Critical Resource

A temp directory creation vulnerability exist in Guava versions prior to 30.0 allowing an attacker with access to the machine to potentially access data in a temporary directory created by the Guava com.google.common.io.Files.createTempDir(). The permissions granted to the directory created default to the standard unix-like /tmp ones, leaving the files open. We recommend updating Guava to version 30.0 or later, or update to Java 7 or later, or to explicitly change the permissions after the creation of the directory if neither are possible.

https://advisory.checkmarx.net/advisory/vulnerability/CVE-2020-8908/

@BOFA1ex
Copy link
Author

BOFA1ex commented May 13, 2022

Deserialization Of Untrusted Data

Unbounded memory allocation in Google Guava 11.0 through 24.x before 24.1.1 allows remote attackers to conduct denial of service attacks against servers that depend on this library and deserialize attacker-provided data, because the AtomicDoubleArray class (when serialized with Java serialization) and the CompoundOrdering class (when serialized with GWT serialization) perform eager allocation without appropriate checks on what a client has sent and whether the data size is reasonable.

https://advisory.checkmarx.net/advisory/vulnerability/CVE-2018-10237/

@Nicole00
Copy link
Contributor

Nicole00 commented May 8, 2023

Thanks for your recommendation, Upgrading guava will be considered in the next major version.

@Nicole00 Nicole00 added the type/enhancement Type: make the code neat or more efficient label May 8, 2023
@Nicole00 Nicole00 mentioned this issue Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Type: make the code neat or more efficient
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants