CVE-2023-2512: Prior to version v1.20230419.0, the FormData API implementat..
cloudflare
•
May 12, 2023
•
May 26, 2023
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 exploitation likelihood was considered Low. A fix that addresses this vulnerability has been released in version v1.20230419.0 and users are encouraged to update to the latest version available.
Products affected:
cloudflare» workerd » *
In a few clicks Akto can analyze your API attack surface and see what APIs are vulnerable to OWASP Top 10 and other common CWEs.
Severity
8.1
/
10
CVSS base metrics
Attack vector
NETWORK
Attack complexity
HIGH
Privileges required
HIGH
User interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Exploitability Score
2.2
Impact Score
5.9
Weakness
CWE-190__CWE-125__
Learn from academy
Docker Metasploit
Metasploit WordPress
What is Metasploit?
Metasploit for Windows
Metasploit Linux
Armitage Metasploit
Termux Metasploit
Rapid7 Penetration Testing
Nmap Penetration Testing
Linux Penetration Testing
Salesforce Penetration Testing
Kubernetes Pentesting
IoT Penetration Testing
SAP Penetration Testing
Docker Pentest
Pentera Pentesting
Infrastructure Penetration Testing
Cobalt Pentest
CREST Penetration Testing
CompTIA Pentest+ Certification
Azure Penetration Testing
AWS Penetration Testing
Firebase Pentest
External Pen Testing
Hardware Penetration Testing
Android Pentesting
HTML Injection
Code Injection
Blind SQL Injection
HTTP Header Injection
LDAP Injection
PHP Injection
Command Injection
NoSQL Injection
Authentication Methods
Brute Force Attack
What is Fuzzing and How Does It Work?
What is API Fuzzing?
What is Fuzzer?
White Box Fuzzing
Related tests
JWT authentication bypass via jku header injection
eSMTP - Config Discovery
Nginx - Git Configuration Exposure
Laravel - Sensitive Information Disclosure
Docker Container - Misconfiguration Exposure
Msmtp - Config Exposure
Parameters.yml - File Discovery
Mongo Express - Unauthenticated Access
Apache Airflow Configuration Exposure
Dockerrun AWS Configuration Exposure
Apache Config file disclosure
Appspec Yml Disclosure
Explore more from Akto
Blog
Be updated about everything related to API Security, new API vulnerabilities, industry news and product updates.
Test Library
Discover and find tests from Akto's 100+ API Security test library. Choose your template or add a new template to start your API Security testing.
Documentation
Check out Akto's product documentation for all information related to features and how to use them.