CVE-2020-25017
NixOS vulnerability analysis and mitigation

Overview

CVE-2020-25017 affects Envoy through version 1.15.0, where the system only considers the first value when multiple header values are present for some HTTP headers. This vulnerability was discovered in 2020 and specifically relates to how Envoy's setCopy() header map API fails to replace all existing occurrences of a non-inline header (GitHub Advisory).

Technical details

The vulnerability stems from Envoy's HeaderMapImpl implementation, which handles two classes of headers: inline and non-inline. While inline headers treat multiple values as comma-delimited strings per RFC7230, non-inline headers have ordered multi-map semantics. Components using the get() method only observe the first header value. The CVSS v3.1 base score is 8.3 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L (NVD, GitHub Advisory).

Impact

The vulnerability affects multiple components including request routing via header matching, access log filtering, RBAC, CEL matching, ext_authz filter, header to metadata filter, JWT filter, and Lua filter. This can lead to inconsistencies between Envoy's request matching and the upstream view of the request. For example, if Envoy validates credentials and scope headers, it might only validate the first scope header while the upstream may interpret all provided scopes as valid (GitHub Advisory).

Exploitability

An attacker can exploit this vulnerability by including multiple values of 'reference' headers (headers not explicitly listed as 'inline'). For example, by setting multiple values like 'x-foo: bar' and 'x-foo: baz', where Envoy would only observe the first value in matchers, but both values would be forwarded to upstreams (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in versions 1.15.1, 1.14.5, 1.13.5, and 1.12.7. The fix ensures that setCopy() now consistently replaces all occurrences of a header with a single value (GitHub Advisory, Red Hat).

Community reactions

The vulnerability received attention from major organizations, with Red Hat issuing a security advisory classifying it as having a 'Moderate' security impact. The issue was also discussed in the Kubernetes community as part of their regular security updates (Red Hat).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-34191CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-32327CRITICAL9.1
  • NixOS logoNixOS
  • apr-util-bdb
NoYesAug 06, 2026
CVE-2026-34502HIGH7.5
  • NixOS logoNixOS
  • apr-util-ldap
NoYesAug 06, 2026
CVE-2026-34501HIGH7.5
  • NixOS logoNixOS
  • apr-util-ldap
NoYesAug 06, 2026
CVE-2025-49506HIGH7.5
  • NixOS logoNixOS
  • apr-util-sqlite
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management