CVE-2023-42277: hutool Buffer Overflow vulnerability
Summary
CVE-2023-42277: hutool Buffer Overflow vulnerability. Affects cn.hutool:hutool-core versions < 5.8.21. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The hutool package is a Java library that provides a wide range of utility methods and tools for various tasks. It includes components for JSON manipulation, among other functionalities. The vulnerability affects versions up to and including 5.8.21 of the hutool-core and hutool-json packages.
Vulnerability Detail
The vulnerability in hutool v5.8.21 is a buffer overflow issue that arises from the jsonObject.putByPath component. This vulnerability can be exploited to execute arbitrary code or cause a denial-of-service attack. It poses a moderate risk to systems utilizing the affected versions of hutool.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
No workaround has been provided for this vulnerability.
Conclusion
The hutool Buffer Overflow vulnerability in versions up to and including 5.8.21 poses a moderate risk to systems utilizing the hutool-core and hutool-json packages. It is recommended to upgrade to a version beyond 5.8.21 and validate user input to mitigate the risk. For further support on vulnerability remediation, contact DevNack.com.
See every vulnerability recorded for cn.hutool:hutool-core →
FAQ
This vulnerability can allow an attacker to execute arbitrary code or cause a denial-of-service attack.
Versions up to and including 5.8.21 of the hutool-core and hutool-json packages are affected.
To fix the vulnerability, upgrade the hutool-core and hutool-json packages to a version beyond 5.8.21.
No workaround has been provided for this vulnerability.
You can find more information about this vulnerability in the GitHub Advisory Database.
References
Related vulnerabilities
Recent vulnerabilities recorded for cn.hutool:hutool-core.