Always-Incorrect Control Flow Implementation Affecting envoyproxy/envoy package, versions [1.30.0,1.30.8)[1.31.0,1.31.4)[1.32.0,1.32.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ENVOYPROXYENVOY-8536577
  • published19 Dec 2024
  • disclosed18 Dec 2024
  • creditUnknown

Introduced: 18 Dec 2024

NewCVE-2024-53269  (opens in a new tab)
CWE-670  (opens in a new tab)

How to fix?

Upgrade envoyproxy/envoy to version 1.30.8, 1.31.4, 1.32.2 or higher.

Overview

Affected versions of this package are vulnerable to Always-Incorrect Control Flow Implementation. An attacker can cause the application to crash by providing non-IP address data in the additional address field. This is only exploitable if Happy Eyeballs is enabled and the IP configuration is not properly validated.

Workaround

This vulnerability can be mitigated by disabling Happy Eyeballs or changing the IP configuration.

PoC

- clusterName: outbound|80||echo.default.svc.cluster.local
  endpoints:
  - lbEndpoints:
    - endpoint:
        additionalAddresses:
        - address:
            envoyInternalAddress:
              endpointId: '[fd00:10:244::10]:80'
              serverListenerName: connect_originate
        address:
          envoyInternalAddress:
            endpointId: [10.244.0.16:80](http://10.244.0.16/)
            serverListenerName: connect_originate
        healthCheckConfig: {}
      healthStatus: HEALTHY
      loadBalancingWeight: 1
      metadata:
        filterMetadata:
          envoy.filters.listener.original_dst:
            local: [10.244.0.16:80](http://10.244.0.16/)
          envoy.transport_socket_match:
            tunnel: http
          istio:
            workload: echo;default;echo;;Kubernetes
    loadBalancingWeight: 1
    locality: {}
  policy:
    overprovisioningFactor: 140

References

CVSS Scores

version 4.0
version 3.1