encore.dev is vulnerable to Uncontrolled Resource Consumption
53
Medium Risk
When parsing a decimal value from a request string, the Encore runtime passes the input directly to the underlying rational-number parser without bounding its length or magnitude. A value with an extremely large exponent in scientific notation or an implausibly long decimal string causes the runtime to try to materialize an enormous number, consuming excessive memory and CPU and potentially crashing the service. Only applications that accept a decimal-typed value in a request are affected. The fix validates decimal strings before parsing and rejects inputs that are too long or whose base-10 exponent is far outside any legitimate value.
You are affected if you are using a version that falls within the vulnerable range and your application accepts a decimal-typed value in a request.
encore.dev is vulnerable to Uncontrolled Resource Consumption in versions 0.0.1 - 1.57.10.
Upgrade the encore.dev library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant