Skip to content

cve漏洞修复一下叭 #31

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

Open
shiker1996 opened this issue May 5, 2025 · 1 comment
Open

cve漏洞修复一下叭 #31

shiker1996 opened this issue May 5, 2025 · 1 comment

Comments

@shiker1996
Copy link

json有个高位漏洞,需要升级下版本:

  1. 依赖项 maven:org.json:json:20160212 为 vulnerable
升级到 20231013

GHSA-4jq9-2xhw-jpx7,分数: 8

Summary
A denial of service vulnerability in JSON-Java was discovered by "ClusterFuzz" (https://google.github.io/clusterfuzz/).  A bug in the parser means that an input string of modest size can lead to indefinite amounts of memory being used. There are two issues: (1) the parser bug can be used to circumvent a check that is supposed to prevent the key in a JSON object from itself being another JSON object; (2) if a key does end up being a JSON object then it gets converted into a string, using "\" to escape special characters, including "\" itself. So by nesting JSON objects, with a key that is a JSON object that has a key that is a JSON object, and so on, we can get an exponential number of "\" characters in the escaped string.


GHSA-3vqj-43w4-2q58,分数: 7.5

A stack overflow in the XML.toJSONObject component of hutool-json v5.8.10 and org.json:json before version 20230227 allows attackers to cause a Denial of Service (DoS) via crafted JSON or XML data.

阅读更多: https://osv.dev/vulnerability/GHSA-3vqj-43w4-2q58
  1. 依赖项 maven:org.jetbrains.kotlin:kotlin-stdlib:1.5.32 为 vulnerable
升级到 1.6.0

GHSA-2qp4-g3q3-f92w,分数: 5.3

In JetBrains Kotlin before 1.6.0, it was not possible to lock dependencies for Multiplatform Gradle Projects.

阅读更多: https://osv.dev/vulnerability/GHSA-2qp4-g3q3-f92w
@shiker1996
Copy link
Author

#32

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