envoy: Detection of Error Condition Without Action
CVE-2024-30255 is a high-severity detection of error condition without action vulnerability in envoy from Envoyproxy, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists versions 1.29.3, 1.28.2, 1.27.4 as the first without the flaw, so updating envoy to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 85% chance of exploitation within 30 days, which is in the top 0.28% of all scored CVEs.
Exploitation in the next 30 days is more likely than not, according to EPSS.
What to do
- Update envoy to 1.29.3 or 1.28.2 or 1.27.4 or 1.26.8, whichever matches your release line, or a later version.
- Read the advisory on github.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Envoyproxy | envoy | >= 1.29.0, < 1.29.3; >= 1.28.0, < 1.28.2; >= 1.27.0, < 1.27.4; < 1.26.8; 1.29.0 up to, but not including, 1.29.3; 1.28.0 up to, but not including, 1.28.2; 1.27.0 up to, but not including, 1.27.4; before 1.26.8 | 1.29.3, 1.28.2, 1.27.4, 1.26.8 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- NoneNo data is disclosed.
- Integrity
- NoneNothing can be modified.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 5.3 | Medium | CNA (github.com) |
| CVSS 3.1 | 7.5 | High | NVD |
Official description
Envoy is a cloud-native, open source edge and service proxy. The HTTP/2 protocol stack in Envoy versions prior to 1.29.3, 1.28.2, 1.27.4, and 1.26.8 are vulnerable to CPU exhaustion due to flood of CONTINUATION frames. Envoy's HTTP/2 codec allows the client to send an unlimited number of CONTINUATION frames even after exceeding Envoy's header map limits. This allows an attacker to send a sequence of CONTINUATION frames without the END_HEADERS bit set causing CPU utilization, consuming approximately 1 core per 300Mbit/s of traffic and culminating in denial of service through CPU exhaustion. Users should upgrade to version 1.29.3, 1.28.2, 1.27.4, or 1.26.8 to mitigate the effects of the CONTINUATION flood. As a workaround, disable HTTP/2 protocol for downstream connections.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Detection of Error Condition Without Action
The product detects a specific error, but takes no actions to handle the error.
How developers prevent this class of flaw
- Properly handle each exception. This is the recommended solution. Ensure that all exceptions are handled in such a way that you can be sure of the state of your system at any given moment.
- If a function returns an error, it is important to either fix the problem and try again, alert the user that an error has happened and let the program continue, or alert the user and close and cleanup the program.
- Subject the product to extensive testing to discover some of the possible instances of where/how errors or return values are not handled. Consider testing techniques such as ad hoc, equivalence partitioning, robustness and fault tolerance, mutation, and fuzzing.
More Detection of Error Condition Without Action vulnerabilities (CWE-390)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Advisories
- github.com/envoyproxy/envoy/security/advisories/GHSA-j654-3ccm-vfmmThird Party Advisory
Third-party and government advisories
- openwall.com/lists/oss-security/2024/04/03/16Mailing List, Third Party Advisory
Other references
Other vulnerabilities in envoy
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.4 High severity
Recent Detection of Error Condition Without Action vulnerabilities
- 7.5 High severity
Spotted an error? Tell us.