Hangfire.Core is vulnerable to Improper Handling of Exceptional Conditions
75
CVE Score
High
Improper Handling of Exceptional Conditions
Affected versions of this package use a vulnerable version of the Newtonsoft.Json library, specifically versions prior to 13.0.1. These versions are impacted by CVE-2024-21907, which stems from insecure defaults in handling deeply nested expressions. This can lead to a StackOverflowException or excessive CPU and memory consumption, resulting in a Denial of Service (DoS). Attackers can exploit this vulnerability by providing input with high nesting levels, overwhelming system resources and causing the application to crash or become unresponsive. However, the risk can be mitigated by manually configuring the MaxDepth property in JsonSerializerSettings to limit the depth of nested objects during serialization, which is done for Hangfire.Core in the patch version.
Upgrade the Hangfire.Core library to the patch version.
You are affected if you are using a version which is within vulnerability ranges
0.5 - 1.8.15
Fixed in 1.8.16Hangfire.Core is vulnerable to Improper Handling of Exceptional Conditions in versions 0.5 - 1.8.15.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.