Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-2512

6.5 · MEDIUM
Published May 12, 2023 cloudflare CWE-125 EPSS 0.62% (47th pctl)

Overview

CVE-2023-2512 is a medium-severity vulnerability affecting cloudflare workerd. It was published on May 12, 2023 and has a CVSS 3.1 base score of 6.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.5, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

Prior to version v1.20230419.0, the FormData API implementation was subject to an integer overflow. If a FormData instance contained more than 2^31 elements, the forEach() method could end up reading from the wrong location in memory while iterating over elements. This would most likely lead to a segmentation fault, but could theoretically allow arbitrary undefined behavior.

In order for the bug to be exploitable, the process would need to be able to allocate 160GB of RAM. Due to this, the bug was never exploitable on the Cloudflare Workers platform, but could theoretically be exploitable on deployments of workerd running on machines with a huge amount of memory. Moreover, in order to be remotely exploited, an attacker would have to upload a single form-encoded HTTP request of at least tens of gigabytes in size. The application code would then have to use request.formData() to parse the request and formData.forEach() to iterate over this data. Due to these limitations, the exploitati

Remediation

Check the references section for vendor advisories and patches from cloudflare. Update workerd to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
cloudflare workerd >= 0, < 1.20230419.0 Affected

Frequently Asked Questions

What is CVE-2023-2512?

CVE-2023-2512 is a medium-severity vulnerability affecting cloudflare workerd. It was published on May 12, 2023 and has a CVSS 3.1 base score of 6.5 (MEDIUM).

How severe is CVE-2023-2512?

This vulnerability has a CVSS 3.1 base score of 6.5, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2023-2512?

Check the references section for vendor advisories and patches from cloudflare. Update workerd to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-2512?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-2512 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.