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-2024-22419

7.3 · HIGH
Published Jan 18, 2024 vyperlang CWE-120 EPSS 0.77% (53th pctl)

Overview

CVE-2024-22419 is a high-severity vulnerability affecting vyperlang vyper. It was published on January 18, 2024 and has a CVSS 3.1 base score of 7.3 (HIGH).

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

Technical Description

Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine. The `concat` built-in can write over the bounds of the memory buffer that was allocated for it and thus overwrite existing valid data. The root cause is that the `build_IR` for `concat` doesn't properly adhere to the API of copy functions (for `>=0.3.2` the `copy_bytes` function). A contract search was performed and no vulnerable contracts were found in production. The buffer overflow can result in the change of semantics of the contract. The overflow is length-dependent and thus it might go unnoticed during contract testing. However, certainly not all usages of concat will result in overwritten valid data as we require it to be in an internal function and close to the return statement where other memory allocations don't occur. This issue has been addressed in 0.4.0.

Remediation

Check the references section for vendor advisories and patches from vyperlang. Update vyper 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
vyperlang vyper 0 Affected

Frequently Asked Questions

What is CVE-2024-22419?

CVE-2024-22419 is a high-severity vulnerability affecting vyperlang vyper. It was published on January 18, 2024 and has a CVSS 3.1 base score of 7.3 (HIGH).

How severe is CVE-2024-22419?

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

How do I fix or remediate CVE-2024-22419?

Check the references section for vendor advisories and patches from vyperlang. Update vyper 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-2024-22419?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-22419 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.